From 1147a663e70aadb2578cbe601bc723d7cd939c5a Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sat, 30 Aug 2025 15:17:32 +0200 Subject: added non-content --- assets/_custom.scss | 113 ++++++++++++++++++++++++++++++++++++ assets/_defaults.scss | 63 ++++++++++++++++++++ assets/_fonts.scss | 13 +++++ assets/fonts/GFSDidot.otf | Bin 0 -> 166580 bytes assets/fonts/GFSDidotBold.otf | Bin 0 -> 99164 bytes assets/fonts/GFSDidotBoldItalic.otf | Bin 0 -> 141988 bytes assets/fonts/GFSDidotItalic.otf | Bin 0 -> 142668 bytes 7 files changed, 189 insertions(+) create mode 100644 assets/_custom.scss create mode 100644 assets/_defaults.scss create mode 100644 assets/_fonts.scss create mode 100644 assets/fonts/GFSDidot.otf create mode 100644 assets/fonts/GFSDidotBold.otf create mode 100644 assets/fonts/GFSDidotBoldItalic.otf create mode 100644 assets/fonts/GFSDidotItalic.otf (limited to 'assets') 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; + } +} + diff --git a/assets/_defaults.scss b/assets/_defaults.scss new file mode 100644 index 0000000..2d5cf25 --- /dev/null +++ b/assets/_defaults.scss @@ -0,0 +1,63 @@ +// Used in layout +$padding-1: 1px !default; +$padding-4: 0.25rem !default; +$padding-8: 0.5rem !default; +$padding-16: 1rem !default; + +$font-size-base: 16px !default; +$font-size-12: 0.75rem !default; +$font-size-14: 0.875rem !default; +$font-size-16: 1rem !default; + +$border-radius: $padding-4 !default; + +$body-font-weight: normal !default; + +$body-min-width: 20rem !default; +$container-max-width: 80rem !default; + +$menu-width: 16rem !default; +$toc-width: 16rem !default; + +$mobile-breakpoint: $menu-width + $body-min-width * 1.2 + $toc-width !default; + +$hint-colors: ( + info: #6bf, + warning: #fd6, + danger: #f66, +) !default; + +// Themes +@mixin theme-light { + --gray-100: #f8f9fa; + --gray-200: #e9ecef; + --gray-500: #adb5bd; + + --color-link: #0055bb; + --color-visited-link: #8440f1; + + --body-background: white; + --body-font-color: black; + + --icon-filter: none; + + --hint-color-info: #6bf; + --hint-color-warning: #fd6; + --hint-color-danger: #f66; +} + +@mixin theme-dark { + --gray-100: #2f2a2e; + --gray-200: #3f3a3e; + --gray-500: #5f5a5e; + + --color-link: #ac9c6d; + --color-visited-link: #ac9c6d; + + --body-background: #1f1a1e; + --body-font-color: #efedee; + + --hint-color-info: #6bf; + --hint-color-warning: #fd6; + --hint-color-danger: #f66; +} diff --git a/assets/_fonts.scss b/assets/_fonts.scss new file mode 100644 index 0000000..e844ebc --- /dev/null +++ b/assets/_fonts.scss @@ -0,0 +1,13 @@ +@font-face { + font-family: 'GFS Didot'; + src: local('GFS Didot') + url('/fonts/GFSDidot.otf') format('opentype'); + font-style: normal; + font-weight: normal; + font-display: swap; +} + +body { + font-family: 'GFS Didot', sans-serif; + font-size: 1.3em; +} diff --git a/assets/fonts/GFSDidot.otf b/assets/fonts/GFSDidot.otf new file mode 100644 index 0000000..2615034 Binary files /dev/null and b/assets/fonts/GFSDidot.otf differ diff --git a/assets/fonts/GFSDidotBold.otf b/assets/fonts/GFSDidotBold.otf new file mode 100644 index 0000000..8e0e383 Binary files /dev/null and b/assets/fonts/GFSDidotBold.otf differ diff --git a/assets/fonts/GFSDidotBoldItalic.otf b/assets/fonts/GFSDidotBoldItalic.otf new file mode 100644 index 0000000..0f9bb77 Binary files /dev/null and b/assets/fonts/GFSDidotBoldItalic.otf differ diff --git a/assets/fonts/GFSDidotItalic.otf b/assets/fonts/GFSDidotItalic.otf new file mode 100644 index 0000000..52dd180 Binary files /dev/null and b/assets/fonts/GFSDidotItalic.otf differ -- cgit v1.2.3