aboutsummaryrefslogtreecommitdiff
path: root/assets/book.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-07 12:54:18 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-07 12:54:18 +0100
commit143cb9341d0d50c69da9900b4e721db1b66606cd (patch)
tree820e859443a34bc97f9a6a9e3f61231ba3b46cd0 /assets/book.scss
parentb88206b14f5e90b454dcf8d3ac2b0662edf78302 (diff)
Improve font rendering
Diffstat (limited to 'assets/book.scss')
-rw-r--r--assets/book.scss7
1 files changed, 6 insertions, 1 deletions
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;