remoce default image on homepage, show bigger first letter
This commit is contained in:
parent
18558f6a67
commit
3468c7cd98
3 changed files with 13 additions and 5 deletions
|
@ -30,13 +30,13 @@ layout: default
|
||||||
src="../assets/images/{{ post.image }}.jpg"
|
src="../assets/images/{{ post.image }}.jpg"
|
||||||
/></a>
|
/></a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{post.url | relative_url}}"
|
<!-- <a href="{{post.url | relative_url}}"
|
||||||
><img
|
><img
|
||||||
class="blog-home__list-items__item__excerpt__thumb"
|
class="blog-home__list-items__item__excerpt__thumb"
|
||||||
alt="{{ post.description | escape }}"
|
alt="{{ post.description | escape }}"
|
||||||
title="{{ post.description | escape }}"
|
title="{{ post.description | escape }}"
|
||||||
src="../assets/images/hello-world.jpg"
|
src="../assets/images/hello-world.jpg"
|
||||||
/></a>
|
/></a> -->
|
||||||
|
|
||||||
{% endif %} {{ post.excerpt }}
|
{% endif %} {{ post.excerpt }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -63,9 +63,7 @@ layout: default
|
||||||
|
|
||||||
<div class="blog-post__after-content">
|
<div class="blog-post__after-content">
|
||||||
<div id="rss-sign-up">
|
<div id="rss-sign-up">
|
||||||
<span>
|
<span>For more <em>{{ page.category }}</em> posts like this, subscribe to my <a href={{'feed.xml' | relative_url}}>RSS feed</a></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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -528,6 +528,7 @@ table.image caption {
|
||||||
font-family: "Source Serif Pro", serif;
|
font-family: "Source Serif Pro", serif;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
|
line-height: 1.04;
|
||||||
a {
|
a {
|
||||||
color: #222 !important;
|
color: #222 !important;
|
||||||
}
|
}
|
||||||
|
@ -560,6 +561,15 @@ table.image caption {
|
||||||
line-height: 1.58;
|
line-height: 1.58;
|
||||||
letter-spacing: -0.003em;
|
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 {
|
p:first-of-type::first-letter {
|
||||||
font-size: 75px;
|
font-size: 75px;
|
||||||
|
|
Loading…
Reference in a new issue