@import "rolltemplate.less"; .charsheet { background: #fff; height: 100%; width: 9in; @import "coreTab.less"; @import "fields.less"; @import "gearTab.less"; @import "magicTab.less"; @import "skillsTab.less"; @import "specialFeatsTab"; @import "tabs.less"; table { thead { th { line-height: 1em; } } tbody { td.blackBox { display: table-cell; } } } .blackBox { background: #000; border-radius: 0.5em; color: #fff; display: inline-block; font-weight: bold; overflow: hidden; padding: 0.5em; text-align: center; vertical-align: middle; .longname { font-size: 0.7em; line-height: 0.7em } .shortname { text-transform: uppercase; font-size: 1.5em; } .rollButton { position: relative; @buttonColor: #fff; button { background: @buttonColor; border: none; color: @buttonColor; height: 200%; left: -50%; opacity: 0; position: absolute; top: -50%; transition: opacity 1s; width: 200%; &:hover { opacity: 0.5; } } } } .card { border: solid 1px; border-radius: 0.5em; margin-bottom: 1em; overflow: hidden; .body { textarea { height: 1.5em; resize: vertical; } } .head { background: #000; height: 2em; .labelledBoxH { border-radius: 0; height: 1.75em; select { border: none; border-radius: 0; height: 1.75em; padding: 0; } } .name { display: inline-block; input { background: #000; border-radius: 0; color: #fff; vertical-align: top; width: 2in; } } } .body { background: #fff; margin: 0.25em 0.5em; } } .centeredH { text-align: center; } .centeredV > * { vertical-align: middle; } .floatLeft { float: left; } .floatRight { float: right; } .inlineBlock { display: inline-block; } .pfLogo { background-image: url("http://paizo.com/image/content/Logos/PathfinderRPGLogo_500.jpeg"); background-size: 100%; display: inline-block; height: 1in; width: 4in; } .topStats { display: inline-block; width: 4.5in; } }