Make style + layout easier to read

This commit is contained in:
Fabian Bläse 2022-12-01 19:54:15 +01:00 committed by Gitea
parent cc6ff9bae0
commit 325ca42a21
1 changed files with 37 additions and 0 deletions

37
assets/_custom.scss Normal file
View File

@ -0,0 +1,37 @@
.book-page {
box-shadow: 0px -1.5rem 1.5rem rgba(0, 0, 0, 0.15);
padding-left: 2rem;
padding-right: 2rem;
}
.book-menu .book-menu-content {
padding-right: 1.5rem;
}
.book-toc .book-toc-content {
padding-left: 1.5rem;
}
.markdown h1 {
font-weight: bold;
}
.markdown h2 {
margin-top: 1.5em;
font-weight: bold;
font-size: 1.7em;
}
.markdown h3 {
margin-top: 1.5em;
font-weight: bold;
font-size: 1.25em;
}
.container {
max-width: 90rem;
}
summary:focus {
outline: none;
}