minor padding adjustments

This commit is contained in:
yuki 2025-10-14 07:32:55 -03:00
parent 237f28655d
commit c8b3b319a8
Signed by: yuki
GPG key ID: 0C98E6FF04EC3915
2 changed files with 4 additions and 5 deletions

View file

@ -34,7 +34,7 @@ lastfm: true
<h2>{{ "recent-posts" | i18n }}</h2>
<ul>
{% 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 %}
</ul>
</div>

View file

@ -122,7 +122,7 @@ body {
margin: 10px;
h2 {
padding: 2px;
padding: 3px 6px;
margin-bottom: 4px;
border-bottom: 1px solid mp.$border;
font-family: fonts.$ll;
@ -206,12 +206,11 @@ body {
width: 190px;
ul {
list-style: none;
padding: 0 0 4px 0;
padding: 0 2px 4px 2px;
list-style: none;
text-align: center;
.date {
vertical-align: middle;
font-size: 0.9em;
font-size: 0.7em;
color: c.adjust($color: mp.$text, $lightness: -10%);
}
}