patch link styling

keep ::before colors consistent and add new ::before content for # fragment links
This commit is contained in:
sorrel 2024-03-02 11:36:01 -05:00
parent f2ca738a57
commit 7d076e0742

View file

@ -83,10 +83,19 @@ a:visited {
text-decoration-color: var(--link-color); text-decoration-color: var(--link-color);
} }
a:not(.ascii a):not(a[hx-get*="hx"])::before { a:not(.ascii a):not(a[hx-get*="hx"]):not(a[href*="#"])::before {
content: ". -> . "; content: ". -> .";
color: var(--foreground-color);
font-weight: 900; font-weight: 900;
display: inline-block;
padding-right: .5em;
}
a[href*="#"] {
content: "↓";
font-weight: 900;
font-size: larger;
display: inline-block;
padding-right: .5em;
} }
body { body {