dream2nix/modules/flake-parts/site/flake-parts.css

28 lines
575 B
CSS
Raw Normal View History

2023-10-10 17:18:09 +03:00
h1.menu-title::before {
content: "";
display: inline-block;
background-image: url(./favicon.png);
2023-10-10 17:18:09 +03:00
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;
}
2023-10-23 22:13:06 +03:00
.hljs {
background-color: #f6f7f6;
}
@media (prefers-color-scheme: dark) {
.hljs {
background-color: #1d1f21;
}
}