fixing feed link underline after CSS tweaks

This commit is contained in:
りき萌 2025-09-15 23:22:06 +02:00
parent e4e21fe7e0
commit 6ae6076f0d

View file

@ -384,11 +384,14 @@ h3,
h4, h4,
h5, h5,
h6 { h6 {
& > a, & > a {
& > a:visited {
color: var(--text-color); color: var(--text-color);
text-decoration: none; text-decoration: none;
&:visited {
color: var(--text-color);
}
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
} }
@ -402,8 +405,7 @@ h6 {
h4, h4,
h5, h5,
h6 { h6 {
& > a, & > a {
& > a:visited {
text-decoration: underline; text-decoration: underline;
} }
} }
@ -533,17 +535,17 @@ section.feed {
/* Titles */ /* Titles */
& h2 { & h2 {
& a, & a {
& a:visited {
color: var(--text-color); color: var(--text-color);
} text-decoration: underline;
& a:visited { &:visited {
color: color-mix( color: color-mix(
in srgb, in srgb,
var(--background-color), var(--background-color),
var(--text-color) 60% var(--text-color) 60%
); );
}
} }
} }