Pending changes exported from your codespace

This commit is contained in:
Robert
2025-03-13 13:23:46 +00:00
parent 9176308ea9
commit ca8dbddf87
37 changed files with 379 additions and 11546 deletions
+172
View File
@@ -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;
}
}