backgroud done just need image
This commit is contained in:
+2
-2
@@ -10,9 +10,9 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -10,9 +10,9 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+2
-3
@@ -10,9 +10,8 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -10,9 +10,9 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -10,9 +10,9 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -10,9 +10,9 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -10,9 +10,9 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -10,9 +10,9 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -10,9 +10,9 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -10,9 +10,9 @@
|
||||
<h1>Welcome to the Flash Games Archive.</h1>
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
+1
-2
@@ -9,9 +9,8 @@
|
||||
|
||||
<nav>
|
||||
<ul class="nav__links">
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='index.html'";">Home</button>
|
||||
<button style="margin-right: 20px;" onclick="window.location.href='/index.html'";">Home</button>
|
||||
|
||||
<button onclick="window.location.href='info.html'";>Information</button>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
@@ -1,94 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="UTF-8">
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6951907799659255" cross-origin='anonymous'></script>
|
||||
<script defer src="https://chirpy.dev/bootstrapper.js" data-chirpy-domain="fun-miles-4jub.onrender.com"></script>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" href="assets/page_icon.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Play:wght@700&family=Press+Start+2P&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer">
|
||||
<link rel="stylesheet" href="/WebGames-master/WebGames-master/main.css">
|
||||
<script defer src="/WebGames-master/WebGames-master/script.js"></script>
|
||||
<title>Fun-Miles</title>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
.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 */
|
||||
}
|
||||
|
||||
.content {
|
||||
display: none; /* Hide content initially */
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.loader img {
|
||||
width: 150px; /* Adjust size as needed */
|
||||
height: auto; /* Maintain aspect ratio */
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="loader" class="loader">
|
||||
<img src="/loding.webp" alt="Loading..." loop="infinite" /> <!-- Replace with your GIF path -->
|
||||
</div>
|
||||
<nav class="nav-bar">
|
||||
<h1>fun-miles</h1>
|
||||
<div class="nav-elem">
|
||||
<noscript>
|
||||
<p>JavaScript is off; turn it on or go here <a href="/games.html">hi</a></p>
|
||||
</noscript>
|
||||
<button><a class="a-text nav-item" href="https://github.com/mileswolfallen2/fun-miles">contribute </a></button>
|
||||
<button><a class="a-text nav-item" href="https://github.com/mileswolfallen2/fun-miles/blob/main/README.md">About </a></button>
|
||||
<p class="nav-item"><button onclick="onToggleDarkMode()">Dark Mode<i id="dark-mode-icon" class="fa-solid fa-moon"></i></button></p>
|
||||
</div>
|
||||
<div class="side-bar-menu" id="side-bar-menu">
|
||||
<div class="side-bar-link">
|
||||
<a class="nav-item" href="https://github.com/sarmadhamdani02/webGames" target="_blank">Contribute</a>
|
||||
<a class="nav-item" href="https://github.com/sarmadhamdani02/webGames#readme">About</a>
|
||||
<button id="dark-mode-sidebar" onclick="onToggleDarkMode()"></button>
|
||||
<p class="nav-item"><button id="dark-mode-sidebar" onclick="onToggleDarkMode()">Dark Mode<i id="sidebar-dark-mode-icon" class="fa-solid fa-moon"></i></button></p>
|
||||
</div>
|
||||
</div>
|
||||
<button class="side-bar-button" id="toggleSideBar" onclick="toggleSideBar()"></button>
|
||||
</nav>
|
||||
|
||||
<div class="main-content" style="overflow-y:scroll;">
|
||||
<!-- data is coming from JavaScript (script.js) -->
|
||||
</div>
|
||||
<script>
|
||||
window.addEventListener('load', function() {
|
||||
const loader = document.getElementById('loader');
|
||||
const content = document.querySelector('.content');
|
||||
|
||||
// Move the loader off the screen
|
||||
loader.style.transform = 'translateY(-100%)'; // Move up off the screen
|
||||
|
||||
// Show the content after a delay to allow the animation to complete
|
||||
setTimeout(() => {
|
||||
loader.style.display = 'none';
|
||||
content.style.display = 'block';
|
||||
}, 500); // Adjust delay to match the transition duration
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
<body class="Back">
|
||||
<style type="text/css">
|
||||
html {
|
||||
background-image: url("/image-robert-added/bgc4n1.gif");
|
||||
background-attachment: scroll;
|
||||
background-size: cover;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
@@ -2,295 +2,9 @@
|
||||
--game-icon-hover-color: #dedede;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
.back {
|
||||
font-family: sans-serif;
|
||||
overflow: hidden;
|
||||
background-image: url("image-robert-added/bgc4n1.gif");
|
||||
}
|
||||
|
||||
.nav-bar {
|
||||
padding: 0 4vw;
|
||||
font-family: "Press Start 2P", cursive;
|
||||
color: white;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 50px;
|
||||
background-color: rgb(0, 144, 144);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nav-bar a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-bar .logo {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.nav-bar .nav-elem {
|
||||
margin-left: 45vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.nav-bar .nav-elem button {
|
||||
background-color: transparent;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nav-bar .nav-elem button:hover {
|
||||
background-color: rgba(255, 255, 255, 0.101);
|
||||
}
|
||||
|
||||
.nav-bar .nav-elem button a, p{
|
||||
color: white;
|
||||
font-size: 20px;
|
||||
text-decoration: none;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.side-bar-menu {
|
||||
display: none;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.side-bar-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.side-bar-switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 20px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.side-bar-switch input {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
#dark-mode-sidebar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
font-family: "Press Start 2P", cursive;
|
||||
}
|
||||
|
||||
#dark-mode-sidebar p {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.fa-sun, .fa-moon{
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
overflow: hidden;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
background-color: white;
|
||||
display: flex;
|
||||
align-items: start;
|
||||
justify-content: start;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
padding: 30px;
|
||||
transition: all 300ms;
|
||||
}
|
||||
|
||||
.main-content .game {
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
border-radius: 20px;
|
||||
padding: 10px 0;
|
||||
position: relative;
|
||||
width: 12vw;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.main-content .game:hover {
|
||||
background-color: var(--game-icon-hover-color);
|
||||
border-color: #444444;
|
||||
}
|
||||
|
||||
.main-content .game:hover img {
|
||||
/* rotate: 3deg; */
|
||||
scale: 1.1;
|
||||
outline: 1.5px solid #009090;
|
||||
}
|
||||
.main-content, .nav-bar {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.game img {
|
||||
background-size: cover;
|
||||
width: 10vw;
|
||||
height: 10vw;
|
||||
margin-bottom: 10px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
transition: 200ms;
|
||||
border: 1px solid #00909067;
|
||||
}
|
||||
|
||||
.game img:hover {
|
||||
/* transform: scale(1.1); */
|
||||
rotate: 8deg;
|
||||
}
|
||||
|
||||
.game h3 {
|
||||
font-size: 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #333333;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.game h3:hover {
|
||||
text-decoration: underline;
|
||||
color: #111111;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media (max-width: 700px) {
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.nav-bar {
|
||||
height: 75px;
|
||||
gap: 0px;
|
||||
text-align: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.nav-bar h1 {
|
||||
font-size: 5vw;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.nav-bar .nav-elem {
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nav-bar button {
|
||||
font-size: 4vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nav-bar button .a-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding: 5px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-content: flex-start;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.main-content .game {
|
||||
width: 28vw;
|
||||
}
|
||||
|
||||
.game img {
|
||||
height: 25vw;
|
||||
width: 25vw;
|
||||
}
|
||||
|
||||
.side-bar-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
width: 0;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: rgb(0, 144, 72);
|
||||
overflow: hidden;
|
||||
transition: 0.3s;
|
||||
padding-top: 15vh;
|
||||
border-top-right-radius: 20px;
|
||||
border-bottom-right-radius: 20px;
|
||||
box-shadow: 0.5px 0 20px rgba(0, 0, 0, 0.541);
|
||||
}
|
||||
|
||||
.side-bar-link {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 45px;
|
||||
}
|
||||
|
||||
.side-bar-button {
|
||||
background-color: #009090;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.side-bar-button i {
|
||||
font-size: 24px;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 701px) and (max-width: 1050px) {
|
||||
.nav-bar {
|
||||
padding: 0 2vw;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.nav-bar .nav-elem {
|
||||
margin-left: 2vw;
|
||||
}
|
||||
|
||||
.nav-bar button {
|
||||
font-size: 18px;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* add media query for andriod device */
|
||||
/* @media all and (max-width: 700px) {
|
||||
.nav-bar {
|
||||
width: 100%;
|
||||
}
|
||||
} */
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.7 MiB |
Reference in New Issue
Block a user