diff --git a/Makefile b/Makefile index b656588..14d59bd 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,7 @@ pack: mkdir -p release/fonts mkdir -p release/respacks cp -r respacks release/ + cp -r img release/ cp -r fonts release/ cp -r js/lib release/js cp js/hues-min.js release/js diff --git a/css/hues-x.css b/css/hues-x.css index 9f09f1c..757bb3e 100644 --- a/css/hues-x.css +++ b/css/hues-x.css @@ -1,6 +1,3 @@ -/* Heavily based on Kepstin's wonderful CSS work - https://github.com/kepstin/0x40hues-html5/blob/master/hues-m.css */ - .XmasUI { font-family: 'PetMe64Web'; } @@ -15,6 +12,7 @@ left: 8px; right: 8px; color: rgba(255,255,255,0.7); + z-index: 1; } .hues-x-beatbar { @@ -41,15 +39,78 @@ -webkit-transform: translateY(0px); transition: transform 1s ease-out; -webkit-transition: -webkit-transform 1s ease-out; - } .hues-x-beatbar.hidden{ -transform: translateY(-40px); + transform: translateY(-40px); -webkit-transform: translateY(-40px); } .hues-x-controls.hidden { transform: translateY(104px); -webkit-transform: translateY(104px); +} + +.hues-x-light { + position: absolute; + width: 68px; + height: 113px; + transform-origin: 32px 69px; + -webkit-transform-origin: 32px 69px; + background-image: url("../img/lightbase.png"); +} + +.hues-x-light > div > img { + position: absolute; +} + +.hues-x-fade{ + transition: opacity 0.1s linear; + -webkit-transition: opacity 0.1s linear; +} + +.hues-x-lighton { + opacity: 1; +} + +.hues-x-lightoff { + opacity: 0; +} + +.hues-x-lighton.off{ + opacity: 0; +} + +.hues-x-lightoff.off{ + opacity: 1; +} + +.hues-x-wiresleft, .hues-x-wiresbottom, .hues-x-wiresright { + position: absolute; + background-repeat: no-repeat; +} + +.hues-x-wiresleft, .hues-x-wiresright { + height: 100%; + top: 0px; +} + +.hues-x-wiresleft { + width: 76px; + left: 0px; + background-image: url("../img/wiresleft.png"); +} + +.hues-x-wiresright { + width: 59px; + right: 0px; + background-image: url("../img/wiresright.png"); +} + +.hues-x-wiresbottom { + bottom: 0px; + height: 56px; + width:2889px; + background-image: url("../img/wiresbottom.png"); + left:50%;margin-left:-1444.5px; } \ No newline at end of file diff --git a/css/style.css b/css/style.css index 808bff5..0f8acd4 100644 --- a/css/style.css +++ b/css/style.css @@ -12,7 +12,6 @@ html, body { height: 100%; margin: 0; padding: 0; overflow: hidden; - background-color:#fff; } h1 { @@ -67,14 +66,25 @@ h1, h2, h3 { margin: 10px; } -#waifu { +#waifu, #snow { + position: absolute; display: block; height: 100%; padding: 0; +} +#waifu { z-index: -10; } +#snow { + z-index: -9; +} + +#snow.hidden { + display: none; +} + #preloadHelper { background-color: #FFF; width: 100%; diff --git a/img/lightbase.png b/img/lightbase.png new file mode 100644 index 0000000..76a0512 Binary files /dev/null and b/img/lightbase.png differ diff --git a/img/lightoff.png b/img/lightoff.png new file mode 100644 index 0000000..ca81dbf Binary files /dev/null and b/img/lightoff.png differ diff --git a/img/lighton.png b/img/lighton.png new file mode 100644 index 0000000..4509d19 Binary files /dev/null and b/img/lighton.png differ diff --git a/img/wiresbottom.png b/img/wiresbottom.png new file mode 100644 index 0000000..20191b4 Binary files /dev/null and b/img/wiresbottom.png differ diff --git a/img/wiresleft.png b/img/wiresleft.png new file mode 100644 index 0000000..266a6a9 Binary files /dev/null and b/img/wiresleft.png differ diff --git a/img/wiresright.png b/img/wiresright.png new file mode 100644 index 0000000..a0c81e4 Binary files /dev/null and b/img/wiresright.png differ diff --git a/index-min.html b/index-min.html index 0d4fc3c..d49cd5e 100644 --- a/index-min.html +++ b/index-min.html @@ -102,6 +102,7 @@
+