mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
59597628cb
* show Nix logo in the manual the location of files is hard-coded by mdBook. there is also seems to be no way to define custom templates, therefore all styling has to be done in the CSS override. Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
34 lines
440 B
CSS
34 lines
440 B
CSS
:root {
|
|
--sidebar-width: 23em;
|
|
}
|
|
|
|
h1.menu-title::before {
|
|
content: "";
|
|
background-image: url("./favicon.svg");
|
|
padding: 1.25em;
|
|
background-position: center center;
|
|
background-size: 2em;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
|
|
h1.menu-title {
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.sidebar .sidebar-scrollbox {
|
|
padding: 1em;
|
|
}
|
|
|
|
h1:not(:first-of-type) {
|
|
margin-top: 1.3em;
|
|
}
|
|
|
|
h2 {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.hljs-meta {
|
|
user-select: none;
|
|
}
|