aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/_main.scss15
1 files changed, 8 insertions, 7 deletions
diff --git a/assets/_main.scss b/assets/_main.scss
index 5cf81d0..05e5ef9 100644
--- a/assets/_main.scss
+++ b/assets/_main.scss
@@ -107,8 +107,10 @@ ul.pagination {
@include fixed;
}
- a {
+ a,
+ label {
color: inherit;
+ cursor: pointer;
word-wrap: break-word;
}
@@ -116,13 +118,12 @@ ul.pagination {
color: var(--color-link);
}
- a.collapsed {
- display: flex;
- justify-content: space-between;
+ input.toggle + label + ul {
+ display: none;
+ }
- &::after {
- content: "▸";
- }
+ input.toggle:checked + label + ul {
+ display: block;
}
}