From 681b0d139bb77b97f7e46d93872452a7ea8d28be Mon Sep 17 00:00:00 2001 From: Owen Jow Date: Thu, 29 Oct 2015 10:34:31 -0700 Subject: [PATCH] Restored images to mobile interface --- css/style.css | 14 ++++++ index.html | 121 +++++++++++++++++++++++++++++++------------------- js/script.js | 18 -------- 3 files changed, 90 insertions(+), 63 deletions(-) delete mode 100644 js/script.js diff --git a/css/style.css b/css/style.css index 0b8c262..1e88b3a 100644 --- a/css/style.css +++ b/css/style.css @@ -160,3 +160,17 @@ div p { margin-top: 130px; text-align: center; } + +#mobi-drake { + position: absolute; + top: 600px !important; + left: 0; + z-index: -1; +} + +#mobi-cole { + position: absolute; + top: 585px !important; + right: 0; + z-index: -1; +} diff --git a/index.html b/index.html index 7480b3d..e78860b 100644 --- a/index.html +++ b/index.html @@ -34,10 +34,12 @@ +
+
+ - diff --git a/js/script.js b/js/script.js deleted file mode 100644 index c93db39..0000000 --- a/js/script.js +++ /dev/null @@ -1,18 +0,0 @@ -/* Just some mobile overrides. */ -if ($(window).width() <= 1000) { - $("img").remove(); - $("#mp3_player").remove(); - $("#for-mobile").html("









"); - $("p").css({'font-size': '32px'}); - $("#final-word").css({'font-size': '32px'}); -} - -$(window).resize(function() { - if ($(window).width() <= 800) { - $("img").remove(); - $("#mp3_player").remove(); - $("#for-mobile").html("









"); - $("p").css({'font-size': '32px'}); - $("#final-word").css({'font-size': '32px'}); - } -});