From 0d8f36817f2b84144044b449775cd8d1a93448d9 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 20 Nov 2022 08:08:53 -0800 Subject: [PATCH] End-align the dates in the blog post list --- assets/styles/blog.css | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/assets/styles/blog.css b/assets/styles/blog.css index 1512c63..4fa4f5f 100644 --- a/assets/styles/blog.css +++ b/assets/styles/blog.css @@ -38,15 +38,10 @@ .blog.list > ul > li:hover { background-color: var(--post-item-highlight-color); } -.blog.list > ul > li > a { - color: inherit; -} -.blog.list > ul > li > a:hover { - text-decoration: none; -} -.blog.list > ul > li > .draft { - align-self: center; -} +.blog.list > ul > li > a { color: inherit; } +.blog.list > ul > li > a:hover { text-decoration: none; } +.blog.list > ul > li > time:nth-child(2) { text-align: end; } +.blog.list > ul > li > .draft { align-self: center; } @supports (grid-template-columns: subgrid) { .blog.list {