From 021afeb4a0d3993c25fae3a88f11cd30325179d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20Schl=C3=BCter?= Date: Sun, 8 Feb 2015 11:42:53 +0100 Subject: [PATCH] Make sure the category legend is always readable --- static/css/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/css/style.css b/static/css/style.css index 96554a8..a7828d8 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -78,7 +78,7 @@ body { text-decoration: none; color: #333; padding: 6px; - text-shadow: 0 0 20px 20px rgba(255,255,255,.8); + text-shadow: 0 0 0.1em white, 0 0 0.1em white, 0 0 0.1em white, 0 0 0.2em white, 0 0 0.2em white, 0 0 0.2em white, 0 0 0.3em white, 0 0 0.6em white; position: relative; } @@ -89,10 +89,12 @@ body { height: 9px; border-radius: 50%; border: 2px solid #f00; + background: #fff; position: absolute; top: 50%; left: -.5em; margin-top: -4.5px; + box-shadow: 0 0 0.1em white, 0 0 0.1em white, 0 0 0.1em white, 0 0 0.2em white, 0 0 0.2em white, 0 0 0.2em white, 0 0 0.3em white, 0 0 0.6em white; } .category-filter .racism a:after {