summaryrefslogtreecommitdiffstats
path: root/static/css
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-15 18:50:09 -0700
committerAndrew Godwin2022-11-15 15:50:10 -0700
commit906ed2f27c9105dbd78f416930f1aa2b49497567 (patch)
tree9f15c9a90d0898859eabf09b4a789e130f0d5757 /static/css
parent2ef709b6421b238025276aa53bf1c3764696a660 (diff)
downloadtakahe-906ed2f27c9105dbd78f416930f1aa2b49497567.tar.gz
takahe-906ed2f27c9105dbd78f416930f1aa2b49497567.tar.bz2
takahe-906ed2f27c9105dbd78f416930f1aa2b49497567.zip
Add CW display
Diffstat (limited to 'static/css')
-rw-r--r--static/css/style.css27
1 files changed, 26 insertions, 1 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 9eaec2f..a7f3ef3 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -520,8 +520,33 @@ h1.identity small {
color: var(--color-text-duller);
}
+.post .summary {
+ margin: 12px 0 4px 64px;
+ padding: 3px 6px;
+ border-radius: 3px;
+ background: var(--color-bg-menu);
+ cursor: pointer;
+}
+
+.post .summary::before {
+ display: block;
+ font-weight: bold;
+ float: right;
+ content: "SHOW";
+ font-size: 80%;
+ padding: 2px 2px 2px 10px;
+}
+
+.post .summary.enabled::before {
+ content: "HIDE";
+}
+
.post .content {
- padding-left: 64px;
+ margin-left: 64px;
+}
+
+.post .content.hidden {
+ display: none;
}
.post .content p {