commit 9042975e28a6c202526af2c73075acdf09ba720e
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2015-08-31T04:35:03Z |
| subject | Allow indication for spoiler |
commit 9042975e28a6c202526af2c73075acdf09ba720e
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2015-08-31T04:35:03Z
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 {