mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
* Initial Commit GammaWorld 3e This initial commit includes everything necessary to generate the sheet html, css and companion script. Insrtuctions in the README * Added sheet.json - Updated README - added preview png * Updated paths and sheet.json PR validation didn't like the html and css in a subfolder.
253 lines
6.2 KiB
CSS
253 lines
6.2 KiB
CSS
.sheet-3colrow .sheet-col, .sheet-row .sheet-col {
|
|
margin-right: 5px !important;
|
|
box-sizing: border-box !important; }
|
|
|
|
/**********************
|
|
Headers
|
|
***********************/
|
|
h1 {
|
|
font-family: "Contrail One";
|
|
background: #ae6a00;
|
|
background: linear-gradient(0deg, #ae6a00 8%, #ae2400 38%, #ae6a00 84%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent; }
|
|
|
|
h2 {
|
|
font-family: "Contrail One";
|
|
font-size: 2rem;
|
|
background: #ae6a00;
|
|
background: linear-gradient(0deg, #ae6a00 8%, #ae2400 38%, #ae6a00 84%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent; }
|
|
|
|
/**********************
|
|
Tabs
|
|
***********************/
|
|
/* Hide actual radio */
|
|
input[type="radio"] {
|
|
opacity: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
position: relative;
|
|
top: 5px;
|
|
left: 6px;
|
|
margin: -10px;
|
|
cursor: pointer;
|
|
z-index: 1; }
|
|
|
|
div.sheet-rollSwitch-button {
|
|
border: 1px solid grey;
|
|
border-radius: 5px;
|
|
padding: 1rem;
|
|
background: linear-gradient(0deg, black, transparent);
|
|
color: white;
|
|
display: block;
|
|
cursor: pointer; }
|
|
|
|
input.sheet-pageToggle:not([value="1"]) ~ .sheet-tab1 {
|
|
display: none; }
|
|
|
|
input.sheet-pageToggle:not([value="2"]) ~ .sheet-tab2 {
|
|
display: none; }
|
|
|
|
input.sheet-pageToggle:not([value="3"]) ~ .sheet-tab3 {
|
|
display: none; }
|
|
|
|
/**********************
|
|
Roll-up
|
|
***********************/
|
|
input.sheet-rollSwitch:not([value="0"]) ~ .sheet-pre-rolled {
|
|
display: none; }
|
|
|
|
input.sheet-rollSwitch:not([value="1"]) ~ .sheet-post-rolled {
|
|
display: none; }
|
|
|
|
/**********************
|
|
Layout
|
|
***********************/
|
|
.sheet-panel {
|
|
background: silver;
|
|
border: 1px solid transparent;
|
|
border-radius: 5px;
|
|
color: #ae6a00;
|
|
padding: 1rem;
|
|
margin: 2px;
|
|
box-sizing: border-box; }
|
|
|
|
.repcontainer .repitem {
|
|
background: linear-gradient(90deg, silver, transparent);
|
|
margin-bottom: 3px; }
|
|
|
|
span.sheet-emphasis {
|
|
color: #ae2400;
|
|
font-weight: bold;
|
|
border: 1px solid #ccc;
|
|
border-radius: 3px;
|
|
padding: 3px 4px 5px 7px;
|
|
min-width: 11px;
|
|
display: block;
|
|
background: #f5f5f5;
|
|
vertical-align: 7%;
|
|
line-height: 18px; }
|
|
|
|
label {
|
|
font-family: 'Contrail One';
|
|
margin: 0; }
|
|
label.sheet-ability {
|
|
width: 20px;
|
|
display: inline-block; }
|
|
label.sheet-emphasis {
|
|
color: #ae2400;
|
|
font-weight: bold; }
|
|
label.sheet-tab {
|
|
display: inline;
|
|
border-radius: 3px;
|
|
border: 1px solid transparent;
|
|
color: white;
|
|
padding: 0;
|
|
text-align: center;
|
|
margin: 0 0.5rem 0 0;
|
|
background: -webkit-linear-gradient(0deg, #aeaeae 0%, #094379 64%, #0072ff 100%);
|
|
background: -moz-linear-gradient(0deg, #aeaeae 0%, #094379 64%, #0072ff 100%);
|
|
background: -o-linear-gradient(0deg, #aeaeae 0%, #094379 64%, #0072ff 100%);
|
|
background: linear-gradient(0deg, #aeaeae 0%, #094379 64%, #0072ff 100%);
|
|
-webkit-transition: background 0.4s ease-out;
|
|
-moz-transition: background 0.4s ease-out;
|
|
-o-transition: background 0.4s ease-out;
|
|
transition: background 0.4s ease-out;
|
|
background-size: 1px 40px;
|
|
cursor: pointer; }
|
|
label.sheet-tab span {
|
|
padding: 0 0.5rem 0 0.75rem;
|
|
text-align: center; }
|
|
label.sheet-tab:hover {
|
|
background-position: 100px; }
|
|
|
|
/**********************
|
|
Sheet Container
|
|
***********************/
|
|
.sheet-container {
|
|
border: 1px dashed #ae2400;
|
|
border-radius: 5px;
|
|
padding: 1rem;
|
|
box-sizing: border-box; }
|
|
.sheet-container .bottom-margin {
|
|
margin-bottom: 1rem; }
|
|
.sheet-container .sheet-row {
|
|
display: block; }
|
|
.sheet-container .sheet-label {
|
|
font-family: "Contrail One";
|
|
display: inline; }
|
|
.sheet-container select {
|
|
font-family: "Arial" sans-serif; }
|
|
.sheet-container input:not(.sheet-short), .sheet-container select:not(.sheet-short) {
|
|
margin: 0;
|
|
width: 100% !important;
|
|
font-family: "Shadows Into Light"; }
|
|
|
|
.sheet-rolls-container {
|
|
border: 1px dashed #ae2400;
|
|
border-radius: 5px;
|
|
padding: 1rem;
|
|
box-sizing: border-box; }
|
|
.sheet-rolls-container .bottom-margin {
|
|
margin-bottom: 1rem; }
|
|
.sheet-rolls-container .sheet-row {
|
|
display: block; }
|
|
.sheet-rolls-container .sheet-label {
|
|
font-family: "Contrail One";
|
|
display: inline; }
|
|
|
|
/**********************
|
|
Sub Container
|
|
***********************/
|
|
.sheet-options-flag ~ .sheet-options,
|
|
.sheet-check-flag ~ .sheet-check-options {
|
|
display: none; }
|
|
|
|
.sheet-options-flag:checked ~ .sheet-options,
|
|
.sheet-check-flag:checked ~ .sheet-options {
|
|
display: inherit; }
|
|
|
|
.sheet-options-flag:checked ~ .sheet-options,
|
|
.sheet-check-flag:checked ~ .sheet-check-options {
|
|
min-height: 3rem;
|
|
vertical-align: top;
|
|
display: inline-block;
|
|
padding: 0.5rem; }
|
|
|
|
.sheet-options-flag:checked ~ .sheet-display {
|
|
display: none; }
|
|
|
|
.sheet-options-flag:checked ~ .sheet-active-flag {
|
|
margin-bottom: 50px; }
|
|
|
|
.sheet-options-flag:checked ~ .sheet-display {
|
|
display: none; }
|
|
|
|
.sheet-options-flag:not(:checked) ~ .sheet-display .sheet-title {
|
|
background-color: #EFEFEF;
|
|
border-bottom-right-radius: 5px;
|
|
border-top-left-radius: 5px;
|
|
display: inline-block;
|
|
font-size: 9px;
|
|
font-weight: bold;
|
|
line-height: 16px;
|
|
padding-bottom: 3px;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
padding-top: 3px;
|
|
text-align: left; }
|
|
|
|
.sheet-options-flag:not(:checked) ~ .sheet-display .sheet-subheader {
|
|
background-color: #EFEFEF;
|
|
border-bottom-right-radius: 5px;
|
|
border-top-left-radius: 5px;
|
|
display: inline-block;
|
|
font-size: 9px;
|
|
font-weight: bold;
|
|
height: 16px;
|
|
padding-bottom: 3px;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
padding-top: 3px;
|
|
text-align: left; }
|
|
|
|
.sheet-options-flag + span {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: -6px;
|
|
white-space: nowrap;
|
|
width: 18px;
|
|
height: 18px;
|
|
font-size: 20px;
|
|
font-family: pictos;
|
|
color: #A0A0A0;
|
|
cursor: pointer;
|
|
margin-top: 0px;
|
|
display: none; }
|
|
|
|
.repcontainer:hover .sheet-options-flag + span {
|
|
display: block; }
|
|
|
|
.sheet-options-flag {
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: 13px;
|
|
right: -6px;
|
|
width: 18px;
|
|
height: 18px !important;
|
|
z-index: 2; }
|
|
|
|
.sheet-options-flag:not(:checked) ~ .sheet-display,
|
|
.sheet-options-flag:checked ~ .sheet-options,
|
|
.sheet-check-flag:not(:checked) ~ .sheet-display,
|
|
.sheet-check-flag:checked ~ .sheet-check-options {
|
|
width: 95%;
|
|
display: inline-block; }
|
|
|
|
.sheet-options-flag:checked + span,
|
|
.sheet-check-flag:checked + span {
|
|
color: black;
|
|
display: block; }
|