From 6ae6076f0d95da877cd2ef68d8c6e7d1903a42cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8A=E3=81=8D=E8=90=8C?= Date: Mon, 15 Sep 2025 23:22:06 +0200 Subject: [PATCH] fixing feed link underline after CSS tweaks --- static/css/main.css | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index a6610ba..0a4bb77 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -384,11 +384,14 @@ h3, h4, h5, h6 { - & > a, - & > a:visited { + & > a { color: var(--text-color); text-decoration: none; + &:visited { + color: var(--text-color); + } + &:hover { text-decoration: underline; } @@ -402,8 +405,7 @@ h6 { h4, h5, h6 { - & > a, - & > a:visited { + & > a { text-decoration: underline; } } @@ -533,17 +535,17 @@ section.feed { /* Titles */ & h2 { - & a, - & a:visited { + & a { color: var(--text-color); - } + text-decoration: underline; - & a:visited { - color: color-mix( - in srgb, - var(--background-color), - var(--text-color) 60% - ); + &:visited { + color: color-mix( + in srgb, + var(--background-color), + var(--text-color) 60% + ); + } } }