diff options
| author | Dennis Fink | 2026-11-01 19:24:51 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-01 19:24:51 +0100 |
| commit | 84fd3fd4627818c4b26c512b5448151c68434265 (patch) | |
| tree | b86dad956e07eea6bfb5582bd1962e6e9cf99032 | |
| parent | 282427d2e3a338b040f7f4f57b1c0b85de272016 (diff) | |
| download | dennisfink.me-84fd3fd4627818c4b26c512b5448151c68434265.tar.gz dennisfink.me-84fd3fd4627818c4b26c512b5448151c68434265.zip | |
Apply gradient border to article table of contents
This replaces the solid table of contents border with the site's shared
gradient border, while preserving the existing background and rounded
corners.
| -rw-r--r-- | assets/static/css/style.css | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/assets/static/css/style.css b/assets/static/css/style.css index 675c6c0..a4185f8 100644 --- a/assets/static/css/style.css +++ b/assets/static/css/style.css @@ -579,7 +579,10 @@ article { /* --- TOC --- */ & > nav { - border: 1px solid var(--foreground); + background: + linear-gradient(var(--background), var(--background)) padding-box, + var(--gradient-border) border-box; + border: 1px solid transparent; border-radius: var(--default-border-radius); font-size: 1rem; line-height: 1.4; |
