@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 { background-color: #000; display: flex; padding: 0; border: 10px solid #000; } /* 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: #000; font-size: small; } label { color: #000; display: inline-block; } .largedialog label { max-width: 95%; } input { display: inline-block; } img { max-height: 75px; } textarea { resize: vertical; overflow-y: auto; max-width: 95%; min-height: 5em; width: 95%; } textarea.singleline { height: 25px; min-height: 20px; } .largedialog textarea { max-width: 95%; width: 95%; } /* Targetted styling that only effects elements with these classes */ input.short, select.short { min-width: 15%; max-width: 20%; } select.dtype { vertical-align: top; width: 60px; } span.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 */ .stats h3 { display: inline-block; text-align: left; } .stats h3:first-child { margin-left: 35%; margin-right: 15%; } .stats input { margin-right: 8%; width: 17%; } .sheet-rolltemplate-default caption { background-color: rgb(241, 66, 175); color: #000; font-weight: bold; } /* end of kitchen sink template CSS */ .charsheet main { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 1 0; flex-direction: row; flex-wrap: wrap; justify-content: space-between; } .charsheet main div.flex-container { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 1 0; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; } .charsheet main div.col { display: block; } .charsheet main div.col div { } .charsheet main div.2colrow, .charsheet main div.3colrow { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 1 auto; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; } .charsheet main div.2colrow div.col, .charsheet main div.3colrow div.col { flex: 1 1 0; } .charsheet div.col.wide { flex-grow: 2; } .charsheet main div.col.collabel { display: inline-block; margin-right: 0; } label.inline { display: inline; } input[type="text"], input[type="number"] { max-width: 95%; } input[type="text"].short { max-width: 35%; } select.mediumwidth, input[type="text"].mediumwidth, input[type="number"].mediumwidth { max-width: 60%; } input[type="textarea"].widewidth, input[type="number"].widewidth { min-width: 75%; max-width: 98%; width: 95%; } /* div-related style */ .charsheet div { margin-bottom: 0.5em; } .charsheet div.clear { clear: both; } .charsheet div.section { border: 7px solid #000; display: block; margin: 0 0 10px 0; padding-top: 0.5em; padding-left: .25em; padding-right: .25em; clear: both; } .charsheet div.pink-border { border: 7px solid rgb(255,62,181); } .charsheet div.transform-clockwise { transform: rotate(2deg); } .charsheet div.transform-counterclockwise { transform: rotate(-3deg); } .charsheet div.black-bg { background-color: #000; color: #fff; } .charsheet div.pink-bg { background-color: rgb(255,62,181); color: #000; } .charsheet div.yellow-bg { background-color: rgb(255,233,0); color: #000; } .charsheet div.transparent-bg { background: rgba(0,0,0,0); } .charsheet div.white-text label { color: #fff; } .charsheet div.image-bg { /* background-color: #000; 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; } .charsheet div.pink-bg { background-color: rgb(241, 66, 175); } .charsheet div.pink { color: rgb(241, 66, 175); background-color: #000; } .charsheet div.white-bg, .charsheet div.white-bg div, .charsheet span.white-bg { background-color: #fff; } .centered { text-align: center; margin-left: auto; margin-right: auto; } .col-custom { width: 30%; margin-right: 2%; padding-left: 5%; float: left; } .charsheet div.col-middle { margin-left: 1em; margin-right: 1em; } .charsheet .col-right { text-align: right; padding-right: 5%; border-right: 2px solid #000; } .aligns-right { text-align: right; } /* label, span, input styles */ .floats { float: left; } .inline { display: inline; } .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.monospace { font-family: monospace; } span.courier { font-family: "Courier New", monospace; font-weight: bolder; font-size: 1.25em; background-color: #000; color: #fff; padding: .25em; margin: .25em; } span.unifraktur { /* font-family: 'UnifrakturCook', serif; */ font-family: "UnifrakturMaguntia", serif; font-size: 1.5em; } span.lacquer { font-family: "Lacquer"; font-size: 1.5em; } span.majormono { font-family: "Major Mono Display", monospace; } span.note { font-size: .9em; } span.pressstart2p { font-family: "Press Start 2P", monospace; } span.robotocondensed { font-family: "Roboto Condensed", sans-serif; } .transform1 { -webkit-transform: scale(0.95,1.5); transform: scale(0.95,1.5); padding-bottom: .5em; } .transform2 { -webkit-transform: scale(0.9,2.2); transform: scale(0.9,2.2); padding-bottom: .5em; } .transform3 { -webkit-transform: scale(0.77,1.9); transform: scale(0.77,1.9); padding-bottom: .5em; } .no-display { display: none; } /* Span-specific text transformation, decoration, etc. */ span.all-caps { text-transform: uppercase; } span.italic { font-style: italic; } .bold-text { font-weight: bold; } .sheet-rolltemplate-attack, .sheet-rolltemplate-defense, .sheet-rolltemplate-selfimprovement { background-color: transparent; border: 1px solid #000; color: #000; width: 90%; } .sheet-rolltemplate-defense { background-color: rgb(255,233,0); color: #000; } .sheet-rolltemplate-selfimprovement { 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); color: #000; 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.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 .crit, .sheet-rolltemplate-defense .crit { background-color: #fde12e; color: #000; font-style: italic; } .sheet-rolltemplate-attack .crit-black, .sheet-rolltemplate-defense .crit-black { background-color: #000; color: rgb(255,62,181); font-style: italic; } .sheet-rolltemplate-defense .crit-black .inlinerollresult { color: #000; } .sheet-rolltemplate-attack .fumble, .sheet-rolltemplate-defense .fumble { background-color: #000; color: #fde12e; font-style: italic; } .sheet-rolltemplate-attack .fumble .inlinerollresult, .sheet-rolltemplate-defense .fumble .inlinerollresult { color: #000; } /* Dark Mode Additions */ body.sheet-darkmode, body.sheet-darkmode .charsheet, body.sheet-darkmode * { background-color: #000; color: #fff; } body.sheet-darkmode .charsheet main div.section { border: 7px solid #fff; background-color: #000; color: #fff; } body.sheet-darkmode .charsheet main div.pink-border { border: 7px solid rgb(255,62,181); } body.sheet-darkmode .charsheet main div.black-bg { background-color: #fff; color: #000; } body.sheet-darkmode .charsheet main div.pink-bg { background-color: #000; color: #fff; } body.sheet-darkmode .charsheet main div.white-bg { background-color: #000; color: #fff; } body.sheet-darkmode .charsheet div.white-bg, body.sheet-darkmode .charsheet div.white-bg div, body.sheet-darkmode .charsheet span.white-bg { background-color: #000; } .sheet-darkmode .white-bg, .sheet-darkmode .white-bg div, .sheet-darkmode span.white-bg { background-color: #000; } body.sheet-darkmode main span.courier { background-color: #fff; color: #000; } body.sheet-darkmode main label, body.sheet-darkmode main label span { background-color: transparent; color: #fff; } body.sheet-darkmode button, body.sheet-darkmode button span { background-color: transparent; color: #000; } .sheet-rolltemplate-attack.sheet-rolltemplate-darkmode, .sheet-rolltemplate-defense.sheet-rolltemplate-darkmode, .sheet-rolltemplate-selfimprovement.sheet-rolltemplate-darkmode { border: 1px solid #fff; width: 90%; } .sheet-rolltemplate-attack.sheet-rolltemplate-darkmode { color: #fff; } .sheet-rolltemplate-defense.sheet-rolltemplate-darkmode { color: #000; } .sheet-rolltemplate-selfimprovement.sheet-rolltemplate-darkmode { background-color: rgb(255,233,0); color: #000; } .sheet-rolltemplate-attack.sheet-rolltemplate-darkmode h1, .sheet-rolltemplate-defense.sheet-rolltemplate-darkmode h1, .sheet-rolltemplate-selfimprovement.sheet-rolltemplate-darkmode h1 { font-size: 1em; line-height: .8em; background-color: rgb(255,62,181); color: #000; padding: 5px; margin-bottom: 5px; }