remoce default image on homepage, show bigger first letter

This commit is contained in:
Ayo 2023-03-23 23:45:13 +01:00
parent 18558f6a67
commit 3468c7cd98
3 changed files with 13 additions and 5 deletions

View file

@ -30,13 +30,13 @@ layout: default
src="../assets/images/{{ post.image }}.jpg"
/></a>
{% else %}
<a href="{{post.url | relative_url}}"
<!-- <a href="{{post.url | relative_url}}"
><img
class="blog-home__list-items__item__excerpt__thumb"
alt="{{ post.description | escape }}"
title="{{ post.description | escape }}"
src="../assets/images/hello-world.jpg"
/></a>
/></a> -->
{% endif %} {{ post.excerpt }}
</div>

View file

@ -63,9 +63,7 @@ layout: default
<div class="blog-post__after-content">
<div id="rss-sign-up">
<span>
For more <em>{{ page.category }}</em> posts like this, subscribe to my <a href={{'feed.xml' | relative_url}}>RSS feed</a>
</span>
<span>For more <em>{{ page.category }}</em> posts like this, subscribe to my <a href={{'feed.xml' | relative_url}}>RSS feed</a></span>
</div>
</div>

View file

@ -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;