From fdfed03411884c7c6da48f08e38f75c9ab2f35f7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 8 Nov 2021 09:05:51 +0300 Subject: put post dates beside the headers --- assets/css/common/misc.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'assets/css/common/misc.css') diff --git a/assets/css/common/misc.css b/assets/css/common/misc.css index 492a186..f5a1e95 100644 --- a/assets/css/common/misc.css +++ b/assets/css/common/misc.css @@ -39,3 +39,16 @@ pre code { .text-muted a.category { color: inherit; } + +/* This is a relatively popular workaround to align side-by-side columns. + * I use it for post headers. */ +.post-header { + display: flex; + flex-wrap: wrap; + align-items: baseline; +} +@media (min-width: 768px) { + .post-date { + text-align: right; + } +} -- cgit v1.2.3