diff --git a/assets/ui/button_long.png b/assets/ui/button_long.png new file mode 100644 index 0000000..082f8f8 Binary files /dev/null and b/assets/ui/button_long.png differ diff --git a/assets/ui/button_short.png b/assets/ui/button_short.png new file mode 100644 index 0000000..9bcdf67 Binary files /dev/null and b/assets/ui/button_short.png differ diff --git a/css/slides.css b/css/slides.css index fc571ce..453f461 100644 --- a/css/slides.css +++ b/css/slides.css @@ -40,6 +40,12 @@ body{ /******* SLIDESHOW *******/ /*************************/ +#slideshow_container{ + width:0; height:0; + position:absolute; + margin:auto; + top:0; left:0; right:0; bottom:0; +} #slideshow{ /*background: #bada55;*/ @@ -49,8 +55,8 @@ body{ /* Center this thing */ position: absolute; - margin: auto; - top:0; left:0; right:0; bottom:0; + left:-480px; + top:-270px; } #slideshow .object{ @@ -126,7 +132,7 @@ body{ z-index: 100; } .button[hover=yes] #background{ - background-position: 0px -125px; + background-position: 0px -125px !important; } .button[deactivated=yes] #background{ background-position: 0px -250px; @@ -137,6 +143,29 @@ body{ .button[deactivated=yes] #hitbox{ display: none; } +.button[size=short] #background{ + background: url(../assets/ui/button_short.png); + background-size: 100%; + width:150px; left:-20px; +} +.button[size=short] #text{ + width:105px; +} +.button[size=short] #hitbox{ + width:115px; +} +.button[size=long] #background{ + background: url(../assets/ui/button_long.png); + background-size: 100%; + width:400px; +} +.button[size=long] #text{ + width:330px; + top: 11px; +} +.button[size=long] #hitbox{ + width:345px; +} /*************************/ diff --git a/index.html b/index.html index 772776c..11f3e22 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,10 @@
-
-
+
+
+
+