mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-13 00:24:28 +00:00
De-halloweenify
This commit is contained in:
parent
959555bb5b
commit
71be4fb9bd
3 changed files with 1 additions and 39 deletions
|
@ -16,18 +16,10 @@ class SoundController {
|
||||||
if (storageAvailable("localStorage")) {
|
if (storageAvailable("localStorage")) {
|
||||||
let volume = localStorage.getItem("gatherVolume");
|
let volume = localStorage.getItem("gatherVolume");
|
||||||
if (volume !== undefined) Howler.volume(volume);
|
if (volume !== undefined) Howler.volume(volume);
|
||||||
// Re-enable after halloween
|
|
||||||
// gatherMusic = localStorage.getItem("gatherMusic");
|
|
||||||
gatherMusic = "halloween";
|
|
||||||
localStorage.setItem("gatherMusic", gatherMusic);
|
localStorage.setItem("gatherMusic", gatherMusic);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.tunes = {
|
this.tunes = {
|
||||||
// Remove after halloween
|
|
||||||
"halloween": {
|
|
||||||
description: "Halloween",
|
|
||||||
url: 'http://www.ensl.org/files/audio/halloween2.mp3'
|
|
||||||
},
|
|
||||||
"classic": {
|
"classic": {
|
||||||
description: "Gathers Classic",
|
description: "Gathers Classic",
|
||||||
url: 'http://www.ensl.org/files/audio/gather-1.mp3'
|
url: 'http://www.ensl.org/files/audio/gather-1.mp3'
|
||||||
|
@ -102,7 +94,7 @@ class SoundController {
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultGatherMusic() {
|
defaultGatherMusic() {
|
||||||
return "halloween";
|
return "classic";
|
||||||
}
|
}
|
||||||
|
|
||||||
setupGatherMusic (musicName) {
|
setupGatherMusic (musicName) {
|
||||||
|
|
|
@ -2,36 +2,6 @@ html, body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Remove After Halloween*/
|
|
||||||
body {
|
|
||||||
background-color: #000;
|
|
||||||
background-image: url("/images/halloween.jpg");
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
background-size: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.moon {
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
right: 2em;
|
|
||||||
top: 2em;
|
|
||||||
height: 200px;
|
|
||||||
width: 200px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background: #ddd;
|
|
||||||
box-shadow: 0 0 50px gold,0 0 150px gold, inset 0 20px 20px 40px whitesmoke, inset 30px 0 35px 50px ivory;
|
|
||||||
transition: 2s;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel {
|
|
||||||
background-color: rgba(26,55,79,0.9) !important;
|
|
||||||
}
|
|
||||||
/*Remove After Halloween*/
|
|
||||||
|
|
||||||
|
|
||||||
#side-menu {
|
#side-menu {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.7 MiB |
Loading…
Reference in a new issue