From 3579b27852442b9a1cf611054a8b2d6da5d43da0 Mon Sep 17 00:00:00 2001 From: daudix Date: Sun, 22 Sep 2024 06:52:15 +0300 Subject: [PATCH] Tweak styling of details --- CHANGELOG.md | 1 + sass/_typography.scss | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 895b5ae..d2ff6b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - More visually interesting paginator. - Move paginator from `articles.html` to `article-list.html`. +- Tweak styling of `details`. ## [5.1.0](https://codeberg.org/daudix/duckquill/compare/v5.0.0...v5.1.0) diff --git a/sass/_typography.scss b/sass/_typography.scss index 386a9a7..d13df83 100644 --- a/sass/_typography.scss +++ b/sass/_typography.scss @@ -226,10 +226,13 @@ details { box-shadow: var(--edge-highlight); border-radius: var(--rounded-corner); background-color: var(--fg-muted-1); - padding: 0.875rem 1rem; + padding: 1rem; summary { cursor: pointer; + color: var(--fg-muted-5); + font-weight: bold; + line-height: 1; list-style: none; &::marker, @@ -272,6 +275,7 @@ details { } } + figure { margin-inline: 0; }