From fb7190abddafb09949867ab9b239497ce2f36671 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 16 Mar 2023 00:58:43 +0100 Subject: [PATCH] Increase horizontal page padding Add a bit more empty space on left and right side of page content for a more pleasant viewing experience. Also tweaked the navbar to match. --- web_src/css/base.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 225359b765ce2..6cc7fe2821ff5 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1231,7 +1231,7 @@ a.ui.card:hover, /* enable fluid page widths for medium size viewports */ @media (min-width: 768px) and (max-width: 1200px) { .ui.ui.ui.container:not(.fluid) { - width: calc(100vw - 3em); + width: calc(100vw - 64px); } } @@ -1285,7 +1285,14 @@ a.ui.card:hover, .following.bar #navbar { width: 100vw; min-height: 52px; - padding: 0 0.5rem; + padding: 0 16px; +} + +@media (max-width: 767px) { + .following.bar #navbar { + padding-left: 4px; + padding-right: 0; + } } .following.bar #navbar .brand { @@ -1491,7 +1498,7 @@ a.ui.card:hover, } .ui.container.fluid.padded { - padding: 0 10px; + padding: 0 32px; } .ui.form .ui.button {