From cbf188f9e119b7547bcfd71ee33433a0cd63872c Mon Sep 17 00:00:00 2001 From: Bryan Hu Date: Thu, 7 Apr 2022 22:24:47 -0700 Subject: [PATCH 01/26] Clean up and repair. Just tried my best to make it work. --- nginx.conf | 24 ----------- static/css/jurassicSystems.css | 20 ++++----- static/css/theKing.css | 15 +++---- static/js/jurassicSystems.js | 22 +++++----- static/js/theKing.js | 10 ++--- static/jurassicSystems.html | 31 +++++--------- static/swf/soundManager/soundmanager2.swf | Bin 2908 -> 0 bytes .../swf/soundManager/soundmanager2_debug.swf | Bin 3282 -> 0 bytes .../swf/soundManager/soundmanager2_flash9.swf | Bin 8758 -> 0 bytes .../soundmanager2_flash9_debug.swf | Bin 17258 -> 0 bytes .../soundmanager2_flash_xdomain.zip | Bin 33064 -> 0 bytes static/theKing.html | 38 ++++++------------ 12 files changed, 56 insertions(+), 104 deletions(-) delete mode 100644 nginx.conf delete mode 100755 static/swf/soundManager/soundmanager2.swf delete mode 100755 static/swf/soundManager/soundmanager2_debug.swf delete mode 100755 static/swf/soundManager/soundmanager2_flash9.swf delete mode 100755 static/swf/soundManager/soundmanager2_flash9_debug.swf delete mode 100755 static/swf/soundManager/soundmanager2_flash_xdomain.zip diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index f714e2e..0000000 --- a/nginx.conf +++ /dev/null @@ -1,24 +0,0 @@ -server { - listen 80; - server_name jurassicsystems.com www.jurassicsystems.com; - root /home/treefingers/www/jurassicsystems.com/static; - index jurassicSystems.html; - error_page 404 /errorPage.html; - error_page 403 /errorPage.html; - - location ~* \.(css|js|jpg|png|gif|ico|ogg|mp3|wav|swf)$ { - expires max; - } - - location /system { - try_files /jurassicSystems.html =404; - } - - location /about { - try_files /about.html =404; - } - - location = /theking { - try_files /theKing.html =404; - } -} diff --git a/static/css/jurassicSystems.css b/static/css/jurassicSystems.css index 6238eab..fc44a27 100644 --- a/static/css/jurassicSystems.css +++ b/static/css/jurassicSystems.css @@ -118,7 +118,7 @@ body { } #irix-desktop { - background-image: url("/img/irixBackground.jpg"); + background-image: url("../img/irixBackground.jpg"); background-repeat: no-repeat; overflow: hidden; margin-left: 10px; @@ -129,7 +129,7 @@ body { } #apple-desktop { - background-image: url("/img/appleBackground.jpg"); + background-image: url("../img/appleBackground.jpg"); background-repeat: no-repeat; overflow: hidden; margin-left: 10px; @@ -147,7 +147,7 @@ body { margin: auto; padding-top: 31px; padding-left: 30px; - background-image: url("/img/mainTerm.jpg"); + background-image: url("../img/mainTerm.jpg"); background-repeat: no-repeat; position: absolute; top: 120px; @@ -188,7 +188,7 @@ body { } #chess-terminal { - background-image: url("/img/chessTerm.jpg"); + background-image: url("../img/chessTerm.jpg"); background-repeat: no-repeat; padding-top: 31px; padding-left: 30px; @@ -212,7 +212,7 @@ body { display: none; right: 20px; top: 40px; - background-image: url("/img/zebraGirlWindow.jpg"); + background-image: url("../img/zebraGirlWindow.jpg"); } .terminal-view { @@ -228,7 +228,7 @@ body { } #gr-osview { - background-image: url('/img/grOsview.gif'); + background-image: url("../img/grOsview.gif"); background-repeat: no-repeat; height: 369px; width: 393px; @@ -239,7 +239,7 @@ body { #the-king-window { display: none; - background-image: url('/img/theKingFocus.jpg'); + background-image: url("../img/theKingFocus.jpg"); background-repeat: no-repeat; width: 600px; height: 620px; @@ -254,7 +254,7 @@ body { } #the-king-blur { - background-image: url('/img/theKingBlur.jpg'); + background-image: url("../img/theKingBlur.jpg"); width: 600px; height: 620px; position: absolute; @@ -276,7 +276,7 @@ body { #mac-hd-window { width: 556px; height: 566px; - background-image: url("/img/macHDFocus.jpg"); + background-image: url("../img/macHDFocus.jpg"); background-repeat: no-repeat; position: absolute; left: 15px; @@ -333,7 +333,7 @@ input[type="button"], button {-moz-box-sizing: content-box;} input[type="button"]::-moz-focus-inner, button::-moz-focus-inner { padding:0;border:0 none; } .button { - background-image:url("/img/buttonOverlay.png"); + background-image:url("../img/buttonOverlay.png"); -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; diff --git a/static/css/theKing.css b/static/css/theKing.css index dc248a8..a70bc0e 100644 --- a/static/css/theKing.css +++ b/static/css/theKing.css @@ -22,7 +22,7 @@ body { } #apple-desktop { - background-image: url("/img/appleBackground.jpg"); + background-image: url("../img/appleBackground.jpg"); background-repeat: no-repeat; overflow: hidden; margin-left: 10px; @@ -35,7 +35,7 @@ body { #the-king-window { display: none; - background-image: url('/img/theKingFocus.jpg'); + background-image: url("../img/theKingFocus.jpg"); background-repeat: no-repeat; width: 600px; height: 620px; @@ -45,15 +45,12 @@ body { text-align: center; } -#the-king-animation { - position: absolute; - top: 40px; - left: 80px; - z-index: 64000; +#the-king-video { + margin-top: 40px; } #the-king-blur { - background-image: url('/img/theKingBlur.jpg'); + background-image: url("../img/theKingBlur.jpg"); width: 600px; height: 620px; position: absolute; @@ -74,7 +71,7 @@ body { #mac-hd-window { width: 556px; height: 566px; - background-image: url("/img/macHDFocus.jpg"); + background-image: url("../img/macHDFocus.jpg"); background-repeat: no-repeat; position: absolute; left: 15px; diff --git a/static/js/jurassicSystems.js b/static/js/jurassicSystems.js index bd51027..314951e 100644 --- a/static/js/jurassicSystems.js +++ b/static/js/jurassicSystems.js @@ -57,17 +57,17 @@ const lockDownHTML5 = $('