aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/css/common/misc.css
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-11-08 09:05:51 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-11-08 09:05:51 +0300
commitfdfed03411884c7c6da48f08e38f75c9ab2f35f7 (patch)
tree075d8b4968e3975ea5316b31a17521a44a4c55fe /assets/css/common/misc.css
parentindex.html: get rid of double slashes (diff)
downloadjekyll-theme-fdfed03411884c7c6da48f08e38f75c9ab2f35f7.tar.gz
jekyll-theme-fdfed03411884c7c6da48f08e38f75c9ab2f35f7.zip
put post dates beside the headers
Diffstat (limited to 'assets/css/common/misc.css')
-rw-r--r--assets/css/common/misc.css13
1 files changed, 13 insertions, 0 deletions
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;
+ }
+}