tolles design
@ -1,11 +1,57 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Document</title>
|
<title>Br0tcraft</title>
|
||||||
|
<link rel="stylesheet" href="/style.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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>
|
</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>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Br0tcraft</title>
|
<title>Br0tcraft</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" />
|
<link rel="stylesheet" href="style.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="header-container">
|
<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>
|
||||||
<div class="Leiste"></div>
|
<div class="Leiste"></div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="menu-link-home" href="">BR0TCRAFT</a>
|
<a class="menu-link-home" href="">BR0TCRAFT</a>
|
||||||
<div class="mobile-menu-icon" onclick="toggleMenu()">
|
<div class="menu-links">
|
||||||
<div class="hamburger-icon"></div>
|
<a class="menu-link" href="/Anwendungen">Anwendungen</a>
|
||||||
<div class="hamburger-icon"></div>
|
<a class="menu-link" href="/Handbücher">Handbücher</a>
|
||||||
<div class="hamburger-icon"></div>
|
<a class="menu-link" href="/Dev-Blogs">Dev-Blogs</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu-links">
|
<div class="mobile-menu-icon" onclick="toggleMenu()">
|
||||||
<a class="menu-link" href="">Spiele</a>
|
<div class="hamburger-icon"></div>
|
||||||
<a class="menu-link" href="">Tutorials</a>
|
<div class="hamburger-icon"></div>
|
||||||
<a class="menu-link" href="">Extensions</a>
|
<div class="hamburger-icon"></div>
|
||||||
<a class="menu-link" href="">Kontakt</a>
|
</div>
|
||||||
<a class="menu-link" href="">funny-Seiten</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="mobile-menu" onclick="toggleMenu()">
|
<div class="mobile-menu" onclick="toggleMenu()">
|
||||||
<a class="menu-link-home" href="">BR0TCRAFT</a>
|
<a class="menu-link-mobile" href="/Anwendungen">Anwendungen</a>
|
||||||
<br /><br /><br />
|
<a class="menu-link-mobile" href="/Handbücher">Handbücher</a>
|
||||||
<a class="menu-link-mobile" href="">Spiele</a>
|
<a class="menu-link-mobile" href="/Dev-Blogs">Dev-Blogs</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>
|
|
||||||
</div>
|
</div>
|
||||||
<h1 class="headline">Spiele</h1>
|
<h1 class="headline">Anwendungen</h1>
|
||||||
<div class="ElementListe">
|
<div class="ElementListe">
|
||||||
<a href=""
|
<a href="/Unity"><img src="img/SpielTypen/Unity.png" class="KategorieLink" /></a>
|
||||||
><img src="img/SpielTypen/Javascript.png" class="KategorieLink"
|
<a href="/Javascript"><img src="img/SpielTypen/Javascript.png" class="KategorieLink" /></a>
|
||||||
/></a>
|
<a href="/Turbowarp"><img src="img/SpielTypen/Turbowarp.png" class="KategorieLink" /></a>
|
||||||
<a href=""
|
<a href="/Android"><img src="img/SpielTypen/AndroidGames.png" class="KategorieLink" /></a>
|
||||||
><img src="img/SpielTypen/PocketCode.png" class="KategorieLink"
|
<a href="/itchio"><img src="img/SpielTypen/itchio.png" class="KategorieLink" /></a>
|
||||||
/></a>
|
|
||||||
<a href=""
|
|
||||||
><img src="img/SpielTypen/Unity.png" class="KategorieLink"
|
|
||||||
/></a>
|
|
||||||
<a href=""
|
|
||||||
><img src="img/SpielTypen/Turbowarp.png" class="KategorieLink"
|
|
||||||
/></a>
|
|
||||||
</div>
|
</div>
|
||||||
<h1 class="headline">Tutorials</h1>
|
<h1 class="headline">Handbücher</h1>
|
||||||
<div class="ElementListe">
|
<h1 class="headline">Dev-Blogs</h1>
|
||||||
<a href="funny-Seiten/Plankton-Gallery/"
|
<h1 class="headline">Sonstiges</h1>
|
||||||
><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>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function toggleMenu() {
|
function toggleMenu() {
|
||||||
var menuLinks = document.querySelector(".menu-links");
|
var mobileMenu = document.querySelector(".mobile-menu");
|
||||||
var mobileMenu = document.querySelector(".mobile-menu");
|
mobileMenu.classList.toggle("show");
|
||||||
var body = document.body;
|
}
|
||||||
|
|
||||||
menuLinks.classList.toggle("show");
|
|
||||||
mobileMenu.classList.toggle("show");
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
148
style.css
@ -19,10 +19,10 @@ body {
|
|||||||
top: 0px;
|
top: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 7vw;
|
height: 5vw;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
background-color: rgb(77, 0, 0);
|
background-color: rgb(77, 0, 0);
|
||||||
z-index: 0;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-container {
|
.header-container {
|
||||||
@ -40,12 +40,13 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
|
z-index: 5;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 32px;
|
right: 32px;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
font-family: Orbitron;
|
font-family: Orbitron;
|
||||||
font-size: 24px;
|
font-size: 25px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@ -55,8 +56,7 @@ body {
|
|||||||
color: white;
|
color: white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
font-size: 6vw;
|
font-size: 4vw;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-link {
|
.menu-link {
|
||||||
@ -77,29 +77,44 @@ body {
|
|||||||
text-shadow: 5px 5px 3px rgba(5, 0, 0, 0.26);
|
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 {
|
.mobile-menu-icon {
|
||||||
display: none; /* Standardmäßig ausblenden */
|
display: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0.5vw;
|
top: 1vw;
|
||||||
right: 20px;
|
right: 10px;
|
||||||
|
width: 30px;
|
||||||
|
height: 24px;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hamburger-icon {
|
.hamburger-icon {
|
||||||
width: 30px;
|
width: 100%;
|
||||||
height: 3px;
|
height: 3px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
margin: 6px 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-links {
|
.menu-links {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end; /* Rechts ausrichten */
|
justify-content: flex-end;
|
||||||
}
|
|
||||||
|
|
||||||
.menu-links.show {
|
|
||||||
display: flex;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
@ -109,7 +124,7 @@ body {
|
|||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #333; /* Hintergrundfarbe des Menüs */
|
background-color: #333;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -120,7 +135,7 @@ body {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 250%;
|
font-size: 250%;
|
||||||
margin: 20px; /* Abstand zwischen den Links hinzufügen */
|
margin: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-menu {
|
.mobile-menu {
|
||||||
@ -134,43 +149,106 @@ body {
|
|||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mobile-menu.show {
|
||||||
|
display: block;
|
||||||
|
background-color: rgb(104, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
.KategorieLink {
|
.KategorieLink {
|
||||||
width: 300px;
|
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) {
|
@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 {
|
.mobile-menu-icon {
|
||||||
display: block; /* Bei kleinen Bildschirmen anzeigen */
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hamburger-icon {
|
.errornothingpc {
|
||||||
display: block;
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.errornothingmobile {
|
||||||
|
display: block; /* Zeigt das Element auf mobilen Geräten */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-links {
|
.menu-links {
|
||||||
display: none;
|
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 */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-links.show {
|
.contact-icons {
|
||||||
display: flex;
|
position: static;
|
||||||
|
top: auto;
|
||||||
|
left: auto;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 10px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-menu.show {
|
.header-container {
|
||||||
display: block;
|
display: flex;
|
||||||
background-color: rgb(104, 0, 0);
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.KategorieLink {
|
.contact-icon {
|
||||||
width: 24%;
|
width: 5vw;
|
||||||
|
height: 4.2vw;
|
||||||
|
margin: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.email-icon {
|
||||||
|
filter: invert(100%);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.ElementListe {
|
.ElementListe {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|