diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-06 15:17:08 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-06 15:17:08 +0800 |
| commit | 2089b11533ed0a630cb8ce8ff34d72fd24549b37 (patch) | |
| tree | 0a70d28505f58d2ec51cc06109c302b248f833b4 /assets | |
| parent | 3516f80c7829fea3394a28ca2a8497dd8e57bef3 (diff) | |
refactor: better <details> style on Safari
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/components/_pages.scss | 23 |
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; + } } } } |
