diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-05-04 14:53:39 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-05-04 14:53:39 +0100 |
commit | f1b2d11a3247a3b984a281c18cb1f921e4c47060 (patch) | |
tree | b6ea6c9f9c22303f2207949548630264e3df0fae /themes | |
parent | e66e492ca50fe1dc839fda9b3eec360e1c1ea04c (diff) | |
download | yannherklotz.com-f1b2d11a3247a3b984a281c18cb1f921e4c47060.tar.gz yannherklotz.com-f1b2d11a3247a3b984a281c18cb1f921e4c47060.zip |
Subdue the color and fix the CSS
Diffstat (limited to 'themes')
-rw-r--r-- | themes/ymherklotz/layouts/partials/head.html | 1 | ||||
-rw-r--r-- | themes/ymherklotz/static/css/blog.css | 11 | ||||
-rw-r--r-- | themes/ymherklotz/static/css/colours.css | 2 | ||||
-rw-r--r-- | themes/ymherklotz/static/css/default.css | 24 |
4 files changed, 20 insertions, 18 deletions
diff --git a/themes/ymherklotz/layouts/partials/head.html b/themes/ymherklotz/layouts/partials/head.html index 8d6b33a..e1a9962 100644 --- a/themes/ymherklotz/layouts/partials/head.html +++ b/themes/ymherklotz/layouts/partials/head.html @@ -26,6 +26,7 @@ <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax_dark.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/colours.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/default.css" /> + {{ if .IsPage }}<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/blog.css" />{{ end }} <link rel="preload" href="{{ .Site.BaseURL }}/fonts/woff2/iosevka-extrabold.woff2"> </head> diff --git a/themes/ymherklotz/static/css/blog.css b/themes/ymherklotz/static/css/blog.css index d09b02f..5d44281 100644 --- a/themes/ymherklotz/static/css/blog.css +++ b/themes/ymherklotz/static/css/blog.css @@ -1,7 +1,8 @@ -article > p:first-of-type::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: 75px; } diff --git a/themes/ymherklotz/static/css/colours.css b/themes/ymherklotz/static/css/colours.css index 12f6529..4e64bb0 100644 --- a/themes/ymherklotz/static/css/colours.css +++ b/themes/ymherklotz/static/css/colours.css @@ -8,7 +8,7 @@ body { } a { - color: #00c266; + color: #00A659; } a:hover { diff --git a/themes/ymherklotz/static/css/default.css b/themes/ymherklotz/static/css/default.css index 09d8232..40b633a 100644 --- a/themes/ymherklotz/static/css/default.css +++ b/themes/ymherklotz/static/css/default.css @@ -133,18 +133,18 @@ th, td { text-align: center; } -article > p:first-of-type:first-letter { - float: left; - 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; -} +/* article > p:first-of-type:first-letter { */ +/* float: left; */ +/* line-height: 1; */ +/* padding-right: 5px; */ +/* margin: 0 auto; */ +/* font-family: 'EBGaramond-Init', 'EBGaramond', serif; */ +/* font-size: 75px; */ +/* } */ + +/* article > p:first-of-type:first-line { */ +/* font-family: 'EBGaramond-SC', 'EBGaramond', serif; */ +/* } */ .heading-anchor1 { text-decoration: none; |