diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-02-19 15:48:15 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-02-19 15:48:15 +0100 |
commit | 002c73a3d97be81d7de6ba515da0da7f6f2c9b3d (patch) | |
tree | f67c77497628bf83210c5dd3a7288c4da968a277 /themes/ymherklotz/static/css/default.css | |
parent | 39dc502a2e6cd9cb5d6765984e4024918b12c50d (diff) | |
download | yannherklotz.com-002c73a3d97be81d7de6ba515da0da7f6f2c9b3d.tar.gz yannherklotz.com-002c73a3d97be81d7de6ba515da0da7f6f2c9b3d.zip |
Remove unnecessary fonts and add service
Diffstat (limited to 'themes/ymherklotz/static/css/default.css')
-rw-r--r-- | themes/ymherklotz/static/css/default.css | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/themes/ymherklotz/static/css/default.css b/themes/ymherklotz/static/css/default.css index 93e081b..4c74bc5 100644 --- a/themes/ymherklotz/static/css/default.css +++ b/themes/ymherklotz/static/css/default.css @@ -1,7 +1,5 @@ -@import url('https://fonts.googleapis.com/css?family=Alegreya|Alegreya+Sans&display=swap'); - html { - font-family: 'Alegreya', serif; + font-family: 'EBGaramond', serif; } body { @@ -88,7 +86,7 @@ h3 { code { font-family: 'Iosevka Web', monospace; - font-size: 1rem; + font-size: 16px; } pre { @@ -143,12 +141,17 @@ th, td { text-align: center; } -.first-letter { +article > p:first-of-type:first-letter { float: left; - line-height: 0.8; - margin-right: 10px; - font-weight: bold; - font-size: 6rem; + line-height: 1; + padding-right: 5px; + margin: 0 auto; + font-family: 'EBGaramond-Init', 'EBGaramond', serif; + font-size: 5.15em; +} + +article > p:first-of-type:first-line { + font-family: 'EBGaramond-SC', 'EBGaramond', serif; } .heading-anchor1 { |