CSS: Styles for post list

This commit should be associated with the commit previously that was about
changing layouts/partials/posts.html.

Excuse me for modifying so much stuff and then commiting them afterwards, it's
easy to lose track of those atomic changes we strive for when talking about VCS
commit best practices :/
This commit is contained in:
hedy 2022-05-15 21:28:48 +08:00
parent 0c64b1110d
commit 03a8d8d38e
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 21 additions and 0 deletions

View File

@ -449,3 +449,24 @@ small {
/* border-top: 1px solid var(--border); */
margin-top: 2rem;
}
ul li {
/* Fix sizing of tap target when i's a list of links */
margin-bottom: 0.5rem;
}
ul.post-list {
list-style: none;
}
.post-list h3, .post-list h2 {
margin-bottom: 0.5rem;
font-size: 1.2rem;
font-weight: 500;
}
.post-list p {
margin-top: 0;
margin-bottom: 0;
}
.post-list .desc {
margin-top: 0.5rem;
}