diff --git a/games.html b/games.html
index b433732..6b4ca60 100644
--- a/games.html
+++ b/games.html
@@ -8,6 +8,7 @@
+
@@ -20,12 +21,12 @@
Sign Up or Log In
diff --git a/home.html b/home.html
index cb6624a..9302459 100644
--- a/home.html
+++ b/home.html
@@ -8,6 +8,7 @@
+
@@ -20,12 +21,12 @@
Sign Up or Log In
diff --git a/index.html b/index.html
index 1bf07d3..464c13d 100644
--- a/index.html
+++ b/index.html
@@ -10,6 +10,7 @@
+
@@ -21,12 +22,12 @@
Sign Up or Log In
diff --git a/login.html b/login.html
index 9ea6d3f..0647fd9 100644
--- a/login.html
+++ b/login.html
@@ -11,6 +11,7 @@
+
@@ -20,12 +21,12 @@
Sign Up or Log In
diff --git a/main.css b/main.css
index 09335fc..d395678 100644
--- a/main.css
+++ b/main.css
@@ -1,8 +1,10 @@
#alert {
height: fit-content;
margin: 0px;
- padding-top: 1px;
- padding-bottom: 1px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ padding-right: 5px;
+ padding-left: 5px;
width: 100%;
text-align: center;
background: linear-gradient(#f07575 10%, #e13b3b 49%, #d22 50%, #de2323 100%);
@@ -10,6 +12,7 @@
.navbar {
height: 40px;
margin: 0px;
+ padding-right: 5px;
padding-left: 5px;
padding-top: 2px;
padding-bottom: 2px;
@@ -28,9 +31,9 @@
.navbarlogincontainer {
position: relative;
padding-right: 10px;
- margin-right: 0px;
+ margin-right: 3%;
margin-left: auto;
- float: right;
+ float: inline-end;
top: 11px;
}
.navbarbutton {
@@ -48,10 +51,11 @@
height: 25px;
margin: 0px;
padding-left: 5px;
+ padding-right: 5px;
+ padding-top: 2px;
+ padding-bottom: 2px;
display: inline-table;
- padding-top: 3px;
vertical-align: middle;
- padding-bottom: 3px;
width: 100%;
line-height: normal;
color: rgb(255, 255, 255);
@@ -72,16 +76,16 @@ html {
}
body {
margin-left: 0px;
- margin-right: 0px;
+ margin-right: 0px;
margin-top: 0px;
}
.content {
color: black;
+ min-height: 300px;
+ max-width: 1000px;
+ margin: auto;
padding-left: 5px;
padding-right: 5px;
- margin-left: 1px;
- margin-right: 0px;
- margin-top: 0px;
background-color: white;
padding-bottom: 5px;
padding-top: 5px;
@@ -91,8 +95,14 @@ body {
}
footer {
text-align: center;
+ max-width: 1000px;
+ padding-left: 5px;
+ padding-right: 5px;
+ padding-bottom: 5px;
+ padding-top: 5px;
background-color: rgb(179, 179, 179);
- min-height: 400px;
+ min-height: fit-content;
+ margin: auto;
}
p,h1 {
margin: 0px;
diff --git a/main.js b/main.js
index 60e33c7..42c1423 100644
--- a/main.js
+++ b/main.js
@@ -1,6 +1,12 @@
window.addEventListener('resize', function() {
var logo_full = document.getElementById("logo_full")
var logo_small = document.getElementById("logo_small")
+ var smallbtn = document.getElementById("smallbtn1")
+ var smallbtn0 = document.getElementById("smallbtn0")
+ var smallbtn2 = document.getElementById("smallbtn2")
+ var smallbtn3 = document.getElementById("smallbtn3")
+ var smallbtn1 = document.getElementById("smallbtn4")
+ var smallbtn5 = document.getElementById("smallbtn5")
var viewport_width = window.innerWidth;
if (viewport_width < 900) {
logo_full.className = "invisible";
@@ -9,30 +15,82 @@ window.addEventListener('resize', function() {
logo_small.className = "invisible";
logo_full.className = "";
}
+ if (viewport_width < 600) {
+ smallbtn.className = "invisible";
+ smallbtn2.className = "invisible";
+ smallbtn3.className = "invisible";
+ } else {
+ smallbtn.className = "navbarbutton";
+ smallbtn2.className = "navbarbutton";
+ smallbtn3.className = "navbarbutton";
+ }
+ if (viewport_width < 425) {
+ smallbtn0.className = "invisible";
+ smallbtn1.className = "invisible";
+ } else {
+ smallbtn0.className = "navbarbutton";
+ smallbtn1.className = "navbarbutton";
+ }
+ if (viewport_width < 280) {
+ smallbtn5.className = "invisible";
+ } else {
+ smallbtn5.className = "navbarbutton";
+ }
});
window.onload = function() {
+ var logo_full = document.getElementById("logo_full")
+ var logo_small = document.getElementById("logo_small")
+ var smallbtn = document.getElementById("smallbtn1")
+ var smallbtn0 = document.getElementById("smallbtn0")
+ var smallbtn2 = document.getElementById("smallbtn2")
+ var smallbtn3 = document.getElementById("smallbtn3")
+ var smallbtn1 = document.getElementById("smallbtn4")
+ var smallbtn5 = document.getElementById("smallbtn5")
+ var viewport_width = window.innerWidth;
+ if (viewport_width < 900) {
+ logo_full.className = "invisible";
+ logo_small.className = "";
+ } else {
+ logo_small.className = "invisible";
+ logo_full.className = "";
+ }
+ if (viewport_width < 600) {
+ smallbtn.className = "invisible";
+ smallbtn2.className = "invisible";
+ smallbtn3.className = "invisible";
+ } else {
+ smallbtn.className = "navbarbutton";
+ smallbtn2.className = "navbarbutton";
+ smallbtn3.className = "navbarbutton";
+ }
+ if (viewport_width < 425) {
+ smallbtn0.className = "invisible";
+ smallbtn1.className = "invisible";
+ } else {
+ smallbtn0.className = "navbarbutton";
+ smallbtn1.className = "navbarbutton";
+ }
+ if (viewport_width < 280) {
+ smallbtn5.className = "invisible";
+ } else {
+ smallbtn5.className = "navbarbutton";
+ }
var alert = document.getElementById("alert")
var alerttext = document.getElementById("alerttext")
- var morblox = document.getElementById("morblox")
if (window.location.hostname == "") {
alerttext.innerHTML = "You are using this locally.";
alert.className = "";
- morblox.className = "";
} else if (window.location.hostname == "thomasluigi07.github.io") {
alerttext.innerHTML = "You are using this on the github pages site.";
alert.className = "";
- morblox.className = "";
} else if (window.location.hostname == "MORBLOX.com") {
alerttext.innerHTML = "You are using MORBLOX.com";
alert.className = "";
- morblox.className = "";
} else if (window.location.hostname == "morblox.us") {
alerttext.innerHTML = "You are using morblox.us";
alert.className = "";
- morblox.className = "invisible";
} else {
alerttext.innerHTML = `You are using an unknown site (${window.location.hostname})`;
alert.className = "";
- morblox.className = "";
}
};
\ No newline at end of file
diff --git a/nimda/panel.html b/nimda/panel.html
index d543a04..4010acd 100644
--- a/nimda/panel.html
+++ b/nimda/panel.html
@@ -8,6 +8,7 @@
+
@@ -20,12 +21,12 @@
Sign Up or Log In
diff --git a/privacy.html b/privacy.html
index 7ffd4cc..73500ec 100644
--- a/privacy.html
+++ b/privacy.html
@@ -7,6 +7,7 @@
+
@@ -20,12 +21,12 @@
Sign Up or Log In
diff --git a/robots.txt b/robots.txt
index e69de29..b266d09 100644
--- a/robots.txt
+++ b/robots.txt
@@ -0,0 +1,3 @@
+User-agent: *
+Allow: /
+Disallow: /nimda/
\ No newline at end of file
diff --git a/signup.html b/signup.html
index b7b8963..b5c0cc1 100644
--- a/signup.html
+++ b/signup.html
@@ -9,6 +9,7 @@
+
@@ -20,12 +21,12 @@