From 84fd3fd4627818c4b26c512b5448151c68434265 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 1 Nov 2026 19:24:51 +0100 Subject: 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. --- assets/static/css/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'assets') 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; -- cgit v1.3.1