some style stuff in lists

This commit is contained in:
rhiannon morris 2021-07-25 14:48:59 +02:00
parent 54aac9c35a
commit 533efb5a31
3 changed files with 14 additions and 5 deletions

View File

@ -95,7 +95,7 @@ hr {
justify-content: center; justify-content: center;
} }
.date { header .date {
font-size: 80%; font-size: 80%;
font-weight: 400; font-weight: 400;
font-style: italic; font-style: italic;
@ -120,6 +120,15 @@ hr {
margin-left: 0.75ex; margin-left: 0.75ex;
} }
.post-list, .tag-list {
columns: 2;
}
.post-list .date, .tag-list .count {
font-size: 85%;
font-style: italic;
}
a { a {
color: var(--link-col); color: var(--link-col);

View File

@ -1,9 +1,9 @@
<main> <main>
<ul> <ul class=post-list>
$for(posts)$ $for(posts)$
<li> <li>
<a href=$it.file$>$it.title$</a> <a href=$it.file$>$it.title$</a>
($it.date$) <span class=date>($it.date$)</span>
$endfor$ $endfor$
</ul> </ul>
</main> </main>

View File

@ -1,9 +1,9 @@
<main> <main>
<ul> <ul class=tag-list>
$for(tags)$ $for(tags)$
<li> <li>
<a href=tag-$it.slug$.html>$it.name$</a> <a href=tag-$it.slug$.html>$it.name$</a>
($it.count$) <span class=count>($it.count$)</span>
$endfor$ $endfor$
</ul> </ul>
</main> </main>