From f4fe294d709add9164c57cf76cdd741c99d47855 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 3 Jun 2021 11:24:32 -0300 Subject: CSS hack(?) to fix too wide content area --- src/static/site.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/static') diff --git a/src/static/site.css b/src/static/site.css index 0f81d276..cc2e9268 100644 --- a/src/static/site.css +++ b/src/static/site.css @@ -40,8 +40,9 @@ body::before { } #page-container > * { - margin-left: 15px; - margin-right: 15px; + --margin: 15px; /* necessary for size calculations due to CSS suckery */ + margin-left: var(--margin); + margin-right: var(--margin); } #banner { @@ -911,6 +912,10 @@ li > ul { width: 100%; } + #page-container > #content { + width: calc(100% - calc(var(--margin) * 2)); + } + #cover-art-container { float: none; margin: 0 10px 10px 10px; -- cgit 1.3.0-6-gf8a5