diff --git a/WebGames-master/WebGames-master/index.html b/WebGames-master/WebGames-master/index.html index 1e1be400..0f16c69e 100644 --- a/WebGames-master/WebGames-master/index.html +++ b/WebGames-master/WebGames-master/index.html @@ -5,27 +5,33 @@ -
@@ -74,9 +88,6 @@
snow rider
-
- snow rider -
hex gl
@@ -158,19 +169,6 @@
-
diff --git a/WebGames-master/WebGames-master/main.css b/WebGames-master/WebGames-master/main.css index 6ccc4558..836b64cd 100644 --- a/WebGames-master/WebGames-master/main.css +++ b/WebGames-master/WebGames-master/main.css @@ -65,4 +65,35 @@ img { justify-content: center; align-items: center; border-radius: 10px; +} + +.one { + display: flex; + flex-wrap: wrap; + gap: 10px; +} + +.game { + flex: 1 1 150px; + text-align: center; +} + +.no-results { + display: none; + text-align: center; + width: 100%; + justify-content: center; + align-items: center; +} + +.version { + position: fixed; + bottom: 10px; + right: 10px; + background-color: #f1f1f1; + padding: 5px 10px; + border-radius: 5px; + box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); + font-family: Arial, sans-serif; + font-size: 14px; } \ No newline at end of file diff --git a/comments.html b/comments.html new file mode 100644 index 00000000..1189eec1 --- /dev/null +++ b/comments.html @@ -0,0 +1,40 @@ + + + + + + Commenting System + + + +
+

Comments

+
+
+ + +
+
+ + + diff --git a/Google-Classroom-Logo.jpg b/image-robert-added/Google-Classroom-Logo.jpg similarity index 100% rename from Google-Classroom-Logo.jpg rename to image-robert-added/Google-Classroom-Logo.jpg diff --git a/logo (1).png b/image-robert-added/logo (1).png similarity index 100% rename from logo (1).png rename to image-robert-added/logo (1).png diff --git a/index.css b/index.css new file mode 100644 index 00000000..7cd0c3e1 --- /dev/null +++ b/index.css @@ -0,0 +1,172 @@ +body { + margin: 0; + font-family: 'Play', sans-serif; + background-color: #f0f0f0; + color: #333; +} + +.dark-mode { + background-color: #121212; + color: #e0e0e0; +} + +.loader { + position: fixed; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */ + display: flex; + justify-content: center; + align-items: center; + z-index: 9999; /* Ensure it covers everything */ + transition: transform 0.5s ease; /* Smooth transition for leaving */ +} + +.dark-mode .loader { + background-color: rgba(18, 18, 18, 0.8); +} + +.content { + display: none; /* Hide content initially */ + text-align: center; + padding: 20px; +} + +.dark-mode .loader img { + content: url('./loading-dark.webp'); /* Replace with your dark mode GIF path */ +} + +.nav-bar { + background-color: #333; + color: #fff; + padding: 10px; + display: flex; + justify-content: space-between; + align-items: center; +} + +.dark-mode .nav-bar { + background-color: #1e1e1e; +} + +.nav-bar h1 { + margin: 0; + font-size: 24px; +} + +.nav-elem { + display: flex; + align-items: center; +} + +.nav-elem button { + background: none; + border: none; + color: #fff; + margin-left: 10px; + cursor: pointer; + font-size: 16px; + font-weight: bold; + text-transform: capitalize; +} + +.nav-elem button a { + color: #fff; + text-decoration: none; +} + +.side-bar-menu { + display: none; + position: fixed; + top: 0; + right: 0; + width: 250px; + height: 100%; + background-color: #333; + color: #fff; + padding: 20px; + box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5); + z-index: 10000; +} + +.dark-mode .side-bar-menu { + background-color: #1e1e1e; +} + +.side-bar-link a { + color: #fff; + text-decoration: none; + display: block; + margin-bottom: 10px; +} + +.side-bar-button { + background: none; + border: none; + color: #fff; + font-size: 24px; + cursor: pointer; +} + +.side-bar-close-button { + background: none; + border: none; + color: #fff; + font-size: 24px; + cursor: pointer; + position: absolute; + top: 10px; + right: 10px; +} + +.main-content { + padding: 20px; + background-attachment: fixed; + background-position: center; + background-repeat: no-repeat; + background-size: cover; +} + +.version { + position: fixed; + bottom: 10px; + right: 10px; + background-color: #f1f1f1; + padding: 5px 10px; + border-radius: 5px; + box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); + font-family: Arial, sans-serif; + font-size: 14px; + z-index: 10001; /* Ensure it is above other elements */ +} + +.dark-mode .version { + background-color: #333; + color: #e0e0e0; +} + + body, html { + height: 100%; + } + + .parallax { + /* The image used */ + background-image: url("/image-robert-added/2048.webp"); + + /* Full height */ + height: 100%; + + /* Create the parallax scrolling effect */ + background-attachment: fixed; + background-position: center; + background-repeat: no-repeat; + background-size: cover; + } + + @media only screen and (max-device-width: 1366px) { + .parallax { + background-attachment: scroll; + } + } \ No newline at end of file diff --git a/index.html b/index.html index c75ce058..90fdbcfc 100644 --- a/index.html +++ b/index.html @@ -10,48 +10,16 @@ - - + Fun-Miles - Looping GIF Loading Animation - + Fun-miles for now
- Loading... + Loading...
-
- +