diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-28 07:39:20 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-28 11:11:20 +0200 |
commit | a768a7fa84577a5975fa782dd81cdab066dcff12 (patch) | |
tree | 14868bf9073c1b6d2f2fc861a0e4cac192c51f8c /assets/css | |
parent | posts: right-align the date (diff) | |
download | jekyll-theme-a768a7fa84577a5975fa782dd81cdab066dcff12.tar.gz jekyll-theme-a768a7fa84577a5975fa782dd81cdab066dcff12.zip |
posts: redesign feed again
Put dates on the left, this looks nicer.
Diffstat (limited to '')
-rw-r--r-- | assets/css/jekyll-theme/posts.css | 14 |
1 files changed, 4 insertions, 10 deletions
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 { |