X-Git-Url: https://git.yukkurigames.com/?p=heroik.git;a=blobdiff_plain;f=heroik.css;h=89678cd90999f96ffac38efc975250d4841b2bd0;hp=53f26fafb1c63d3cd65f9539118a5b64e5a71844;hb=HEAD;hpb=2288d6ec7230056c1c4da48ca54185bc0193ea8f diff --git a/heroik.css b/heroik.css index 53f26fa..89678cd 100644 --- a/heroik.css +++ b/heroik.css @@ -66,10 +66,6 @@ html { height: 100%; } -@media (max-width: 639px) { - html { font-size: 14px; } -} - body { background-color: black; min-height: 100%; @@ -77,10 +73,6 @@ body { box-sizing: border-box; } -body.standalone { - padding-top: 20px; -} - main { background-color: white; max-width: 25.2em; @@ -91,8 +83,12 @@ main { box-sizing: border-box; } -body.standalone main { - padding-top: 0.5em; +body.standalone header + main { + padding-top: 5em; +} + +body.standalone header:empty + main { + padding-top: 2em; } table { @@ -237,6 +233,8 @@ input[type=checkbox] { box-shadow: 0.125em 0.125em 0.25em 0.0625em #aaa; border: solid hsl(270, 30%, 85%) 1px; min-width: 6em; + height: 1.375em; + max-height: 1.375em; } .button.small { @@ -252,6 +250,15 @@ input[type=checkbox] { box-shadow: 0.0625em 0.0625em 0.0625em 0.0625em #888; } + +.standalone header .button { + box-shadow: 0 0 0.5em 0.0625em #aaa; +} + +.standalone header .button:active { + box-shadow: 0 0 0 0 #aaa; +} + main > div, main > noscript { text-align: center; margin-bottom: 1rem; @@ -280,7 +287,7 @@ select { box-shadow: 0.125em 0.125em 0.25em 0.0625em #aaa; transition: box-shadow 0.167s, border-color 0.167s; -webkit-transition: box-shadow 0.167s, border-color 0.167s; - text-align:-webkit-center !important; + text-align: center; font-weight: bold; } @@ -305,6 +312,16 @@ option { font-weight: normal; } +optgroup { + font-style: normal; + font-family: inherit; + text-align: center; +} + +optgroup + optgroup { + margin-top: 1px; +} + p, li { text-align: justify; -webkit-hyphens: auto; @@ -594,8 +611,8 @@ table { .card .flavor { position: absolute; bottom: 9%; - width: 80%; - left: 10%; + width: 70%; + left: 15%; font-style: italic; color: black; font-size: 0.6em; @@ -701,18 +718,27 @@ table { bottom: 1.8%; } -#statusbar { - display: none; - position: fixed; +header { left: 0; top: 0; right: 0; - height: 20px; - background-color: black; + margin: auto; + max-width: 25.2em; + background-color: white; + padding: 0.5em; + box-sizing: border-box; + z-index: 2; } -body.standalone #statusbar { - display: block; +body.standalone header:empty { + padding: 0; + padding-top: 20px; +} + +body.standalone header { + position: fixed; + padding-top: 20px; + background-color: black; } h1, h2, [onclick], label { @@ -727,17 +753,20 @@ h1, h2, [onclick], label { cursor: pointer; } -td:target { - font-weight: bold; +@media (max-width: 639px) { + html { font-size: 14px; } + header .button { + padding: 0 0.2em; + } } @media print { @page { - size: 3.5in 7in; + size: 85mm 170mm; margin: 0.5em; } - .no-print { + header, .no-print { display: none !important; }