/* Original Edition Delta Character Record Sheet CSS */ /* Version 1.0 */ /**************** *** FONTS *** ****************/ @import url('https://fonts.googleapis.com/css?family=Domine|Sancreek|Walter+Turncoat&display=swap'); /* END FONTS */ /************** ** WRAPPERS ** **************/ .oed { width: 600px; background-size: 600px 943px; background-repeat: no-repeat; } .character, .equipment, .spellbook { width: 500px; border-bottom: 2px solid black; border-top: 2px solid black; margin: 0 25px 0 26px; padding: 25px; } /* END WRAPPERS */ /***************** ** TYPOGRAPHY ** *****************/ span, button, .charsheet label, .label, .text { font-family: 'Domine'; font-size: 14px; } h2.name { font-family: 'Sancreek', cursive; font-size: 19px; } /* END TYPOGRAPHY */ /****************** *** LAYOUT *** ******************/ /* GRID 16 — top and middle */ .grid-16 { display: grid; grid-template-columns: repeat(16, 1fr); grid-template-rows: auto; column-gap: 16px; padding-bottom: 8px; } .grid-16-span-1 { grid-column: span 1; } .grid-16-span-2 { grid-column: span 2; } .grid-16-span-3 { grid-column: span 3; } .grid-16-span-4 { grid-column: span 4; } .grid-16-span-5 { grid-column: span 5; } .grid-16-span-6 { grid-column: span 6; } .grid-16-span-7 { grid-column: span 7; } .grid-16-span-8 { grid-column: span 8; } .grid-16-span-12 { grid-column: span 12; } .grid-16-span-16 { grid-column: span 16; } /* END LAYOUT */ /************************ *** FORM ELEMENTS *** ************************/ .oed label { font-family: 'Domine'; font-weight: 400; width: auto; line-height: 50px; margin: 0; padding: 0 8px 0 0; } .oed input, .oed textarea, .backed, .spell { background: transparent; border: none; font-family: 'Walter Turncoat'; font-size: 16px; line-height: 32px; margin: 0; overflow: visible; } .oed input, .backed { border-bottom: 2px solid; border-radius: 0; padding: 0 8px; } .oed input.box { border-style: solid; border-width: 2.5px 5px 2.5px 5px; height:60px; margin-left: 5px; width: 60px; } .oed input.box.top { border-style: solid; border-width: 5px 5px 2.5px 5px; } .oed input.box.bottom { border-style: solid; border-width: 2.5px 5px 5px 5px; } .oed input.attr-mod, span.attr-mod.backed { border: 2px solid; border-radius: 5px 0px 0px 5px; width: 66px; } .oed .bold { font-weight: bold; } ::placeholder { font-family: 'Walter Turncoat'; font-size: 16px; line-height: 32px; text-align: center; } input.fill, .backed { width: 100%; } textarea.textarea-fill { box-sizing:border-box; width: 100%; height: 85% } span.attr-mod.backed { display: inline-block; width: 46px; } .oed .details { border: 2px solid; border-radius: 0 5px 5px 0; height: 32px; margin-top: 20px; text-align: center; } /* END FORM ELEMENTS */ /************************ *** UTILITIES *** ************************/ .oed .bdr-top { border: 2px solid; border-bottom: none; border-radius: 10px 10px 0 0; } .oed .bdr-mid { border: 2px solid; border-top: none; border-bottom: none; } .oed .bdr-mid.lft { border-right: none; } .oed .bdr-mid.rgt { border-left: none; } .oed .bdr-btm { border: 2px solid; border-top: none; border-radius: 0 0 10px 10px; } .oed .bdr-none { border: none; } .oed .center { text-align: center; } .oed .line-height-10 { line-height: 10px; } .oed .line-height-20 { line-height: 20px; } .oed .line-height-28 { line-height: 28px; } .oed .line-height-38 { line-height: 38px; } .oed .ml-10 { margin-left: 10px; } .oed .mr-10 { margin-right: 10px; } .oed .pl-10 { padding-left: 10px; } .oed .pr-10 { padding-right: 10px; } .oed .font-size-sm { font-size: 11px; } .oed .w-90 { width: 90% } /* END UTILITIES */ /************************ *** TABS *** ************************/ .buttons { margin-left: 25px; } .buttons button { background-color: transparent; border: 2px solid black; margin-bottom: -2px; padding: 5px; } .buttons button:hover { background-color: black; color: white; } .character, .equipment, .spellbook { display: none; } /* Show the selected tab */ .tabstoggle[value="character"] ~ div.character, .tabstoggle[value="equipment"] ~ div.equipment, .tabstoggle[value="spellbook"] ~ div.spellbook { display: block; } /* END TABS */