nixos-config/docs/assets/scss/extend.scss
Gabriel Arazas 4d24fa51c3
docs/site: create initial version of the layout
It requires simpler modifications than I thought. Pretty interesting.
2023-07-08 19:59:23 +08:00

32 lines
414 B
SCSS

:root {
--gap: 1rem;
}
body {
display: grid;
grid-template-columns: [sidebar] 1fr [content] 3fr;
grid-gap: var(--gap);
overflow: hidden;
padding: 0;
margin: 0;
max-width: unset;
width: 100vw;
height: 100vh;
}
.book.sidebar {
padding: 0 var(--gap);
overflow-y: auto;
resize: horizontal;
}
.book.content {
padding: var(--gap);
overflow-y: auto;
}
article h1 {
font-size: 2rem;
}