From 36bbe64db012aaed7ff0fadf083f191b122fa4ad Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 16 Feb 2022 00:07:13 -0600 Subject: add files --- src/app.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/app.css') 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; +} -- cgit