From: Lanius Trolling Date: Thu, 10 Nov 2022 12:05:44 +0000 (-0500) Subject: Remove big background images X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=6f8411e7ac6e87d96e2455abf3e4d42c1736c14f;p=factbooks Remove big background images --- diff --git a/src/main/resources/static/images/background-dark.jpg b/src/main/resources/static/images/background-dark.jpg deleted file mode 100644 index 1b586ef..0000000 Binary files a/src/main/resources/static/images/background-dark.jpg and /dev/null differ diff --git a/src/main/resources/static/images/background.jpg b/src/main/resources/static/images/background.jpg deleted file mode 100644 index b031365..0000000 Binary files a/src/main/resources/static/images/background.jpg and /dev/null differ diff --git a/src/main/resources/static/style.css b/src/main/resources/static/style.css index aee6e40..4755af0 100644 --- a/src/main/resources/static/style.css +++ b/src/main/resources/static/style.css @@ -67,7 +67,7 @@ html { *************/ --panel: url("/static/images/panel.svg"); - --bgimg: url("/static/images/background.jpg"); + --bgimg: linear-gradient(to bottom, #def, #abc); --extln: url("/static/images/external-link.svg"); } @@ -129,7 +129,7 @@ html[data-theme="dark"] { *************/ --panel: url("/static/images/panel-dark.svg"); - --bgimg: url("/static/images/background-dark.jpg"); + --bgimg: linear-gradient(to bottom, #457, #013); --extln: url("/static/images/external-link-dark.svg"); } @@ -192,7 +192,7 @@ html[data-theme="dark"] { *************/ --panel: url("/static/images/panel.svg"); - --bgimg: url("/static/images/background.jpg"); + --bgimg: linear-gradient(to bottom, #def, #abc); --extln: url("/static/images/external-link.svg"); } @@ -254,7 +254,7 @@ html[data-theme="dark"] { *************/ --panel: url("/static/images/panel-dark.svg"); - --bgimg: url("/static/images/background-dark.jpg"); + --bgimg: linear-gradient(to bottom, #457, #013); --extln: url("/static/images/external-link-dark.svg"); } } @@ -341,8 +341,8 @@ aside.mobile img { div#bg { display: unset; - width: 100%; - height: 100%; + width: 100vw; + height: 100vh; position: fixed; top: 0; left: 0;