summaryrefslogtreecommitdiff
path: root/assets/book.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-05-22 09:08:15 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-05-22 09:08:15 +0200
commit612814aa595fd31df6cab4d4ace917257d62ca3f (patch)
tree1b3830d42781e211a884539a761b0611c55c6aad /assets/book.scss
parente4a97bee27c75110d983791b620dce677c44897f (diff)
Add font-display for font fallback, move body font style to _fonts.scss
Diffstat (limited to 'assets/book.scss')
-rw-r--r--assets/book.scss17
1 files changed, 10 insertions, 7 deletions
diff --git a/assets/book.scss b/assets/book.scss
index d0d8c19..350088d 100644
--- a/assets/book.scss
+++ b/assets/book.scss
@@ -2,7 +2,6 @@
@import "variables";
@import "markdown";
@import "utils";
-@import "fonts";
html {
font-size: $font-size-base;
@@ -19,8 +18,8 @@ body {
body {
color: $body-font-color;
background: $body-background;
-
- font-family: "Oxygen",sans-serif;
+
+ font-family: sans-serif;
font-weight: $body-font-weight;
text-rendering: optimizeLegibility;
@@ -68,7 +67,7 @@ aside nav ul {
}
a:hover {
- opacity: .5;
+ opacity: 0.5;
}
ul {
@@ -111,8 +110,9 @@ ul.pagination {
.book-section-flat {
margin-bottom: $padding-16 * 2;
- > a, > span {
- font-weight: 600
+ > a,
+ > span {
+ font-weight: 600;
}
> ul {
@@ -238,5 +238,8 @@ aside nav,
}
}
+// Add fonts
+@import "fonts";
+
// Add custom defined styles
-@import 'custom'
+@import "custom";