From 387595866d8b964936697a303bb4ff700ce6655f Mon Sep 17 00:00:00 2001 From: Leon Mika Date: Sat, 16 Mar 2024 09:31:51 +1100 Subject: [PATCH] More styling of sidebar --- static/sidebar.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/static/sidebar.css b/static/sidebar.css index ee1b76c..19e2c2b 100644 --- a/static/sidebar.css +++ b/static/sidebar.css @@ -12,9 +12,24 @@ div.sidebar { font-size: 0.9em; - line-height: 1.8; + line-height: 1.3; + + display: flex; + flex-direction: column; } +div.sidebar-item { + border-block-start: solid thin black; + padding-block-start: 20px; + padding-block-end: 20px; +} + +div.sidebar-item:first-of-type { + border: none; + padding-block-start: 0; +} + + @media (max-width: 775px) { div.sidebar { display: none; @@ -32,6 +47,7 @@ div.sidebar header h1 { ul.blogroll { padding-inline: 0; + line-height: 1.8; } ul.blogroll li {