Commit 474db9e7 authored by Olga Brani's avatar Olga Brani

Decrease font size of blog posts

parent 0f467a99
......@@ -3,9 +3,10 @@
<span class="date">{{ post.date | date_to_long_string }}</span>
</p>
<h3><a href="{{ post.url | prepend: site.baseurl}}">{{ post.title }}</a></h3>
{{ post.content | split:'<!--break-->' | first }}
{% if post.content contains '<!--break-->' %}
<a href="{{ post.url | prepend: site.baseurl}}" class="more"> Read more...</a>
{% endif %}
<div class="post-content">
{{ post.content | split:'<!--break-->' | first }}
{% if post.content contains '<!--break-->' %}
<a href="{{ post.url | prepend: site.baseurl}}" class="more"> Read more...</a>
{% endif %}
</div>
</div>
\ No newline at end of file
......@@ -8,7 +8,7 @@ permalink: /blog/
<span class="date">Posted on {{ page.date | date_to_long_string }}<br> by {{page.author}}</span>
</p>
<p id="post-meta">{{ tags_content }}</p>
{{ content }}
<div class="post-content">
{{ content }}
</div>
<p><a href="{{site.baseurl}}/blog" class="button">Back to posts</a></p>
\ No newline at end of file
......@@ -291,8 +291,11 @@ header {
.post {
margin-bottom: 3em;
.author {
.post-content {
font-size: emCalc(14px);
}
.author {
font-size: emCalc(13px);
margin-bottom: 0em;
color: lighten($body-font-color, 15%);
}
......@@ -302,13 +305,14 @@ header {
}
h2 {
margin: -6px 0 0.5em;
font-size: emCalc(24px);
font-size: emCalc(22px);
&+.author {
margin-bottom: 1em;
}
}
p {
p, ul, ol{
margin-bottom: 1em;
font-size: 1em;
}
.more {
white-space: nowrap;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment