mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
Significant update with new features such as extra inventory and GM Whisper capable rolls on the main page, with an addition of two auxiliary pages: Lawmaster and NPC
468 lines
10 KiB
CSS
468 lines
10 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Russo+One&display=swap");
|
|
|
|
|
|
.charsheet div.sheet-page1 {
|
|
opacity: 1.0;
|
|
border: 2px solid Black;
|
|
width: 820px;
|
|
min-width: 820px;
|
|
min-height: 1000px;
|
|
font-family: "Courier New, serif";
|
|
}
|
|
|
|
.charsheet div.sheet-page2 {
|
|
opacity: 1.0;
|
|
border: 2px solid Black;
|
|
width: 820px;
|
|
min-width: 820px;
|
|
min-height: 1000px;
|
|
font-family: "Courier New, serif";
|
|
}
|
|
|
|
.charsheet div.sheet-page3 {
|
|
opacity: 1.0;
|
|
border: 2px solid Black;
|
|
width: 820px;
|
|
min-width: 820px;
|
|
min-height: 800px;
|
|
font-family: "Courier New, serif";
|
|
}
|
|
.charsheet .sheet-container1 {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
grid-template-rows: auto;
|
|
overflow: visible;
|
|
gap: 5px 4px;
|
|
grid-template-areas:
|
|
"logo profile profile"
|
|
}
|
|
|
|
/* Layout */
|
|
.charsheet .sheet-logo {
|
|
grid-area: logo;
|
|
height: 170px;
|
|
width: 270px;
|
|
border: 0px solid Black;
|
|
}
|
|
.charsheet .sheet-profile {
|
|
grid-area: profile;
|
|
grid-column: span 2;
|
|
height: 170px;
|
|
border: 0px solid Black;
|
|
}
|
|
|
|
/* General Styles */
|
|
.charsheet .sheet-profileTitle{
|
|
display: inline-block;
|
|
vertical-align: bottom;
|
|
box-sizing: border-box;
|
|
font-family: "Russo One";
|
|
font-weight: 500;
|
|
font-size: 32px;
|
|
width: 99%;
|
|
height: 50px;
|
|
text-align: center;
|
|
color: Black;
|
|
background-color: transparent;
|
|
border: 0px;
|
|
border-bottom: 3px solid Black;
|
|
margin: 2px 0px 0px 0px;
|
|
padding: 2px;"
|
|
}
|
|
.charsheet .sheet-profileLabel{
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
box-sizing: border-box;
|
|
font-family: "Barlow Condensed"; /* Arial*/
|
|
font-weight: 700;
|
|
font-size: 20px;
|
|
width: 80px;
|
|
height: 30px;
|
|
text-align: left;
|
|
color: Black;
|
|
background-color: transparent;
|
|
border: 2px solid transparent;
|
|
margin: 4px 0px 0px 0px;
|
|
padding: 8px 0px 0px 0px;"
|
|
}
|
|
|
|
.charsheet .sheet-profileInput{
|
|
display: inline-block;
|
|
vertical-align: bottom;
|
|
box-sizing: content-box;
|
|
width: 250px;
|
|
height: 30px ;
|
|
font-family: "Barlow Condensed";
|
|
font-weight: 500;
|
|
font-size: 18px;
|
|
background-color: transparent;
|
|
margin: 0px 0px 0px -2px;
|
|
text-align: left;
|
|
padding: 1px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
border-bottom: 2px solid DimGray;
|
|
}
|
|
|
|
.charsheet .sheet-level{
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
width: 50px;
|
|
height: 80px !important;
|
|
font-family: "Barlow Condensed";
|
|
font-weight: 500;
|
|
font-size: 28px;
|
|
margin: 0px 0px 0px -4px;
|
|
text-align: center;
|
|
padding: 0px 2px 1px 2px;
|
|
border: 3px solid Black;
|
|
}
|
|
.charsheet .sheet-AuxName,
|
|
.charsheet .sheet-skillName{
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
box-sizing: content-box;
|
|
width: 200px;
|
|
height: 36px;
|
|
color: White;
|
|
background-color: Black;
|
|
font-family: "Russo One";
|
|
font-weight: 300;
|
|
font-size: 30px;
|
|
margin: 0px 0px 0px 0px;
|
|
text-align: right;
|
|
padding: 3px 0px 0px 0px;
|
|
border-top: 6px solid Black;
|
|
}
|
|
.charsheet .sheet-skillDefnLeft{
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
box-sizing: content-box;
|
|
width: 100px;
|
|
height: 52px;
|
|
color: White;
|
|
background-color: Black;
|
|
font-family: "Barlow Condensed";
|
|
font-weight: 200;
|
|
font-size: 16px;
|
|
margin: 0px 0px 0px 0px;
|
|
text-align: right;
|
|
margin-top: -40px;
|
|
padding: 0px 6px 0px 96px;
|
|
border: 0px solid White;
|
|
border-right: 10px solid Black;
|
|
}
|
|
.charsheet .sheet-skillDefnRight{
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
box-sizing: content-box;
|
|
width: 112px;
|
|
height: 52px;
|
|
color: White;
|
|
background-color: Black;
|
|
font-family: "Barlow Condensed";
|
|
font-weight: 200;
|
|
font-size: 16px;
|
|
margin: 0px 0px 0px 0px;
|
|
text-align: right;
|
|
margin-top: -40px;
|
|
margin-left: 48px;
|
|
padding: 0px 6px 0px 76px;
|
|
border: 0px solid White;
|
|
border-right: 18px solid Black;
|
|
}
|
|
.charsheet input[type="text"]{
|
|
display: inline-block;
|
|
color: Black;
|
|
}
|
|
.charsheet textarea{
|
|
display: inline-block;
|
|
color: Black;
|
|
margin: 2px 2px 2px 2px;
|
|
border: 8px double LightGray;
|
|
font-size: 18px;
|
|
line-height: 22px;
|
|
resize: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.charsheet .sheet-skill{
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
font-family: "Barlow Condensed";
|
|
font-weight: 500;
|
|
font-size: 16px;
|
|
width: 137px;
|
|
height: 26px;
|
|
text-align: left;
|
|
color: Black;
|
|
background-color: White;
|
|
margin: 0px 0px 0px 0px;
|
|
padding: 4px 0px 0px 0px;
|
|
}
|
|
|
|
.charsheet button{
|
|
text-align: left;
|
|
color: black;
|
|
}
|
|
.charsheet button:hover{
|
|
background: LightGray;
|
|
color: #968c6a;
|
|
text-shadow: none;
|
|
}
|
|
|
|
|
|
|
|
/* Gold circles */
|
|
.gold {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
position: relative;
|
|
width: 12px;
|
|
}
|
|
|
|
.gold label {
|
|
background-color: transparent;
|
|
border: 1px solid Black;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
height: 12px;
|
|
left: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
width: 12px;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
}
|
|
|
|
.gold label:after {
|
|
padding: 0px;
|
|
margin: 0px;
|
|
}
|
|
|
|
.gold input[type="checkbox"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.gold input[type="checkbox"]:checked + label {
|
|
background-color: #ffd700;
|
|
border-color: #ffd700;
|
|
}
|
|
|
|
.gold input[type="checkbox"]:checked + label:after {
|
|
opacity: 1;
|
|
}
|
|
|
|
|
|
/* Radiobox Scott/Dana CSS Wizardry */
|
|
.radiocontainer{
|
|
/* style the layout and whatnot of the radio container as you need to */
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
.radiobox{
|
|
/* appearance none allows us to style radios and checkboxes as if they were divs */
|
|
appearance: none;
|
|
/* Style the radio as you want for it's unchecked state */
|
|
border-radius: 50%;
|
|
border: 1px solid black;
|
|
width: 10px;
|
|
height: 10px;
|
|
display: block;
|
|
}
|
|
/* If the radiobox is checked, or if it has a checked radiobox after it, style it as if it was checked */
|
|
.radiobox:checked,
|
|
.radiobox:has(~ .radiobox:checked){
|
|
/* Style the check state as you want */
|
|
background-color: black;
|
|
}
|
|
|
|
/* Buttons Styling */
|
|
.charsheet button[type=action].sheet-skillName,
|
|
.charsheet button[type=roll].sheet-skillName {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
box-sizing: content-box;
|
|
background-color: Black;
|
|
width: 66px;
|
|
height: 26px;
|
|
color: White;
|
|
font-family: "Barlow Condensed";
|
|
font-weight: 500;
|
|
font-size: 30px;
|
|
margin: 4px 0px 0px 0px;
|
|
text-align: right;
|
|
padding: 0px 0px 0px 0px;
|
|
border: 2px solid Red;
|
|
}
|
|
.charsheet button[type=action].sheet-textButton,
|
|
.charsheet button[type=roll].sheet-textButton {
|
|
background-color: transparent;
|
|
color: black;
|
|
border: none;
|
|
height: 18px;
|
|
width: 136px;
|
|
font-size: 1.8em;
|
|
font-weight: bold;
|
|
text-align: left;
|
|
}
|
|
|
|
.charsheet button[type=roll].sheet-textButton::before,
|
|
.charsheet button[type=action].sheet-textButton::before {
|
|
content: "" !important;
|
|
}
|
|
.charsheet button[type=roll].sheet-skillName::before,
|
|
.charsheet button[type=action].sheet-skillName::before {
|
|
padding: 0px 0px 0px 0px;
|
|
content: "" ;
|
|
}
|
|
|
|
|
|
.charsheet button.sheet-skillName:hover {
|
|
background-color: rgba(255,255,0,0.3)!important;
|
|
}
|
|
|
|
/*End Button Styling*/
|
|
|
|
|
|
/* Roll Template */
|
|
/* Check, Melee, Initiative Templates */
|
|
.sheet-rolltemplate-check .sheet-container {
|
|
color: Black;
|
|
background-color: #ffffff;
|
|
border: 1px solid;
|
|
padding: 2px;
|
|
width: 189px;
|
|
}
|
|
|
|
.sheet-rolltemplate-melee .sheet-container {
|
|
background-color: rgb(153, 0, 0); /* Dark Red */
|
|
color: rgb(255, 179, 179); /* Light Red */
|
|
border: 3px solid rgb(255, 179, 179);
|
|
padding: 2px;
|
|
width: 189px;
|
|
}
|
|
|
|
.sheet-rolltemplate-initiative .sheet-container {
|
|
background-color: Thistle;
|
|
color: Blue;
|
|
border: 3px solid Blue;
|
|
padding: 2px;
|
|
width: 189px;
|
|
}
|
|
|
|
.sheet-rolltemplate-check .sheet-container h1,
|
|
.sheet-rolltemplate-melee .sheet-container h1,
|
|
.sheet-rolltemplate-initiative .sheet-container h1{
|
|
color: inherit;
|
|
font-size: 1.2em;
|
|
font-variant: small-caps;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.sheet-rolltemplate-melee div,
|
|
.sheet-rolltemplate-initiative div,
|
|
.sheet-rolltemplate-check div {
|
|
padding: 2px;
|
|
}
|
|
|
|
.sheet-rolltemplate-check span,
|
|
.sheet-rolltemplate-melee span,
|
|
.sheet-rolltemplate-initiative span {
|
|
color: currentColor;
|
|
font-family: "Times New Roman", Times, serif;
|
|
font-size: 1.2em;
|
|
font-variant: small-caps;
|
|
line-height: 1.4em;
|
|
padding-left: 5px;
|
|
text-align: left;
|
|
}
|
|
|
|
.sheet-rolltemplate-check .sheet-subheader,
|
|
.sheet-rolltemplate-melee .sheet-subheader,
|
|
.sheet-rolltemplate-initiative .sheet-subheader {
|
|
color: currentColor;
|
|
font-size: 1em;
|
|
font-style: italic;
|
|
}
|
|
|
|
.sheet-rolltemplate-check .sheet-arrow-right,
|
|
.sheet-rolltemplate-melee .sheet-arrow-right,
|
|
.sheet-rolltemplate-initiative .sheet-arrow-right {
|
|
border-bottom: 3px solid transparent;
|
|
border-left: 180px solid currentColor;
|
|
border-top: 3px solid transparent;
|
|
}
|
|
|
|
.sheet-rolltemplate-melee .sheet-tcat,
|
|
.sheet-rolltemplate-initiative .sheet-tcat,
|
|
.sheet-rolltemplate-check .sheet-tcat {
|
|
font-style: italic;
|
|
}
|
|
|
|
|
|
.sheet-rolltemplate-check .inlinerollresult {
|
|
/*background-color: #ffffff;*/
|
|
background-color: LightGray !important;
|
|
border: none;
|
|
}
|
|
.sheet-rolltemplate-initiative .inlinerollresult,
|
|
.sheet-rolltemplate-melee .inlinerollresult {
|
|
color: Red;
|
|
background-color: Yellow;
|
|
border: none;
|
|
}
|
|
|
|
.sheet-rolltemplate-check .inlinerollresult.fullcrit {
|
|
color: #B31515; /* Red */
|
|
border: none;
|
|
}
|
|
|
|
.sheet-rolltemplate-check .inlinerollresult.fullfail {
|
|
color: #3FB315; /* Green */
|
|
border: none;
|
|
}
|
|
|
|
.sheet-rolltemplate-check .inlinerollresult.importandivoll {
|
|
color: #4A57ED; /* Blue */
|
|
border: none;
|
|
}
|
|
/* End templates*/
|
|
|
|
|
|
/* TAB HANDLING */
|
|
|
|
.charsheet input[type=radio].sheet-page1,
|
|
.charsheet input[type=radio].sheet-page2,
|
|
.charsheet input[type=radio].sheet-page3 {
|
|
display: none;
|
|
float: left;
|
|
}
|
|
.charsheet input[type=radio].sheet-page1 + label,
|
|
.charsheet input[type=radio].sheet-page2 + label,
|
|
.charsheet input[type=radio].sheet-page3 + label {
|
|
content: '';
|
|
border: solid 1px black;
|
|
background: white;
|
|
color: black;
|
|
font-weight: bold;
|
|
width: auto;
|
|
text-align: center;
|
|
padding: 0 2px;
|
|
float: left;
|
|
}
|
|
.charsheet input[type=radio]:hover + label{
|
|
background: #990000;
|
|
}
|
|
.charsheet input[type=radio]:checked + label{
|
|
background: black;
|
|
color: white;
|
|
}
|
|
.charsheet div.sheet-page1, .charsheet div.sheet-page2, .charsheet div.sheet-page3 {
|
|
display: none;
|
|
}
|
|
.charsheet input.sheet-page1:checked ~ div.sheet-page1, .charsheet input.sheet-page2:checked ~ div.sheet-page2,
|
|
.charsheet input.sheet-page3:checked ~ div.sheet-page3 {
|
|
display: block;
|
|
}
|