patch link styling
keep ::before colors consistent and add new ::before content for # fragment links
This commit is contained in:
parent
f2ca738a57
commit
7d076e0742
1 changed files with 12 additions and 3 deletions
|
@ -83,10 +83,19 @@ a:visited {
|
|||
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: ". -> .";
|
||||
color: var(--foreground-color);
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue