From 9042975e28a6c202526af2c73075acdf09ba720e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Mon, 31 Aug 2015 12:35:03 +0800 Subject: [PATCH] Allow indication for spoiler --- botanjs/src/Astro/Blog/Components/Spoiler.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/botanjs/src/Astro/Blog/Components/Spoiler.css b/botanjs/src/Astro/Blog/Components/Spoiler.css index 463ff17..c0c162f 100644 --- a/botanjs/src/Astro/Blog/Components/Spoiler.css +++ b/botanjs/src/Astro/Blog/Components/Spoiler.css @@ -14,7 +14,15 @@ } .spoiler .title[clicked] { - opacity: 0.5; + opacity: 0.8; +} + +.spoiler .title:before { + padding-right: 0.5em; + content: "\25BC"; +} +.spoiler .title[clicked]:before { + content: "\25B2"; } .spoiler .content {