some style stuff in lists
This commit is contained in:
parent
54aac9c35a
commit
533efb5a31
3 changed files with 14 additions and 5 deletions
|
@ -95,7 +95,7 @@ hr {
|
|||
justify-content: center;
|
||||
}
|
||||
|
||||
.date {
|
||||
header .date {
|
||||
font-size: 80%;
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
|
@ -120,6 +120,15 @@ hr {
|
|||
margin-left: 0.75ex;
|
||||
}
|
||||
|
||||
.post-list, .tag-list {
|
||||
columns: 2;
|
||||
}
|
||||
|
||||
.post-list .date, .tag-list .count {
|
||||
font-size: 85%;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
color: var(--link-col);
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<main>
|
||||
<ul>
|
||||
<ul class=post-list>
|
||||
$for(posts)$
|
||||
<li>
|
||||
<a href=$it.file$>$it.title$</a>
|
||||
($it.date$)
|
||||
<span class=date>($it.date$)</span>
|
||||
$endfor$
|
||||
</ul>
|
||||
</main>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<main>
|
||||
<ul>
|
||||
<ul class=tag-list>
|
||||
$for(tags)$
|
||||
<li>
|
||||
<a href=tag-$it.slug$.html>$it.name$</a>
|
||||
($it.count$)
|
||||
<span class=count>($it.count$)</span>
|
||||
$endfor$
|
||||
</ul>
|
||||
</main>
|
||||
|
|
Loading…
Add table
Reference in a new issue