mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
444 lines
8.5 KiB
CSS
444 lines
8.5 KiB
CSS
@import url('https://fonts.googleapis.com/css?family=Kristi|Waiting+for+the+Sunrise|Loved+by+the+King|Lacquer|Major+Mono+Display|Press+Start+2P|Roboto+Condensed|UnifrakturCook:wght@700|UnifrakturMaguntia&display=swap');
|
|
|
|
/* Taken & modified from https://github.com/Roll20/roll20-character-sheets/blob/master/kitchensink/kitchensink.css */
|
|
|
|
/* Set the min-width so that when the window is resized the look will stay consistant */
|
|
|
|
.charsheet {
|
|
min-width: 800px;
|
|
max-width: 1800px;
|
|
background-color: black;
|
|
color: white;
|
|
padding: 0;
|
|
border: 10px solid black;
|
|
}
|
|
|
|
/* Universal styling applied to all elements of these types */
|
|
|
|
h2 {
|
|
font-size: 2em;
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
a {
|
|
color: rgb(255,62,181);
|
|
}
|
|
|
|
button {
|
|
color: black;
|
|
font-size: small;
|
|
}
|
|
|
|
label {
|
|
display: inline-block;
|
|
}
|
|
|
|
input {
|
|
display: inline-block;
|
|
}
|
|
|
|
img {
|
|
max-height: 75px;
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
overflow-y: auto;
|
|
min-height: 5em;
|
|
width: 95%;
|
|
}
|
|
|
|
textarea.sheet-singleline {
|
|
height: 25px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
/* Targetted styling that only effects elements with these classes */
|
|
input.sheet-short, select.sheet-short {
|
|
min-width: 15%;
|
|
max-width: 20%;
|
|
}
|
|
|
|
select.sheet-dtype {
|
|
vertical-align: top;
|
|
width: 60px;
|
|
}
|
|
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%;
|
|
}
|
|
|
|
.sheet-rolltemplate-default caption {
|
|
background-color: rgb(241, 66, 175);
|
|
color: black;
|
|
font-weight: bold;
|
|
}
|
|
|
|
|
|
/* end of kitchen sink template CSS */
|
|
|
|
.charsheet .sheet-3colrow {
|
|
margin-right: 15px;
|
|
}
|
|
|
|
div.sheet-3colrow div.sheet-col {
|
|
width: calc(33% - 20px);
|
|
}
|
|
|
|
div.sheet-3colrow div.sheet-2colrow div.sheet-col {
|
|
width: calc(50% - 20px);
|
|
}
|
|
|
|
div.sheet-col.sheet-wide {
|
|
width: 60%;
|
|
}
|
|
|
|
div.sheet-3colrow div.sheet-col.sheet-collabel {
|
|
margin-right: 0;
|
|
}
|
|
|
|
label.sheet-inline {
|
|
display: inline;
|
|
}
|
|
|
|
input[type="text"], input[type="number"] {
|
|
max-width: 95%;
|
|
}
|
|
|
|
input[type="text"].sheet-short {
|
|
max-width: 35%;
|
|
}
|
|
|
|
select.sheet-mediumwidth, input[type="text"].sheet-mediumwidth, input[type="number"].sheet-mediumwidth {
|
|
max-width: 60%;
|
|
}
|
|
|
|
input[type="textarea"].widewidth, input[type="number"].widewidth {
|
|
min-width: 75%;
|
|
max-width: 98%;
|
|
width: 95%;
|
|
}
|
|
|
|
|
|
/* div-related style */
|
|
div {
|
|
margin-bottom: 0.5em;
|
|
background-color: #fde12e;
|
|
color: black;
|
|
}
|
|
|
|
div.sheet-transparent-bg {
|
|
rgba(0,0,0,0);
|
|
}
|
|
|
|
div.sheet-clear {
|
|
clear: both;
|
|
}
|
|
|
|
div.sheet-section {
|
|
border: 7px solid black;
|
|
background-color: #fde12e;
|
|
margin: 0 0 10px 0;
|
|
padding-top: 0.5em;
|
|
padding-left: .25em;
|
|
padding-right: .25em;
|
|
width: 100%;
|
|
clear: both;
|
|
}
|
|
|
|
div.sheet-pink-border {
|
|
border: 7px solid rgb(255,62,181);
|
|
}
|
|
|
|
div.sheet-transform-clockwise {
|
|
transform: rotate(2deg);
|
|
}
|
|
|
|
div.sheet-transform-counterclockwise {
|
|
transform: rotate(-3deg);
|
|
}
|
|
|
|
div.sheet-black-bg {
|
|
background-color: black;
|
|
color: white;
|
|
}
|
|
|
|
div.sheet-pink-bg {
|
|
background-color: rgb(255,62,181);
|
|
color: black;
|
|
}
|
|
|
|
div.sheet-yellow-bg {
|
|
background-color: rgb(255,233,0);
|
|
color: black;
|
|
}
|
|
|
|
div.sheet-transparent-bg {
|
|
background: rgba(0,0,0,0);
|
|
}
|
|
|
|
div.sheet-image-bg {
|
|
/* background-color: black;
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Mork%20Borg/images/mork-borg-sheet-column-bg.png");
|
|
*/
|
|
background: rgb(255,62,181);
|
|
background: radial-gradient(circle, rgba(255,62,181,1) 0%, rgba(0,0,0,1) 100%);
|
|
background-position: center 0;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
div.sheet-pink-bg {
|
|
background-color: rgb(241, 66, 175);
|
|
}
|
|
|
|
div.sheet-pink {
|
|
color: rgb(241, 66, 175);
|
|
background-color: black;
|
|
}
|
|
|
|
div.sheet-white-bg, div.sheet-white-bg div, span.sheet-white-bg {
|
|
background-color: white;
|
|
}
|
|
|
|
.sheet-centered {
|
|
text-align: center;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.sheet-col-custom {
|
|
width: 30%;
|
|
margin-right: 2%;
|
|
padding-left: 5%;
|
|
float: left;
|
|
}
|
|
|
|
div.sheet-col-middle {
|
|
width: 550px;
|
|
max-width: 550px;
|
|
}
|
|
|
|
.sheet-col-right {
|
|
width: 50%;
|
|
text-align: right;
|
|
padding-right: 5%;
|
|
border-right: 2px solid black;
|
|
}
|
|
|
|
.sheet-aligns-right {
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
/* label, span, input styles */
|
|
.sheet-floats {
|
|
float: left;
|
|
}
|
|
|
|
.sheet-inline {
|
|
display: inline;
|
|
}
|
|
|
|
.sheet-righttext {
|
|
overflow: hidden;
|
|
padding-left: .2em;
|
|
}
|
|
|
|
span {
|
|
margin-bottom: 0.5em;
|
|
padding-bottom: 0.25em;
|
|
vertical-align: top;
|
|
}
|
|
|
|
input[type="radio"] + label, input[type="checkbox"] + label {
|
|
display: inline-block;
|
|
height: 10px;
|
|
width: 10px;
|
|
font-size: 10px;
|
|
padding: .25em .25em 1em 0;
|
|
vertical-align: top;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
/* span-specific font families */
|
|
span.sheet-monospace {
|
|
font-family: monospace;
|
|
}
|
|
|
|
span.sheet-courier {
|
|
font-family: "Courier New", monospace;
|
|
font-weight: bolder;
|
|
font-size: 1.25em;
|
|
background-color: black;
|
|
color: white;
|
|
padding: .25em;
|
|
margin: .25em;
|
|
}
|
|
|
|
span.sheet-unifraktur {
|
|
/* font-family: 'UnifrakturCook', serif; */
|
|
font-family: "UnifrakturMaguntia", serif;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
span.sheet-lacquer {
|
|
font-family: "Lacquer";
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
span.sheet-majormono {
|
|
font-family: "Major Mono Display", monospace;
|
|
}
|
|
|
|
span.sheet-note {
|
|
font-size: .9em;
|
|
}
|
|
|
|
span.sheet-pressstart2p {
|
|
font-family: "Press Start 2P", monospace;
|
|
}
|
|
|
|
span.sheet-robotocondensed {
|
|
font-family: "Roboto Condensed", sans-serif;
|
|
}
|
|
|
|
.sheet-transform1 {
|
|
-webkit-transform: scale(0.95,1.5);
|
|
transform: scale(0.95,1.5);
|
|
}
|
|
|
|
.sheet-transform2 {
|
|
-webkit-transform: scale(0.9,2.2);
|
|
transform: scale(0.9,2.2);
|
|
}
|
|
|
|
.sheet-transform3 {
|
|
-webkit-transform: scale(0.77,1.9);
|
|
transform: scale(0.77,1.9);
|
|
}
|
|
|
|
.sheet-no-display {
|
|
display: none;
|
|
}
|
|
|
|
/* Span-specific text transformation, decoration, etc. */
|
|
span.sheet-all-caps {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
span.sheet-italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
.sheet-bold-text {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-rolltemplate-attack .sheet-container, .sheet-rolltemplate-defense .sheet-container, .sheet-rolltemplate-selfimprovement .sheet-container {
|
|
border: 1px solid #000;
|
|
background-color: #fff;
|
|
width: 90%;
|
|
}
|
|
|
|
.sheet-rolltemplate-defense .sheet-container {
|
|
background-color: rgb(255,233,0);
|
|
color: #000;
|
|
}
|
|
|
|
.sheet-rolltemplate-selfimprovement .sheet-container {
|
|
background-color: rgb(255,62,181);
|
|
}
|
|
|
|
.sheet-rolltemplate-attack h1, .sheet-rolltemplate-defense h1, .sheet-rolltemplate-selfimprovement h1 {
|
|
font-size: 1em;
|
|
line-height: .8em;
|
|
background-color: rgb(255,62,181);
|
|
padding: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.sheet-rolltemplate-defense h1 {
|
|
background-color: #000;
|
|
color: rgb(255,62,181);
|
|
}
|
|
|
|
.sheet-rolltemplate-selfimprovement h1 {
|
|
background-color: rgb(255,233,0);
|
|
}
|
|
|
|
.sheet-rolltemplate-attack span, .sheet-rolltemplate-defense span, .sheet-rolltemplate-selfimprovement span {
|
|
display: inline-block;
|
|
padding-left: 5px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.sheet-rolltemplate-selfimprovement div.sheet-black-bg {
|
|
background-color: #000;
|
|
color: #fff;
|
|
}
|
|
|
|
.sheet-rolltemplate-attack .inlinerollresult, .sheet-rolltemplate-defense .inlinerollresult, .sheet-rolltemplate-attack .inlinerollresult.importantroll, .sheet-rolltemplate-defense .inlinerollresult.importantroll, .sheet-rolltemplate-selfimprovement .inlinerolleresult, .sheet-rolltemplate-selfimprovement .inlinerolleresult.importantroll {
|
|
background-color: #fff;
|
|
border: 1px solid #000;
|
|
}
|
|
|
|
.sheet-rolltemplate-attack .inlinerollresult.fullcrit, .sheet-rolltemplate-defense .inlinerollresult.fullcrit {
|
|
color: #fde12e;
|
|
background-color: #000;
|
|
border: none;
|
|
}
|
|
|
|
.sheet-rolltemplate-attack .inlinerollresult.fullfail, .sheet-rolltemplate-defense .inlinerollresult.fullfail {
|
|
color: #ff0000;
|
|
background-color: #fff;
|
|
border: 1px solid #000;
|
|
}
|
|
|
|
.sheet-rolltemplate-attack .sheet-crit, .sheet-rolltemplate-defense .sheet-crit {
|
|
background-color: #fde12e;
|
|
color: #000;
|
|
font-style: italic;
|
|
}
|
|
|
|
.sheet-rolltemplate-attack .sheet-crit-black, .sheet-rolltemplate-defense .sheet-crit-black {
|
|
background-color: #000;
|
|
color: rgb(255,62,181);
|
|
font-style: italic;
|
|
}
|
|
|
|
.sheet-rolltemplate-defense .sheet-crit-black .inlinerollresult {
|
|
color: #000;
|
|
}
|
|
|
|
.sheet-rolltemplate-attack .sheet-fumble, .sheet-rolltemplate-defense .sheet-fumble {
|
|
background-color: #000;
|
|
color: #fde12e;
|
|
font-style: italic;
|
|
}
|
|
|
|
.sheet-rolltemplate-attack .sheet-fumble .inlinerollresult, .sheet-rolltemplate-defense .sheet-fumble .inlinerollresult {
|
|
color: #000;
|
|
}
|