87 lines
1.1 KiB
CSS
87 lines
1.1 KiB
CSS
body {
background-color: #fff;
color: #333;
font-family: monospace;
font-size: 9pt;
margin: 0;
/*overflow: hidden;*/
padding: 0;
}
h2 {
font-size: 14pt;
margin: 0.5em 0;
}
#sidebar ul,
#sidebar ul li {
list-style: none;
margin: 0;
padding: 0;
}
#sidebar li:not(.n) {
display: none;
}
#sidebar {
background-color: inherit;
}
#sidebar a {
padding: 5px 3px 5px 10px;
}
#sidebar a {
display: block;
}
#sidebar a,
#items h2 a {
color: inherit;
}
#items {
padding: 0 15px;
}
body.noframe div#sidebar {
overflow: auto;
}
body.noframe div#items {
overflow: auto;
}
body.noframe div#items.nosidebar {
left: 0px;
}
body.frame {
overflow: auto;
}
body.frame #sidebar br {
display: none;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #000;
color: #bdbdbd;
}
a {
color: #56c8ff;
}
}
/* Positioning the sections */
body {
display: grid;
grid-template-areas: "random" "sidebar" "items";
}
#random {
grid-area: random;
margin: auto;
width: max-content;
}
#sidebar {
grid-area: sidebar;
}
#items {
grid-area: items;
}
p {
margin: 0.25rem 0;
}