mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-10 04:46:08 -04:00
docs - remove ugly blue in dark mode links
This commit is contained in:
parent
74c9da78d3
commit
8301dafad1
@ -57,6 +57,10 @@
|
|||||||
#luadoc ul { list-style-type: disc; }
|
#luadoc ul { list-style-type: disc; }
|
||||||
#luadoc li {list-style: bullet;}
|
#luadoc li {list-style: bullet;}
|
||||||
|
|
||||||
|
#luadoc .function a:not(.toc-backref) {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
#content #luadoc dl.function dt:not(.sig):first-child {
|
#content #luadoc dl.function dt:not(.sig):first-child {
|
||||||
border-bottom: 2px solid hsl(163.24deg 81.3% 74.1% / 30%);
|
border-bottom: 2px solid hsl(163.24deg 81.3% 74.1% / 30%);
|
||||||
background-color: hsl(155.69deg 27.84% 54.99% / 12%);
|
background-color: hsl(155.69deg 27.84% 54.99% / 12%);
|
||||||
|
@ -30,6 +30,8 @@
|
|||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
--background: 220 20% 7% !important;
|
--background: 220 20% 7% !important;
|
||||||
|
--link: #ffffff;
|
||||||
|
--link-hover: #ffffff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,6 +48,7 @@
|
|||||||
/* Override link colors, default is foreground */
|
/* Override link colors, default is foreground */
|
||||||
#content a:not(.toc-backref) {
|
#content a:not(.toc-backref) {
|
||||||
color: var(--link);
|
color: var(--link);
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content a:not(.toc-backref):hover, #content a:not(.toc-backref):focus {
|
#content a:not(.toc-backref):hover, #content a:not(.toc-backref):focus {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user