mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
263 lines
5.0 KiB
CSS
263 lines
5.0 KiB
CSS
/* Set the min-width so that when the window is resized the look will stay consistant */
|
|
|
|
.charsheet {
|
|
/* background-color: #D0F0F4; */
|
|
background-image: url('https://i.imgur.com/vjL1blE.jpg');
|
|
width: 900px;
|
|
}
|
|
|
|
/* contenc added from CSS */
|
|
|
|
|
|
ul {
|
|
font-family: Georgia !important;
|
|
font-size: 15px;
|
|
list-style-position: inside;
|
|
padding-left: 5px;
|
|
margin-bottom: 0px;
|
|
text-indent: -5px;
|
|
}
|
|
|
|
li {
|
|
font-family: Georgia !important;
|
|
font-size: 15px;
|
|
list-style-position: inside;
|
|
margin-bottom: 0px;
|
|
text-indent: -5px;
|
|
}
|
|
|
|
h1 {
|
|
font-family: 'mrs eaves', 'times new roman', times, baskerville, garamond;
|
|
color: #58170D;
|
|
font-weight: bolder;
|
|
font-variant: small-caps;
|
|
text-transform: capitalize;
|
|
font-size: 42px;
|
|
margin-top: 20px;
|
|
margin-bottom: 4px;
|
|
padding-top: 40px;
|
|
clear: both;
|
|
}
|
|
|
|
h2 {
|
|
font-family: 'mrs eaves', 'times new roman', times, baskerville, garamond;
|
|
color: #58170D;
|
|
font-weight: bolder;
|
|
font-variant: small-caps;
|
|
text-transform: capitalize;
|
|
margin-top: 10px;
|
|
font-size: 28px;
|
|
}
|
|
|
|
h3 {
|
|
font-family: 'mrs eaves', 'times new roman', times, baskerville, garamond;
|
|
color: #58170D;
|
|
font-weight: bolder;
|
|
font-variant: small-caps;
|
|
text-transform: capitalize;
|
|
font-size: 20px;
|
|
margin-top: 10px;
|
|
margin-bottom: 2px;
|
|
line-height: 80%;
|
|
border-bottom: 2px solid #c9ad6a;
|
|
clear: both;
|
|
}
|
|
|
|
h4 {
|
|
font-family: 'mrs eaves', 'times new roman', times, baskerville, garamond;
|
|
color: #58170D;
|
|
font-variant: small-caps;
|
|
text-transform: capitalize;
|
|
font-size: 16px;
|
|
margin-top: 10px;
|
|
margin-bottom: 2px;
|
|
line-height: 80%;
|
|
}
|
|
|
|
h5 {
|
|
font-family: Verdana, sans-serif !important;
|
|
color: black;
|
|
font-variant: small-caps;
|
|
font-size: 16px;
|
|
margin-top: 10px;
|
|
margin-bottom: 8px;
|
|
line-height: 80%;
|
|
}
|
|
|
|
button[type=roll].sheet-d6-dice::before {
|
|
font-family: 'dicefontd6';
|
|
content: 'F ';
|
|
}
|
|
|
|
/* contenc added from CSS */
|
|
|
|
hr {
|
|
background: url('https://i.imgur.com/r3771zY.png') no-repeat top center;
|
|
background-size: contain;
|
|
height: 11px;
|
|
display: block:border: 0;
|
|
}
|
|
|
|
hr.style2 {
|
|
display: block;
|
|
width: 100%;
|
|
height: 1px;
|
|
border: none;
|
|
}
|
|
|
|
hr.style3 {
|
|
height: 2px;
|
|
background-color: #c9ad6a;
|
|
display: block;
|
|
border: 0;
|
|
}
|
|
|
|
/* Universal styling applied to all elements of these types */
|
|
|
|
|
|
/* Removed from above h2 {
|
|
font-size: 2em;
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
}
|
|
*/
|
|
|
|
label {
|
|
font-family: Georgia;
|
|
font-size: 14px;
|
|
display: inline-block;
|
|
align: left;
|
|
width: 130px;
|
|
}
|
|
|
|
input {
|
|
display: inline-block;
|
|
align: left;
|
|
width: 110px;
|
|
}
|
|
|
|
img {
|
|
max-height: 100px;
|
|
}
|
|
|
|
textarea {
|
|
resize: both;
|
|
}
|
|
|
|
|
|
/* Targetted styling that only effects elements with these classes */
|
|
input.sheet-short {
|
|
width: 17%;
|
|
}
|
|
|
|
select.sheet-dtype {
|
|
vertical-align: top;
|
|
width: 60px;
|
|
}
|
|
|
|
select.sheet-Atype {
|
|
vertical-align: top;
|
|
width: 40px;
|
|
}
|
|
|
|
span.sheet-dee {
|
|
font-size: 1.4em;
|
|
font-weight: bold;
|
|
left: -36%;
|
|
padding-right: 4px;
|
|
position: relative;
|
|
top: 3px;
|
|
}
|
|
|
|
|
|
/* Targetted styling that only effects elements contained within the stated class */
|
|
.sheet-stats h3 {
|
|
display: inline-block;
|
|
text-align: left;
|
|
}
|
|
|
|
.sheet-stats h3:first-child {
|
|
margin-left: 35%;
|
|
margin-right: 15%;
|
|
}
|
|
|
|
.sheet-stats input {
|
|
margin-right: 8%;
|
|
width: 17%;
|
|
}
|
|
|
|
|
|
|
|
.npc {
|
|
width: 15em;
|
|
border: 1px solid #333;
|
|
box-shadow: 8px 8px 5px #444;
|
|
padding: 8px 12px;
|
|
background-image: linear-gradient(180deg, #fff, #ddd 40%, #ccc);
|
|
}
|
|
|
|
/* Dice rolling template */
|
|
|
|
.sheet-rolltemplate-test div.sheet-template-container {
|
|
border: 2px solid #000 !important;
|
|
border-radius: 3px 3px 3px 3px;
|
|
}
|
|
|
|
.sheet-rolltemplate-test .sheet-template-header {
|
|
background-color: rgba(112, 32, 130,1);
|
|
color: #000;
|
|
padding: 2px;
|
|
border-bottom: 1px solid black;
|
|
line-height: 1.6em;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.sheet-rolltemplate-test div {
|
|
padding: 5px;
|
|
border-bottom: 1px solid black;
|
|
}
|
|
|
|
.sheet-rolltemplate-test div:nth-child(odd) {
|
|
background-color: rgba(217, 217, 214,1);
|
|
}
|
|
|
|
.sheet-rolltemplate-test div:nth-child(even) {
|
|
background-color: rgba(233, 233, 233,1);
|
|
}
|
|
|
|
.sheet-rolltemplate-test .inlinerollresult {
|
|
display: inline-block;
|
|
min-width: 1.5em;
|
|
text-align: center;
|
|
border: 2px solid rgba(167, 168, 170,1);
|
|
}
|
|
|
|
.sheet-rolltemplate-test .inlinerollresult.fullcrit {
|
|
border: 2px solid #3FB315;
|
|
}
|
|
|
|
.sheet-rolltemplate-test .inlinerollresult.fullfail {
|
|
border: 2px solid #B31515;
|
|
}
|
|
|
|
.sheet-rolltemplate-test .inlinerollresult.importantroll {
|
|
border: 2px solid #4A57ED;
|
|
}
|
|
/*Configure the tab buttons*/
|
|
.sheet-character,
|
|
.sheet-combat,
|
|
.sheet-spellsgear,
|
|
.sheet-journal,
|
|
.sheet-npcsheet {
|
|
display: none;
|
|
}
|
|
|
|
/* show the selected tab */
|
|
.sheet-tabstoggle[value="character"] ~ div.sheet-character,
|
|
.sheet-tabstoggle[value="combat"] ~ .sheet-combat,
|
|
.sheet-tabstoggle[value="spellsgear"] ~ div.sheet-spellsgear,
|
|
.sheet-tabstoggle[value="journal"] ~ div.sheet-journal,
|
|
.sheet-tabstoggle[value="npcsheet"] ~ div.sheet-npcsheet,{
|
|
display: block;
|
|
}
|