From: Joe Wreschnig Date: Wed, 27 Aug 2014 09:31:34 +0000 (+0200) Subject: Minor improvements to card typography, still hacky. X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=fd1a99b3c704f04f9c8a3b7b27631fe84a78a2f6;p=heroik.git Minor improvements to card typography, still hacky. --- diff --git a/cards.html b/cards.html index f1a9965..b720e23 100644 --- a/cards.html +++ b/cards.html @@ -63,7 +63,7 @@
Conqueror's Sword
-
Weapon - Unique
+
Weapon, Unique
diff --git a/heroik.css b/heroik.css index e9eea8c..6884d5e 100644 --- a/heroik.css +++ b/heroik.css @@ -176,6 +176,7 @@ h1 { border-bottom: solid hsl(270, 25%, 50%) 0.0625em; line-height: 0.8em; font-weight: normal; + letter-spacing: -0.02em; text-shadow: -1px 0 black, 1px 0 black, 0 1px black, 0 -1px black, -0.707px -0.707px black, 0.707px 0.707px black, @@ -385,15 +386,10 @@ table { .card { display: block; - position: relative; width: 20em; height: 27.1875em; font-size: 88.275%; -/* width: 64mm; - height: 87mm; - font-size: 9pt;*/ - margin: auto; margin: 0.5em auto; z-index: 1; } @@ -440,26 +436,32 @@ table { line-height: 1.6em; height: 5.5%; font-size: 0.85em; - font-weight: bold; left: 11.5%; right: 11.5%; top: 3.5%; box-sizing: border-box; - text-shadow: 0 0 0.5em black; + text-shadow: -1px -1px rgba(0, 0, 0, 0.75), + 1px -1px rgba(0, 0, 0, 0.75), + -1px 1px rgba(0, 0, 0, 0.75), + 1px 1px rgba(0, 0, 0, 0.75), + 1px 0 black, + -1px 0 black, + 0 1px black, + 0 -1px black; } .card .type { color: black; letter-spacing: 0.05em; font-weight: bold; - text-shadow: -0.0707em -0.0707em rgba(255, 255, 255, 0.7), - 0.0707em -0.0707em rgba(255, 255, 255, 0.7), - -0.0707em 0.0707em rgba(255, 255, 255, 0.7), - 0.0707em 0.0707em rgba(255, 255, 255, 0.7), - 0.1em 0 rgba(255, 255, 255, 0.7), - -0.1em 0 rgba(255, 255, 255, 0.7), - 0 0.1em rgba(255, 255, 255, 0.7), - 0 -0.1em rgba(255, 255, 255, 0.7); + 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; text-align: left; margin: auto; position: absolute; @@ -565,6 +567,8 @@ table { line-height: 1.05em; } +.card .flavor:before { content: "«"; } +.card .flavor:after { content: "»"; } .card .flavor { position: absolute; bottom: 9%; @@ -639,13 +643,19 @@ td:target { main { max-width: 3.5in; } + + .card { + width: 64mm; + height: 87mm; + font-size: 9pt; + page-break-inside: avoid; + } } -@media screen and (-webkit-min-device-pixel-ratio:0) { +@media all and (-webkit-min-device-pixel-ratio:0) { h1 { text-shadow: none; - -webkit-text-stroke: 1px black; - latter-spacing: -1px; + -webkit-text-stroke: 0.02em black; } .broken-on-webkit { diff --git a/heroik.html b/heroik.html index 939badf..ee1f7fd 100644 --- a/heroik.html +++ b/heroik.html @@ -70,7 +70,7 @@
Variants Abilities - Promo Cards + More Cards Fate Events

Acknowledgments