minor padding adjustments
This commit is contained in:
parent
237f28655d
commit
c8b3b319a8
2 changed files with 4 additions and 5 deletions
|
|
@ -34,7 +34,7 @@ lastfm: true
|
||||||
<h2>{{ "recent-posts" | i18n }}</h2>
|
<h2>{{ "recent-posts" | i18n }}</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{% for post in collections.post | i18n_filter(5) %}
|
{% for post in collections.post | i18n_filter(5) %}
|
||||||
<li><p><a href="{{ post.url }}">{{ post.data.title }}</a> | <span class="date"> {{ post.date.toLocaleString("en-GB", {year: 'numeric', month: '2-digit', day: '2-digit'}) }}</span></p></li>
|
<li><p><a href="{{ post.url }}">{{ post.data.title }}</a><br><span class="date"> {{ post.date.toLocaleString("en-GB", {year: 'numeric', month: '2-digit', day: '2-digit'}) }}</span></p></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ body {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
padding: 2px;
|
padding: 3px 6px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
border-bottom: 1px solid mp.$border;
|
border-bottom: 1px solid mp.$border;
|
||||||
font-family: fonts.$ll;
|
font-family: fonts.$ll;
|
||||||
|
|
@ -206,12 +206,11 @@ body {
|
||||||
width: 190px;
|
width: 190px;
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0 0 4px 0;
|
padding: 0 2px 4px 2px;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
.date {
|
.date {
|
||||||
vertical-align: middle;
|
font-size: 0.7em;
|
||||||
font-size: 0.9em;
|
|
||||||
color: c.adjust($color: mp.$text, $lightness: -10%);
|
color: c.adjust($color: mp.$text, $lightness: -10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue