From 2844b58dda3488fa6ea486f881d7c6cecbf48337 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 6 Jun 2023 15:11:49 +0200 Subject: [PATCH] use roboto slab as serif font & for headers --- main/_layouts/default.html | 1 + main/style/book.css | 6 ++---- main/style/style.css | 4 ++++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/main/_layouts/default.html b/main/_layouts/default.html index ac05344..a5274ff 100644 --- a/main/_layouts/default.html +++ b/main/_layouts/default.html @@ -12,6 +12,7 @@ + diff --git a/main/style/book.css b/main/style/book.css index e782985..f9a842d 100644 --- a/main/style/book.css +++ b/main/style/book.css @@ -3,7 +3,7 @@ } .post-content { - font-family: "Georgia", serif; + font-family: "Roboto Slab", serif; text-align: justify; margin-bottom: 2em; } @@ -21,7 +21,7 @@ } .post-content hr::before { - content: '***'; + content: "***"; display: block; text-align: center; font-weight: bold; @@ -33,8 +33,6 @@ .list-display h4, .list-display h5, .list-display h6 { - text-align: left; - font-family: sans-serif; font-variant: small-caps; } diff --git a/main/style/style.css b/main/style/style.css index a991571..3c0b2cf 100644 --- a/main/style/style.css +++ b/main/style/style.css @@ -11,6 +11,10 @@ body { margin-bottom: 100px; } +h1, h2, h3, h4, h5, h6, .nav-item { + font-family: "Roboto Slab", serif; +} + .main { margin-top: 20px; margin-bottom: 40px;