From 99b92daa911e9976b9d63567d6f9894b7a91be3b Mon Sep 17 00:00:00 2001 From: Harley White Date: Mon, 7 Jun 2021 00:00:30 -0400 Subject: [PATCH] Background style --- demo.html | 4 +++- js/Demo/demoMod.js | 4 ++++ js/mod.js | 5 +++++ style.css | 8 ++++++++ 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/demo.html b/demo.html index b5db2db..a4bd643 100644 --- a/demo.html +++ b/demo.html @@ -32,7 +32,7 @@ -
+
@@ -126,5 +126,7 @@
+
+
\ No newline at end of file diff --git a/js/Demo/demoMod.js b/js/Demo/demoMod.js index 8f8e528..579511a 100644 --- a/js/Demo/demoMod.js +++ b/js/Demo/demoMod.js @@ -66,6 +66,10 @@ function isEndgame() { // Less important things beyond this point! +// Style for the background, can be a function +var backgroundStyle = { +} + // You can change this if you have things that can be messed up by long tick lengths function maxTickLength() { return(3600) // Default is 1 hour which is just arbitrarily large diff --git a/js/mod.js b/js/mod.js index cb83298..ebc7580 100644 --- a/js/mod.js +++ b/js/mod.js @@ -62,6 +62,11 @@ function isEndgame() { // Less important things beyond this point! +// Style for the background, can be a function +var backgroundStyle = { + +} + // You can change this if you have things that can be messed up by long tick lengths function maxTickLength() { return(3600) // Default is 1 hour which is just arbitrarily large diff --git a/style.css b/style.css index ff666a7..164e71b 100644 --- a/style.css +++ b/style.css @@ -769,6 +769,14 @@ button > * { top: 0 } +.bg2 { + z-index: -9009; + width: 100%; + height: 100%; + position: absolute; + top: 0 +} + .noBackground { background: transparent !important; background-image: none !important;