summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-02-06 15:17:08 +0800
committerEltrac <hi@guhub.cn>2025-02-06 15:17:08 +0800
commitc9a655a4b4bb59d7d01fc40d3d3ba978156a0741 (patch)
tree54a09b3beb13dbff89f474ec5b97b16ed05e1f59 /assets/css
parent0e59047a93ec981360187b0cefa1c65d9af1af32 (diff)
refactor: better <details> style on Safari
Former-commit-id: 2089b11533ed0a630cb8ce8ff34d72fd24549b37
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/components/_pages.scss23
1 files changed, 11 insertions, 12 deletions
diff --git a/assets/css/components/_pages.scss b/assets/css/components/_pages.scss
index e3c9657b..fc94c1b2 100644
--- a/assets/css/components/_pages.scss
+++ b/assets/css/components/_pages.scss
@@ -264,20 +264,19 @@ section.taxonomy {
}
.posts-month-archive {
- details, summary {
- appearance: none;
- list-style-type: none;
- -webkit-appearance: none;
- &::marker { display: none }
- }
- .posts-month-title {
- font-size: 1.1rem;
+ summary {
+ display: flex;
+ align-items: center;
border-bottom: 1px dashed var(--border-color);
- display: inline-block;
- width: 100%;
padding: 0.5rem 0.25rem;
- margin: 0;
- @include section-title;
+
+ .posts-month-title {
+ font-size: 1.1rem;
+ display: inline-block;
+ width: 100%;
+ margin: 0;
+ @include section-title;
+ }
}
}
}