static/style.css: configure anchor and anchor hover styling
This commit is contained in:
parent
d8eec50530
commit
ae49705ff6
1 changed files with 23 additions and 8 deletions
|
@ -8,6 +8,29 @@
|
||||||
--code_background: var(--bg_dim);
|
--code_background: var(--bg_dim);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--accent);
|
||||||
|
/* actually i don't like how transitions look */
|
||||||
|
/* transition: 0.3s; */
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: var(--background) !important;
|
||||||
|
background-color: var(--accent) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.code-toolbar {
|
||||||
|
border: 1px solid var(--bg3);
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
background: var(--code_background);
|
||||||
|
}
|
||||||
|
|
||||||
|
.footnotes {
|
||||||
|
color: var(--faint_foreground);
|
||||||
|
}
|
||||||
|
|
||||||
/* note: grey0 is actually fg0 with 0.5 opacity over bg0, so the below footer css has no effect. however, i've decided
|
/* note: grey0 is actually fg0 with 0.5 opacity over bg0, so the below footer css has no effect. however, i've decided
|
||||||
* to write it this way because i prefer to not use opacity to create colours when possible, instead setting
|
* to write it this way because i prefer to not use opacity to create colours when possible, instead setting
|
||||||
* full-opacity explicit/unmodified colours. opacity is still used to create the dimmer hr in the footer.
|
* full-opacity explicit/unmodified colours. opacity is still used to create the dimmer hr in the footer.
|
||||||
|
@ -22,11 +45,3 @@
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.code-toolbar {
|
|
||||||
border: 1px solid var(--bg3);
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
|
||||||
background: var(--code_background);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue