aboutsummaryrefslogtreecommitdiff
path: root/src/app.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/app.css b/src/app.css
index 5e12d43..a338767 100644
--- a/src/app.css
+++ b/src/app.css
@@ -185,3 +185,20 @@ button {
outline: none;
font-family: inherit;
}
+
+/*
+ * this is necessary for background theming, the background can be set through
+ * the --background css variable
+ */
+body:before {
+ content: '';
+ display: block;
+ position: fixed;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ z-index: -10;
+ background: var(--background) no-repeat center center;
+ background-size: cover;
+}