Cleaned up archive li layout

This commit is contained in:
Jim Shepich III 2026-02-03 10:37:14 -05:00
parent be7e4698f6
commit 7ff419b9b9
4 changed files with 29 additions and 1 deletions

View File

@ -1,6 +1,7 @@
html {
height: 100%;
box-sizing: border-box;
font-display: swap;
}
*,

View File

@ -12,6 +12,7 @@ header{
color: #D8D8D8;
font-size: 2.1rem;
font-family: Beleren;
/* TODO: Replace Beleren */
}
.silver-text, .nav-text{
@ -222,3 +223,25 @@ blockquote > p:last-of-type {
img {
width: 50vw;
}
li::marker {
content: '⍟ ';
/* TODO: Decide on a default li marker for the theme*/
}
ul:has(> .blog-archive-li){
padding-left: 0.25em;
}
.blog-archive-li{
list-style: none;
margin-bottom: 0.5em;
padding-bottom: 0.5em;
border-image: var(--silver) 1;
border-bottom-width: 0.1em;
border-bottom-style: solid;
}
.blog-archive-li > time {
float: right;
}

View File

@ -1 +1,4 @@
<li>{article.metadata.date} - <a href='{article.path}'>{article.metadata.title}</a> {blog_tags}</li>
<li class="blog-archive-li"><a href='{article.path}'>{article.metadata.title}</a> <time datetime="{article.metadata.date}">{article.metadata.date}</time>
<br />
{blog_tags}
</li>

View File

@ -1,4 +1,5 @@
<article>
<!-- TODO: Fix the layout of the byline -->
<h1 class="headline">{article.metadata.title}</h1>
<p class="byline">
<address class="author">By <a rel="author" href="mailto:admin@jimlab.io">Jim Shepich III</a></address>