From 917fa4e6d84dab395e4f38d4d2f7e738577854f0 Mon Sep 17 00:00:00 2001 From: mms Date: Thu, 27 Jun 2024 22:37:46 +0200 Subject: feat(blog): column --- layouts/blog/baseof.html | 72 ++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 63 insertions(+), 9 deletions(-) (limited to 'layouts/blog/baseof.html') diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html index 373b998..68691cf 100644 --- a/layouts/blog/baseof.html +++ b/layouts/blog/baseof.html @@ -247,9 +247,38 @@ border-right: var(--cool-border); } } - - article { + + + .main-body { + width: 100%; + display: flex; + flex-wrap: wrap; + } + + main { + width: 800px; + max-width: 100%; + flex-grow: 1; + } + + .right-column { + flex-basis: 180px; + flex-grow: 1; + padding-left: 5px; + margin-bottom: 20px; + display: flex; + flex-direction: column; + } + + .widget { border: var(--cool-border); + padding: 5px; + background-color: var(--panel-color);; + line-height: 1.5em; + margin-bottom: 10px; + } + article { + margin-bottom: 20px; padding: 20px; background-color: var(--panel-color);; @@ -512,14 +541,39 @@ -
-
My other sites:
- Brain Rots - Cool Emacs - History of Unix +
+
+ {{ block "main" . }} + {{ end }} +
+ +
- {{ block "main" . }} - {{ end }} +