From a768a7fa84577a5975fa782dd81cdab066dcff12 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 28 Oct 2022 07:39:20 +0200 Subject: posts: redesign feed again Put dates on the left, this looks nicer. --- assets/css/jekyll-theme/posts.css | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'assets') diff --git a/assets/css/jekyll-theme/posts.css b/assets/css/jekyll-theme/posts.css index af3674a..1e0fc47 100644 --- a/assets/css/jekyll-theme/posts.css +++ b/assets/css/jekyll-theme/posts.css @@ -1,23 +1,17 @@ /* Wrap the post date to the next line if necessary. */ -.post-header { +.flex-header { display: flex; - flex-wrap: wrap; align-items: baseline; - justify-content: space-between; column-gap: 1.5em; } -.list-group-item .post-header { - flex-wrap: nowrap; -} -.post-date { +.flex-header-left, .flex-header-right { flex: none; +} +.flex-header-right { /* Right-align the post date if on the next line. */ margin-left: auto; } -.post-date .category { - margin-right: 1em; -} /* Add some margin after the last .feed-entry. */ .feed-entry { -- cgit v1.2.3