summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/_custom.scss113
-rw-r--r--assets/_defaults.scss63
-rw-r--r--assets/_fonts.scss13
-rw-r--r--assets/fonts/GFSDidot.otfbin0 -> 166580 bytes
-rw-r--r--assets/fonts/GFSDidotBold.otfbin0 -> 99164 bytes
-rw-r--r--assets/fonts/GFSDidotBoldItalic.otfbin0 -> 141988 bytes
-rw-r--r--assets/fonts/GFSDidotItalic.otfbin0 -> 142668 bytes
7 files changed, 189 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;
+ }
+}
+
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
--- /dev/null
+++ b/assets/fonts/GFSDidot.otf
Binary files differ
diff --git a/assets/fonts/GFSDidotBold.otf b/assets/fonts/GFSDidotBold.otf
new file mode 100644
index 0000000..8e0e383
--- /dev/null
+++ b/assets/fonts/GFSDidotBold.otf
Binary files differ
diff --git a/assets/fonts/GFSDidotBoldItalic.otf b/assets/fonts/GFSDidotBoldItalic.otf
new file mode 100644
index 0000000..0f9bb77
--- /dev/null
+++ b/assets/fonts/GFSDidotBoldItalic.otf
Binary files differ
diff --git a/assets/fonts/GFSDidotItalic.otf b/assets/fonts/GFSDidotItalic.otf
new file mode 100644
index 0000000..52dd180
--- /dev/null
+++ b/assets/fonts/GFSDidotItalic.otf
Binary files differ
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.