Terrible font hacks to get an outline.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 26 Aug 2014 22:42:16 +0000 (00:42 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 26 Aug 2014 22:42:16 +0000 (00:42 +0200)
heroik.css

index b291e97ffd3087bccdbfc8eb798928075c0e63ef..013d5dc54dea0539ac22208b7c4b70781c08ded8 100644 (file)
@@ -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 {