From a2fd94a83e106fb710e0ba5dd9fe4a4f22726b19 Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 31 Aug 2015 16:41:25 -0400 Subject: [PATCH] add spoiler css --- contrib/static/site.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/contrib/static/site.css b/contrib/static/site.css index 5720b30..25b32fa 100644 --- a/contrib/static/site.css +++ b/contrib/static/site.css @@ -149,6 +149,20 @@ body { font-weight: bold; } +.spoiler { + display: inline-block; +} + +.spoiler > p { + background: black; + color: black; +} + +.spoiler:hover > p { + background: black; + color: white; +} + .intro { margin-bottom: 0.75em; }