Cleaned up archive li layout
This commit is contained in:
parent
be7e4698f6
commit
7ff419b9b9
@ -1,6 +1,7 @@
|
|||||||
html {
|
html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
*,
|
*,
|
||||||
|
|||||||
@ -12,6 +12,7 @@ header{
|
|||||||
color: #D8D8D8;
|
color: #D8D8D8;
|
||||||
font-size: 2.1rem;
|
font-size: 2.1rem;
|
||||||
font-family: Beleren;
|
font-family: Beleren;
|
||||||
|
/* TODO: Replace Beleren */
|
||||||
}
|
}
|
||||||
|
|
||||||
.silver-text, .nav-text{
|
.silver-text, .nav-text{
|
||||||
@ -221,4 +222,26 @@ blockquote > p:last-of-type {
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
width: 50vw;
|
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;
|
||||||
}
|
}
|
||||||
@ -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>
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<article>
|
<article>
|
||||||
|
<!-- TODO: Fix the layout of the byline -->
|
||||||
<h1 class="headline">{article.metadata.title}</h1>
|
<h1 class="headline">{article.metadata.title}</h1>
|
||||||
<p class="byline">
|
<p class="byline">
|
||||||
<address class="author">By <a rel="author" href="mailto:admin@jimlab.io">Jim Shepich III</a></address>
|
<address class="author">By <a rel="author" href="mailto:admin@jimlab.io">Jim Shepich III</a></address>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user