tolles design
@ -1,11 +1,57 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<title>Br0tcraft</title>
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Looser</h1>
|
||||
</body>
|
||||
|
||||
<div class="header-container">
|
||||
|
||||
<img class="error404img" src="/img/errors/404.jpg" />
|
||||
<h1 class="errornothingpc">Hier ist leider nichts</h1>
|
||||
</div>
|
||||
<div class="Background-Leiste"></div>
|
||||
<div class="Leiste"></div>
|
||||
<div class="container">
|
||||
|
||||
<a class="menu-link-home" href="/">BR0TCRAFT</a>
|
||||
<div class="mobile-menu-icon" onclick="toggleMenu()">
|
||||
|
||||
<div class="hamburger-icon"></div>
|
||||
<div class="hamburger-icon"></div>
|
||||
<div class="hamburger-icon"></div>
|
||||
</div>
|
||||
<div class="menu-links">
|
||||
|
||||
<a class="menu-link" href="">Anwendungen</a>
|
||||
<a class="menu-link" href="">Handbücher</a>
|
||||
<a class="menu-link" href="">Dev-Blogs</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mobile-menu" onclick="toggleMenu()">
|
||||
<a class="menu-link-home" href="">BR0TCRAFT</a>
|
||||
<br><br><br>
|
||||
<a class="menu-link-mobile" href="">Anwendungen</a>
|
||||
<a class="menu-link-mobile" href="">Handbücher</a>
|
||||
<a class="menu-link-mobile" href="">Dev-Blogs</a>
|
||||
</div>
|
||||
<h1 class="errornothingmobile">Hier ist leider nichts</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
function toggleMenu() {
|
||||
var menuLinks = document.querySelector(".menu-links");
|
||||
var mobileMenu = document.querySelector(".mobile-menu");
|
||||
var body = document.body;
|
||||
|
||||
menuLinks.classList.toggle("show");
|
||||
mobileMenu.classList.toggle("show");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 695 KiB After Width: | Height: | Size: 695 KiB |
BIN
img/Background2.jpg
Normal file
After Width: | Height: | Size: 276 KiB |
BIN
img/Background3.jpg
Normal file
After Width: | Height: | Size: 418 KiB |
BIN
img/Background4.jpg
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/SpielTypen/AndroidGames.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
img/SpielTypen/Discordbot.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
img/SpielTypen/itchio.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
img/contact/Email.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
img/contact/discord.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
img/errors/404.jpg
Normal file
After Width: | Height: | Size: 1.4 MiB |
98
index.html
@ -1,76 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Br0tcraft</title>
|
||||
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header-container">
|
||||
<img class="header-image" src="img/Background.png" />
|
||||
<img class="header-image" src="img/Background2.jpg" />
|
||||
<div class="contact-icons">
|
||||
<a href="https://example.com" target="_blank">
|
||||
<img src="img/contact/discord.png" class="contact-icon" />
|
||||
</a>
|
||||
<a href="mailto:info@br0tcraft.de">
|
||||
<img src="img/contact/email.png" class="contact-icon email-icon" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Leiste"></div>
|
||||
<div class="container">
|
||||
<a class="menu-link-home" href="">BR0TCRAFT</a>
|
||||
<div class="mobile-menu-icon" onclick="toggleMenu()">
|
||||
<div class="hamburger-icon"></div>
|
||||
<div class="hamburger-icon"></div>
|
||||
<div class="hamburger-icon"></div>
|
||||
</div>
|
||||
<div class="menu-links">
|
||||
<a class="menu-link" href="">Spiele</a>
|
||||
<a class="menu-link" href="">Tutorials</a>
|
||||
<a class="menu-link" href="">Extensions</a>
|
||||
<a class="menu-link" href="">Kontakt</a>
|
||||
<a class="menu-link" href="">funny-Seiten</a>
|
||||
</div>
|
||||
<a class="menu-link-home" href="">BR0TCRAFT</a>
|
||||
<div class="menu-links">
|
||||
<a class="menu-link" href="/Anwendungen">Anwendungen</a>
|
||||
<a class="menu-link" href="/Handbücher">Handbücher</a>
|
||||
<a class="menu-link" href="/Dev-Blogs">Dev-Blogs</a>
|
||||
</div>
|
||||
<div class="mobile-menu-icon" onclick="toggleMenu()">
|
||||
<div class="hamburger-icon"></div>
|
||||
<div class="hamburger-icon"></div>
|
||||
<div class="hamburger-icon"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mobile-menu" onclick="toggleMenu()">
|
||||
<a class="menu-link-home" href="">BR0TCRAFT</a>
|
||||
<br /><br /><br />
|
||||
<a class="menu-link-mobile" href="">Spiele</a>
|
||||
<a class="menu-link-mobile" href="">Tutorials</a>
|
||||
<a class="menu-link-mobile" href="">Turbowarp-Extensions</a>
|
||||
<a class="menu-link-mobile" href="">Kontakt</a>
|
||||
<a class="menu-link-mobile" href="">funny-Seiten</a>
|
||||
<a class="menu-link-mobile" href="/Anwendungen">Anwendungen</a>
|
||||
<a class="menu-link-mobile" href="/Handbücher">Handbücher</a>
|
||||
<a class="menu-link-mobile" href="/Dev-Blogs">Dev-Blogs</a>
|
||||
</div>
|
||||
<h1 class="headline">Spiele</h1>
|
||||
<h1 class="headline">Anwendungen</h1>
|
||||
<div class="ElementListe">
|
||||
<a href=""
|
||||
><img src="img/SpielTypen/Javascript.png" class="KategorieLink"
|
||||
/></a>
|
||||
<a href=""
|
||||
><img src="img/SpielTypen/PocketCode.png" class="KategorieLink"
|
||||
/></a>
|
||||
<a href=""
|
||||
><img src="img/SpielTypen/Unity.png" class="KategorieLink"
|
||||
/></a>
|
||||
<a href=""
|
||||
><img src="img/SpielTypen/Turbowarp.png" class="KategorieLink"
|
||||
/></a>
|
||||
<a href="/Unity"><img src="img/SpielTypen/Unity.png" class="KategorieLink" /></a>
|
||||
<a href="/Javascript"><img src="img/SpielTypen/Javascript.png" class="KategorieLink" /></a>
|
||||
<a href="/Turbowarp"><img src="img/SpielTypen/Turbowarp.png" class="KategorieLink" /></a>
|
||||
<a href="/Android"><img src="img/SpielTypen/AndroidGames.png" class="KategorieLink" /></a>
|
||||
<a href="/itchio"><img src="img/SpielTypen/itchio.png" class="KategorieLink" /></a>
|
||||
</div>
|
||||
<h1 class="headline">Tutorials</h1>
|
||||
<div class="ElementListe">
|
||||
<a href="funny-Seiten/Plankton-Gallery/"
|
||||
><img
|
||||
src="img/Tutorials/Commandbuch-Handbuch.png "
|
||||
class="KategorieLink"
|
||||
/></a>
|
||||
</div>
|
||||
<h1 class="headline">Turbowarp-Extensions</h1>
|
||||
<h1 class="headline">Funny Seiten von mir</h1>
|
||||
|
||||
<h1 class="headline">Handbücher</h1>
|
||||
<h1 class="headline">Dev-Blogs</h1>
|
||||
<h1 class="headline">Sonstiges</h1>
|
||||
<script>
|
||||
function toggleMenu() {
|
||||
var menuLinks = document.querySelector(".menu-links");
|
||||
var mobileMenu = document.querySelector(".mobile-menu");
|
||||
var body = document.body;
|
||||
|
||||
menuLinks.classList.toggle("show");
|
||||
mobileMenu.classList.toggle("show");
|
||||
}
|
||||
function toggleMenu() {
|
||||
var mobileMenu = document.querySelector(".mobile-menu");
|
||||
mobileMenu.classList.toggle("show");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
150
style.css
@ -19,10 +19,10 @@ body {
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: 7vw;
|
||||
height: 5vw;
|
||||
position: fixed;
|
||||
background-color: rgb(77, 0, 0);
|
||||
z-index: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
@ -40,12 +40,13 @@ body {
|
||||
}
|
||||
|
||||
.container {
|
||||
z-index: 5;
|
||||
position: fixed;
|
||||
right: 32px;
|
||||
left: 10px;
|
||||
top: 0px;
|
||||
font-family: Orbitron;
|
||||
font-size: 24px;
|
||||
font-size: 25px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@ -55,8 +56,7 @@ body {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
margin-left: 0px;
|
||||
font-size: 6vw;
|
||||
|
||||
font-size: 4vw;
|
||||
}
|
||||
|
||||
.menu-link {
|
||||
@ -77,29 +77,44 @@ body {
|
||||
text-shadow: 5px 5px 3px rgba(5, 0, 0, 0.26);
|
||||
}
|
||||
|
||||
/* Stile für die Kontakt-Icons */
|
||||
.contact-icons {
|
||||
position: fixed;
|
||||
top:6vw;
|
||||
left: 2%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.contact-icon {
|
||||
width: 4vw; /* Neue Breite */
|
||||
height: 3vw; /* Neue Höhe */
|
||||
margin: 10px 0vw;
|
||||
}
|
||||
|
||||
.mobile-menu-icon {
|
||||
display: none; /* Standardmäßig ausblenden */
|
||||
display: none;
|
||||
cursor: pointer;
|
||||
position: fixed;
|
||||
top: 0.5vw;
|
||||
right: 20px;
|
||||
top: 1vw;
|
||||
right: 10px;
|
||||
width: 30px;
|
||||
height: 24px;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.hamburger-icon {
|
||||
width: 30px;
|
||||
width: 100%;
|
||||
height: 3px;
|
||||
background-color: white;
|
||||
margin: 6px 0;
|
||||
}
|
||||
|
||||
.menu-links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end; /* Rechts ausrichten */
|
||||
}
|
||||
|
||||
.menu-links.show {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.menu {
|
||||
@ -109,7 +124,7 @@ body {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #333; /* Hintergrundfarbe des Menüs */
|
||||
background-color: #333;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
@ -120,7 +135,7 @@ body {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-size: 250%;
|
||||
margin: 20px; /* Abstand zwischen den Links hinzufügen */
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
.mobile-menu {
|
||||
@ -134,43 +149,106 @@ body {
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.mobile-menu.show {
|
||||
display: block;
|
||||
background-color: rgb(104, 0, 0);
|
||||
}
|
||||
|
||||
.KategorieLink {
|
||||
width: 300px;
|
||||
}
|
||||
.errornothingmobile {
|
||||
display: none; /* Standardmäßig versteckt */
|
||||
position: relative; /* Positioniert relativ zum umgebenden Container */
|
||||
margin-top: 20px; /* Abstand zum oberen Rand des Containers */
|
||||
color: black; /* Schwarze Schriftfarbe */
|
||||
text-align: center; /* Textzentrierung */
|
||||
}
|
||||
.errornothingpc {
|
||||
position: fixed; /* Absolut relativ zum Container */
|
||||
top: 4vw; /* Anpassen je nach Bedarf */
|
||||
left: 50%;
|
||||
transform: translateX(-50%); /* Horizontale Zentrierung */
|
||||
color: white; /* Schriftfarbe */
|
||||
z-index: 1; /* Höherer Z-Index, um über dem Bild zu bleiben */
|
||||
text-align: center; /* Textzentrierung */
|
||||
font-size: 300%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.error404img {
|
||||
top: 100px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 937px) {
|
||||
|
||||
.ElementListe {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center; /* Zentriert die Elemente */
|
||||
gap: 10px; /* Fügt einen gleichmäßigen Abstand zwischen den Elementen hinzu */
|
||||
padding: 10px; /* Fügt einen Abstand zu den Rändern des Containers hinzu */
|
||||
}
|
||||
|
||||
.KategorieLink {
|
||||
width: 45vw;
|
||||
height: auto;
|
||||
max-width: 50vw; /* Maximale Breite des Bildes */
|
||||
object-fit: cover; /* Bildfüllung */
|
||||
margin-bottom: 10px; /* Abstand zwischen den Bildern */
|
||||
}
|
||||
.mobile-menu-icon {
|
||||
display: block; /* Bei kleinen Bildschirmen anzeigen */
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.hamburger-icon {
|
||||
display: block;
|
||||
.errornothingpc {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.errornothingmobile {
|
||||
display: block; /* Zeigt das Element auf mobilen Geräten */
|
||||
|
||||
}
|
||||
|
||||
.menu-links {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
top: 80px;
|
||||
right: 0; /* Rechts ausrichten */
|
||||
background-color: #333;
|
||||
width: 100%;
|
||||
justify-content: flex-start; /* Links oben ausrichten */
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-links.show {
|
||||
display: flex;
|
||||
.contact-icons {
|
||||
position: static;
|
||||
top: auto;
|
||||
left: auto;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
|
||||
}
|
||||
|
||||
.mobile-menu.show {
|
||||
display: block;
|
||||
background-color: rgb(104, 0, 0);
|
||||
.header-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.KategorieLink {
|
||||
width: 24%;
|
||||
.contact-icon {
|
||||
width: 5vw;
|
||||
height: 4.2vw;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.email-icon {
|
||||
filter: invert(100%);
|
||||
}
|
||||
}
|
||||
|
||||
.ElementListe {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
|