Update index.html

This commit is contained in:
TheErrorExe 2025-01-06 15:53:48 +01:00 committed by GitHub
parent 2dc4e6d4a5
commit b88548ea9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,25 @@
box-sizing: border-box; box-sizing: border-box;
} }
header {
background-color: #333;
color: #fff;
padding: 10px 20px;
}
nav ul {
list-style: none;
display: flex;
gap: 15px;
padding: 0;
margin: 0;
}
nav ul li a {
text-decoration: none;
color: #fff;
}
#features { #features {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -26,27 +45,36 @@
border-radius: 10px; border-radius: 10px;
padding: 10px; padding: 10px;
width: 200px; width: 200px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
background: #fff;
transition: transform 0.2s, box-shadow 0.2s;
cursor: pointer; cursor: pointer;
transition: transform 0.2s;
} }
.card:hover { .card:hover {
transform: scale(1.05); transform: scale(1.05);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.card img {
width: 100%;
border-radius: 8px;
} }
.popup { .popup {
position: fixed; position: fixed;
bottom: -100%; top: 50%;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translate(-50%, -50%);
background: white; background: white;
width: 90%; width: 90%;
max-width: 500px; max-width: 400px;
padding: 20px; padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
border-radius: 10px; border-radius: 10px;
animation: slideUp 0.5s forwards;
z-index: 1000; z-index: 1000;
display: none;
animation: fadeIn 0.3s ease-in-out;
} }
.popup h3 { .popup h3 {
@ -57,25 +85,17 @@
position: absolute; position: absolute;
top: 10px; top: 10px;
right: 10px; right: 10px;
font-size: 18px; font-size: 20px;
background: none; background: none;
border: none; border: none;
cursor: pointer; cursor: pointer;
color: #333;
} }
.popup .close:hover { .popup .close:hover {
color: red; color: red;
} }
@keyframes slideUp {
from {
bottom: -100%;
}
to {
bottom: 20%;
}
}
.overlay { .overlay {
position: fixed; position: fixed;
top: 0; top: 0;
@ -84,6 +104,18 @@
height: 100%; height: 100%;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
z-index: 999; z-index: 999;
display: none;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translate(-50%, -45%);
}
to {
opacity: 1;
transform: translate(-50%, -50%);
}
} }
</style> </style>
</head> </head>
@ -128,8 +160,8 @@
<p>&copy; 2025 Blockattack Server. Alle Rechte vorbehalten. Powered by mine-server.org. Website by TheErrorExe</p> <p>&copy; 2025 Blockattack Server. Alle Rechte vorbehalten. Powered by mine-server.org. Website by TheErrorExe</p>
</footer> </footer>
<div class="overlay" id="overlay" style="display: none;"></div> <div class="overlay" id="overlay"></div>
<div class="popup" id="popup" style="display: none;"> <div class="popup" id="popup">
<button class="close" id="closePopup">&times;</button> <button class="close" id="closePopup">&times;</button>
<h3 id="popupTitle">Popup-Titel</h3> <h3 id="popupTitle">Popup-Titel</h3>
<p id="popupDescription">Popup-Beschreibung</p> <p id="popupDescription">Popup-Beschreibung</p>