From a42daaff611a4cef9e4e86a05e4041a89ae1caaf Mon Sep 17 00:00:00 2001
From: buzz-lightsnack-2007
<73412182+buzz-lightsnack-2007@users.noreply.github.com>
Date: Mon, 22 Apr 2024 23:53:01 +0800
Subject: [PATCH] use .background when defining an area with background
Don't use main.container inside body to do that.
---
pages/settings.htm | 2 +-
styles/ui.css | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pages/settings.htm b/pages/settings.htm
index 34174df..5baab5b 100644
--- a/pages/settings.htm
+++ b/pages/settings.htm
@@ -6,7 +6,7 @@
-
+
-
diff --git a/styles/ui.css b/styles/ui.css
index b3096cc..7039102 100644
--- a/styles/ui.css
+++ b/styles/ui.css
@@ -78,7 +78,6 @@ body {
background-color: var(--background-color);
}
-body:has(main.container),
.background {
background: linear-gradient(
25deg,
@@ -113,6 +112,11 @@ ul.sidenav-fixed + * {
padding-left: 300px;
}
+main.container > * {
+ padding-bottom: .5em;
+ padding-top: .5em;
+}
+
@media only screen and (max-width: 992px) {
ul.sidenav-fixed + * {
padding-left: 0;