dream2nix/website/style.css
DavHau 2fc4ef33cc docs: overhaul reference documentation pipeline
- use nixosOptionsDoc commonMark output
- simplify a lot of things
- redesign towards a future generic standalon nixosOptionsWebsite function
2024-04-05 19:42:14 +07:00

32 lines
655 B
CSS

h1.menu-title::before {
content: "";
display: inline-block;
background-image: url(./favicon.png);
background-repeat: no-repeat;
background-size: contain;
width: 1.8ex;
height: 1.8ex;
margin-right: 0.9ex;
vertical-align: middle;
}
.light {
--links: #058;
--sidebar-active: #0af;
}
.sidebar .sidebar-scrollbox {
/* We don't use numbers, so we can take a consistent amount of space */
padding: var(--page-padding) !important;
}
.hljs {
background-color: #f6f7f6;
}
@media (prefers-color-scheme: dark) {
.hljs {
background-color: #1d1f21;
}
}
/* prevents chapters without links to be grey */
.chapter li {
color: #000;
}