Skip to content

Commit 6d42ded

Browse files
committedOct 6, 2018
fix spacing and sizing of post card on home screen
1 parent 9966a37 commit 6d42ded

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed
 

Diff for: ‎_sass/_page.scss

+11
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ body {
1515
}
1616
}
1717
.entry-content {
18+
overflow: hidden;
19+
height: 12.5em;
20+
1821
@include font-size(16);
1922
// Dotted line underlines for links
2023
p > a,
@@ -25,6 +28,14 @@ body {
2528
}
2629
}
2730
}
31+
.entry-title {
32+
line-height: 1em;
33+
margin-block-start: 0.25em;
34+
margin-block-end: 0.25em;
35+
a {
36+
font-size: 1.5rem;
37+
}
38+
}
2839

2940
// Entry Header
3041
// --------------------------------------------------

Diff for: ‎index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<span class="entry-date date published updated">
2121
<time datetime="{{ post.date | date_to_xmlschema }}">
2222
<a href="{{ site.url }}{{ post.url }}">
23-
{{ post.date | date: "%B %d, %Y" }}
23+
{{ post.date | date: "%d-%b-%Y" }}
2424
</a>
2525
</time>
2626
</span>
@@ -35,7 +35,7 @@
3535
<span class="entry-reading-time">
3636
<i class="fa fa-clock-o"></i>
3737
{% assign readtime = post.content | size | minus:8 | divided_by: site.words_per_minute %}
38-
Reading time ~{% if post.read_time %}{{ post.read_time }} minutes{% else %}{% if readtime <= 1 %}1 minute{% else %}{{ readtime }} minutes{% endif %}{% endif %}
38+
&nbsp;~{% if post.read_time %}{{ post.read_time }} min{% else %}{% if readtime <= 1 %}1 min{% else %}{{ readtime }} min{% endif %}{% endif %}
3939
</span><!-- /.entry-reading-time -->
4040
{% endif %}
4141
</div><!-- /.entry-meta -->

0 commit comments

Comments
 (0)