From 3468c7cd98d88bb8cf84728e5b7c3e16b484ace4 Mon Sep 17 00:00:00 2001 From: Ayo Date: Thu, 23 Mar 2023 23:45:13 +0100 Subject: [PATCH] remoce default image on homepage, show bigger first letter --- _layouts/home.html | 4 ++-- _layouts/post.html | 4 +--- assets/main.scss | 10 ++++++++++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/_layouts/home.html b/_layouts/home.html index 260cdba..6383b8b 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -30,13 +30,13 @@ layout: default src="../assets/images/{{ post.image }}.jpg" /> {% else %} - {{ post.description | escape }} + /> --> {% endif %} {{ post.excerpt }} diff --git a/_layouts/post.html b/_layouts/post.html index c206cbf..a811564 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -63,9 +63,7 @@ layout: default
- - For more {{ page.category }} posts like this, subscribe to my RSS feed - + For more {{ page.category }} posts like this, subscribe to my RSS feed
diff --git a/assets/main.scss b/assets/main.scss index 78f1f1d..eda52cb 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -528,6 +528,7 @@ table.image caption { font-family: "Source Serif Pro", serif; font-weight: 900; font-size: 36px; + line-height: 1.04; a { color: #222 !important; } @@ -560,6 +561,15 @@ table.image caption { line-height: 1.58; letter-spacing: -0.003em; } + p:not(blockquote *):first-of-type::first-letter { + font-weight: 900; + font-size: 3em; + line-height: 60px; + float: left; + padding: 0px 3px; + color: #80ae3c; + margin-top: -4px; + } /* p:first-of-type::first-letter { font-size: 75px;