1
Fork 0
mirror of https://github.com/glassflame/glassflame.github.io.git synced 2024-11-22 08:04:27 +00:00

Better wikilinks style

This commit is contained in:
Steffo 2023-11-06 18:00:23 +01:00
parent 03474556c2
commit c422e4db85
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -92,17 +92,26 @@ blockquote {
text-align: center;
}
.wikilink {
a, .wikilink {
color: color-mix(in srgb, var(--color-accent) 50%, transparent);
text-decoration: underline 1px dashed color-mix(in srgb, var(--color-accent) 50%, transparent);
}
.wikilink[href] {
a[href], .wikilink[href] {
color: var(--color-accent);
text-decoration: underline 1px solid var(--color-accent);
cursor: pointer;
}
.wikilink.wikilink-heading {
a[href]:hover, .wikilink[href]:hover {
color: color-mix(in srgb, var(--color-accent) 50%, var(--color-foreground));
text-decoration: underline 1px solid color-mix(in srgb, var(--color-accent) 50%, var(--color-foreground));
}
h1 a, .wikilink.wikilink-heading {
color: var(--color-foreground);
}
h1 a:hover, .wikilink.wikilink-heading:hover {
color: var(--color-foreground);
}