diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-08-30 13:17:32 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-08-30 13:17:32 +0000 |
| commit | 1147a663e70aadb2578cbe601bc723d7cd939c5a (patch) | |
| tree | b5100d2031328be3cfd3e9ae62730436bd573e0f /assets/_custom.scss | |
| parent | added .gitignore (diff) | |
added non-content
Diffstat (limited to '')
| -rw-r--r-- | assets/_custom.scss | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/assets/_custom.scss b/assets/_custom.scss new file mode 100644 index 0000000..02ccf33 --- /dev/null +++ b/assets/_custom.scss @@ -0,0 +1,113 @@ +/* You can add custom styles oere. */ + +// @import "plugins/numbered"; +body { + font-family: 'GFS Didot', sans-serif; + font-size: 1.3em; +} + +.container { + margin: 0 auto; + max-width: 90%; +} + +aside nav { + display: flex; + flex-direction: column; + height: 100%; +} + +aside nav ul li { + margin: 0.5em; +} + +aside nav ul li a { + font-size: 1.2em; +} + +.book-brand { + padding-bottom:1em; + border-bottom: 1px solid #333; + + img { + height: 1.5em; + width: 1em; + } +} + +.book-search { + border: 1px solid; + border-radius: .25rem; +} + +.book-menu { + font-size: .775em; +} + +.menu-after { + margin-top: auto; + padding-top: 0.5em; + border-top: 1px solid #333; + + display: flex; + + .left, + .right { + margin-top: auto; + margin-right: auto; + } +} + +.book-menu-content { + border-right: 1px solid #333; +} + +.book-menu-content nav ul { + display: flex; + flex-direction: column; +} + +.book-page { + margin: 3em 0; + padding: 0 2em; +} + +.prev-next { + display: flex; + justify-content: space-between; + align-items: center; + font-size: 1.2em; +} + +.prev, +.next { + + h3 { + margin: 0; + padding: 0; + } + + a { + border: 1px solid #333; + background-color: #1d181c; + border-radius: 5px; + padding: .4em; + } +} + +.book-icon { + color: #efedee; +} + +@media screen and (max-width: 660px) +{ + body { + margin: 0; + padding: 0; + } + + .book-page { + padding: 0; + } +} + |
