Skip to content

Commit 973f363

Browse files
committed
Style read-more better
1 parent ec3642f commit 973f363

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

assets/css/stylesheet.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,12 @@ article + article {
487487
text-shadow: 1px 0 1px rgba(255, 255, 255, 1);
488488
}
489489

490+
.read-more {
491+
display: inline-block;
492+
margin-bottom: 0.5em;
493+
text-decoration: none;
494+
}
495+
490496
.post-header {
491497
margin-bottom: 20px;
492498
}

blog/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
1313
<div class="post-content">
1414
{% if post.content contains "<!-- more -->" %}
1515
{{ post.content | split:"<!-- more -->" | first }}
16-
<a class="read-more" href="{{ post.url }}">Read more</a>
16+
<a class="read-more" href="{{ post.url }}">Read more &raquo;</a>
1717
{% else %}
1818
{{ post.content }}
1919
{% endif %}

0 commit comments

Comments
 (0)