diff options
| author | mat <github@matdoes.dev> | 2022-02-16 00:07:13 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-02-16 00:07:13 -0600 |
| commit | 36bbe64db012aaed7ff0fadf083f191b122fa4ad (patch) | |
| tree | d4529a64a0e2e369a642f47c9f7ef791aaf4ea8e /src/app.css | |
| parent | 77679dbf69ae097cefbbcabe9c2b952d446e9677 (diff) | |
| download | skyblock-stats-36bbe64db012aaed7ff0fadf083f191b122fa4ad.tar.gz skyblock-stats-36bbe64db012aaed7ff0fadf083f191b122fa4ad.tar.bz2 skyblock-stats-36bbe64db012aaed7ff0fadf083f191b122fa4ad.zip | |
add files
Diffstat (limited to 'src/app.css')
| -rw-r--r-- | src/app.css | 17 |
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; +} |
