From: Joe Wreschnig Date: Tue, 26 Aug 2014 22:42:16 +0000 (+0200) Subject: Terrible font hacks to get an outline. X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=0756f947172fd94da437d4269715811302f8e3e0;p=heroik.git Terrible font hacks to get an outline. --- diff --git a/heroik.css b/heroik.css index b291e97..013d5dc 100644 --- a/heroik.css +++ b/heroik.css @@ -432,31 +432,32 @@ table { position: absolute; color: white; text-align: center; - width: 76%; - border: solid white 0.06em; + width: 77%; + border: solid white 0.1em; border-radius: 0.4em; line-height: 1.6em; - height: 4.75%; - font-size: 0.8em; + height: 5.5%; + font-size: 0.85em; font-weight: bold; - left: 12%; - right: 12%; - top: 3.65%; - text-shadow: 0 0 0.333em black; + left: 11.5%; + right: 11.5%; + top: 3.5%; + box-sizing: border-box; + text-shadow: 0 0 0.5em black; } .card .type { color: black; letter-spacing: 0.05em; font-weight: bold; - text-shadow: -0.0354em -0.0354em white, - 0.0354em -0.0354em white, - -0.0354em 0.0354em white, - 0.0354em 0.0354em white, - 0.05em 0 white, - -0.05em 0 white, - 0 0.05em white, - 0 -0.05em white; + 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-align: left; margin: auto; position: absolute; @@ -505,7 +506,7 @@ table { display: inline-block; box-sizing: border-box; margin: 0.5em 0.05em; - box-shadow: 0 0 0.05em 0.04em black; + box-shadow: 0 0 0.05em 0.05em black; } .card .cost span:before {