1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-08 14:16:44 +00:00

docs - less blue dark

This commit is contained in:
Cody Glassman 2025-06-22 09:54:11 -07:00
parent 8301dafad1
commit ce8f81a6a7
2 changed files with 11 additions and 5 deletions

View file

@ -62,8 +62,8 @@
}
#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%);
border-bottom: 2px solid hsl(var(--muted) / 50%);
background-color: hsl(var(--muted));
padding: 6px;
}
@ -73,8 +73,8 @@
@media (prefers-color-scheme: dark) {
#content #luadoc dl.function dt:not(.sig):first-child {
border-bottom: 2px solid hsl(163.24deg 81.3% 74.1% / 20%);
background-color: hsl(155.69deg 27.84% 54.99% / 8%);
border-bottom: 2px solid hsl(var(--accent) / 50%);
background-color: hsl(var(--accent));
}
}

View file

@ -29,7 +29,13 @@
/* Less aggressive dark background */
@media (prefers-color-scheme: dark) {
:root {
--background: 220 20% 7% !important;
/* These were not overriding without important when deploying to RTD */
--background: 220 14% 9% !important;
--border: 216 14% 17% !important;
--accent: 216 14% 17% !important;
--input: 216 14% 17% !important;
--muted: 223 27% 14% !important;
--link: #ffffff;
--link-hover: #ffffff;
}