docs - remove ugly blue in dark mode links

This commit is contained in:
Cody Glassman 2025-06-22 09:31:55 -07:00
parent 74c9da78d3
commit 8301dafad1
2 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,10 @@
#luadoc ul { list-style-type: disc; }
#luadoc li {list-style: bullet;}
#luadoc .function a:not(.toc-backref) {
font-weight: 500;
}
#content #luadoc dl.function dt:not(.sig):first-child {
border-bottom: 2px solid hsl(163.24deg 81.3% 74.1% / 30%);
background-color: hsl(155.69deg 27.84% 54.99% / 12%);

View File

@ -30,6 +30,8 @@
@media (prefers-color-scheme: dark) {
:root {
--background: 220 20% 7% !important;
--link: #ffffff;
--link-hover: #ffffff;
}
}
@ -46,6 +48,7 @@
/* Override link colors, default is foreground */
#content a:not(.toc-backref) {
color: var(--link);
font-weight: 600;
}
#content a:not(.toc-backref):hover, #content a:not(.toc-backref):focus {