diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-11-07 12:54:18 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-11-07 12:54:18 +0100 |
commit | 143cb9341d0d50c69da9900b4e721db1b66606cd (patch) | |
tree | 820e859443a34bc97f9a6a9e3f61231ba3b46cd0 /assets | |
parent | b88206b14f5e90b454dcf8d3ac2b0662edf78302 (diff) |
Improve font rendering
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_markdown.scss | 4 | ||||
-rw-r--r-- | assets/_variables.scss | 2 | ||||
-rw-r--r-- | assets/book.scss | 7 |
3 files changed, 9 insertions, 4 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss index b0f7116..cb62a2f 100644 --- a/assets/_markdown.scss +++ b/assets/_markdown.scss @@ -16,7 +16,7 @@ $block-border-radius: 0.15rem; } b, optgroup, strong { - font-weight: 400; + font-weight: 700; } a { @@ -28,7 +28,7 @@ $block-border-radius: 0.15rem; } code { - font-family: 'Roboto Mono', monospace; + font-family: 'Oxygen Mono', monospace; } p code { diff --git a/assets/_variables.scss b/assets/_variables.scss index 19482f1..ced71e2 100644 --- a/assets/_variables.scss +++ b/assets/_variables.scss @@ -21,7 +21,7 @@ $gray-800: #343a40; $gray-900: #212529; $black: #000; -$color-link: #4092f1; +$color-link: #004ed0; $color-visited-link: #8440f1; $body-background: white; diff --git a/assets/book.scss b/assets/book.scss index 350fc52..56fdc9d 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -4,7 +4,7 @@ html { font-size: $font-size-base; - letter-spacing: .3px; + letter-spacing: .33px; } html, body { @@ -15,9 +15,14 @@ html, body { body { color: $body-font-color; background: $body-background; + font-family: 'Oxygen', sans-serif; font-weight: $body-font-weight; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + box-sizing: border-box; * { box-sizing: inherit; |