X-Git-Url: https://git.yukkurigames.com/?p=heroik.git;a=blobdiff_plain;f=heroik.css;h=d58402fe13bc39ba4289081ac024d0d2aaba54e8;hp=c969f8ee094dbcb1023c90823bfe47dc5baecd1f;hb=74bdf0efe7106779b80e687e1c33f2e3f816ce08;hpb=9fba75b4a96cc5578bf1da2e436b56c2dcfdfe7c diff --git a/heroik.css b/heroik.css index c969f8e..d58402f 100644 --- a/heroik.css +++ b/heroik.css @@ -280,7 +280,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 +305,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; @@ -394,7 +404,6 @@ table { z-index: 1; } - .card:after { content: ''; display: block; @@ -618,6 +627,90 @@ table { 0 -0.06667em black; } + +.card.dungeon { + height: 17.5841em; + width: 25em; +} + +.card.dungeon:after { + background-image: url(dungeon.jpg); +} + +.card.final .name, .card.final .type { + background-color: #832b22; +} + +.card.dungeon .name { + position: absolute; + color: #e3f902; + top: 2%; + height: 7.5%; +} + +.card.dungeon .type { + color: #e3f902; + left: 2.25%; + right: 2.25%; + width: 95.5%; + height: 4.5%; + top: 74%; + text-shadow: -0.707px -0.707px rgba(0, 0, 0, 0.75), + 0.707px -0.707px rgba(0, 0, 0, 0.75), + -0.707px 0.707px rgba(0, 0, 0, 0.75), + 0.707px 0.707px rgba(0, 0, 0, 0.75), + 1px 0 black, + -1px 0 black, + 0 1px black, + 0 -1px black; +} + +.card.dungeon .power img { + max-height: 1.5em; + vertical-align: bottom; +} +.card.dungeon .power { + font-size: 0.85em; + position: absolute; + top: 67%; + height: 1em; + color: white; + left: 68%; + width: 15%; + text-align: center; + text-shadow: -0.707px -0.707px rgba(0, 0, 0, 0.75), + 0.707px -0.707px rgba(0, 0, 0, 0.75), + -0.707px 0.707px rgba(0, 0, 0, 0.75), + 0.707px 0.707px rgba(0, 0, 0, 0.75), + 1px 0 black, + -1px 0 black, + 0 1px black, + 0 -1px black; +} + +.card.dungeon .effect { + color: #e30000; + text-shadow: -0.707px -0.707px rgba(255, 255, 255, 0.75), + 0.707px -0.707px rgba(255, 255, 255, 0.75), + -0.707px 0.707px rgba(255, 255, 255, 0.75), + 0.707px 0.707px rgba(255, 255, 255, 0.75), + 1px 0 white, + -1px 0 white, + 0 1px white, + 0 -1px white; + font-size: 0.55em; + top: 83%; + left: 5%; + right: 5%; + width: 90%; + font-weight: bold; +} + +.card.dungeon .code { + right: 4%; + bottom: 1.8%; +} + #statusbar { display: none; position: fixed; @@ -644,10 +737,6 @@ h1, h2, [onclick], label { cursor: pointer; } -td:target { - font-weight: bold; -} - @media print { @page {