aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-05-04 14:53:39 +0100
committerYann Herklotz <git@yannherklotz.com>2022-05-04 14:53:39 +0100
commitf1b2d11a3247a3b984a281c18cb1f921e4c47060 (patch)
treeb6ea6c9f9c22303f2207949548630264e3df0fae /themes
parente66e492ca50fe1dc839fda9b3eec360e1c1ea04c (diff)
downloadyannherklotz.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.html1
-rw-r--r--themes/ymherklotz/static/css/blog.css11
-rw-r--r--themes/ymherklotz/static/css/colours.css2
-rw-r--r--themes/ymherklotz/static/css/default.css24
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;