This commit is contained in:
2026-09-17 21:30:39 +02:00
parent 280da56078
commit c2b339930b
16 changed files with 142 additions and 84 deletions
+2 -4
View File
@@ -3,12 +3,10 @@
main { main {
padding: var(--main-content-padding); padding: var(--main-content-padding);
margin: 16px; margin: 16px;
height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding) - 64px); height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding));
/* 32px für die Margen */ /* 32px für die Margen */
overflow-y: auto; overflow-y: auto;
/* Scrollbar, wenn der Inhalt zu groß ist */
border: 1px solid var(--secondary-color);
border-radius: var(--box-border-radius);
} }
.editor-container { .editor-container {
+10 -3
View File
@@ -2,10 +2,17 @@
footer { footer {
height: var(--footer-height); height: var(--footer-height);
background-color: var(--primary-color); background-image: url('../images/footer.png');
background-size: auto;
background-position: left;
border: 1px solid var(--secondary-color); border: 1px solid var(--secondary-color);
border-radius: var(--box-border-radius); border-radius: var(--box-border-radius);
color: var(--secondary-font-color); color: var(--primary-color);
padding: 0px;
margin: 16px; margin: 16px;
padding: 10px; @media (max-width: 768px) {
padding: 0px; /* Adjust the padding for smaller screens */
margin: 8px; /* Adjust the margin for smaller screens */
}
} }
+62 -15
View File
@@ -3,19 +3,14 @@
/* globale Variablen */ /* globale Variablen */
:root { :root {
/* colors */ /* colors */
--primary-color: #1976D2; --primary-color: #251904;
--secondary-color: #d27519; --secondary-color: #72b8b4;
--font-color: #333333; --background-color: #eee2cb;
--secondary-font-color: #f3f5f4; --highlight-color: #a6eee9;
--background-color: #f3f5f4;
--highlight-color: #f0f0f0;
--error-color: #ff4d4f;
--success-color: #52c41a;
--data-background-color: #ffffff;
/* Dimensions */ /* Dimensions */
--header-height: 32px; --header-height: 100px;
--footer-height: 32px; --footer-height: 50px;
--main-content-padding: 20px; --main-content-padding: 20px;
--box-border-radius: 10px; --box-border-radius: 10px;
} }
@@ -23,8 +18,8 @@
/* 1. Schriftart definieren */ /* 1. Schriftart definieren */
@font-face { @font-face {
font-family: 'Inter'; /* Name, den du später im CSS verwendest */ font-family: 'TypicalWriter'; /* Name, den du später im CSS verwendest */
src: url('/static/fonts/Inter.ttf') format('truetype'); src: url('../fonts/TypicalWriter-G3LO.ttf') format('truetype');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@@ -32,12 +27,64 @@
* { * {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box;
} }
/* 2. Schriftart anwenden und Ränder entfernen*/ /* 2. Schriftart anwenden und Ränder entfernen*/
body { body {
font-family: 'Inter', Arial, sans-serif; font-family: 'TypicalWriter', Arial, sans-serif;
background-color: var(--background-color); background-color: var(--background-color);
color: var(--font-color); color: var(--primary-color);
} }
// 12 Spalten Grid System
.row::after {
content: "";
clear: both;
display: table;
}
[class*="col-"] {
float: left;
padding: 15px;
}
/* Responsive Anpassungen Handy */
[class*="col-"] {
width: 100%;
}
/* Responsive Anpassungen Tablet */
@media screen and (min-width: 600px) {
.col-s-1 {width: 8.33%;}
.col-s-2 {width: 16.66%;}
.col-s-3 {width: 25%;}
.col-s-4 {width: 33.33%;}
.col-s-5 {width: 41.66%;}
.col-s-6 {width: 50%;}
.col-s-7 {width: 58.33%;}
.col-s-8 {width: 66.66%;}
.col-s-9 {width: 75%;}
.col-s-10 {width: 83.33%;}
.col-s-11 {width: 91.66%;}
.col-s-12 {width: 100%;}
}
/* Spaltenbreiten für 12 Spalten Grid */
@media screen and (min-width: 768px) {
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
}
+31 -5
View File
@@ -1,18 +1,26 @@
/** Header and included nav styles */ /** Header and included nav styles */
/* Style für Header, Navigation, Main Content, Aside und Footer */ /* Style für Header, Navigation */
header { header {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
flex-direction: row;
@media (max-width: 768px) {
flex-direction: column;
justify-content: center;
align-items: center;
}
align-items: center; align-items: center;
height: var(--header-height); height: var(--header-height);
background-color: var(--primary-color); background-image: url('../images/header.png');
background-size: auto;
background-position: left;
border: 1px solid var(--secondary-color); border: 1px solid var(--secondary-color);
border-radius: var(--box-border-radius); border-radius: var(--box-border-radius);
color: var(--secondary-font-color); color: var(--primary-color);
margin: 16px; margin: 16px;
padding: 10px;
} }
header img { header img {
@@ -21,6 +29,19 @@ header img {
padding-right: 16px; /* Space between the image and the header text */ padding-right: 16px; /* Space between the image and the header text */
} }
header h1 {
font-weight: 800;
font-size: 3em; /* Adjust the font size as needed */
margin-left: 5px;
padding: 16px;
@media (max-width: 768px) {
font-size: 2em; /* Adjust the font size for smaller screens */
padding: 0px; /* Adjust the padding for smaller screens */
}
}
header p { header p {
font-weight: 100; font-weight: 100;
margin-left: 16px; margin-left: 16px;
@@ -29,10 +50,14 @@ header p {
nav { nav {
margin: 16px; margin: 16px;
padding: 10px; @media (max-width: 768px) {
margin: 0px;
}
padding: 5px;
} }
nav ul { nav ul {
padding-top: 15px; /* Entfernt die Standard-Padding der Liste */
list-style-type: none; /* Entfernt die Standard-Aufzählungszeichen */ list-style-type: none; /* Entfernt die Standard-Aufzählungszeichen */
display: flex; /* Macht die Liste horizontal */ display: flex; /* Macht die Liste horizontal */
gap: 20px; /* Abstand zwischen den Listenelementen */ gap: 20px; /* Abstand zwischen den Listenelementen */
@@ -43,6 +68,7 @@ nav ul li a {
color: var(--secondary-font-color); /* Setzt die Schriftfarbe */ color: var(--secondary-font-color); /* Setzt die Schriftfarbe */
} }
nav ul li a:hover { nav ul li a:hover {
text-decoration: underline; /* Unterstreichung beim Überfahren mit der Maus */ text-decoration: underline; /* Unterstreichung beim Überfahren mit der Maus */
font-weight: bold; /* Macht den Text fett */ font-weight: bold; /* Macht den Text fett */
} }
Binary file not shown.
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#1976D2"><path d="M280-280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h400q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H280Zm0-80h400q50 0 85-35t35-85q0-50-35-85t-85-35H280q-50 0-85 35t-35 85q0 50 35 85t85 35Zm42-28 142-142-42-42-100 100-40-40-42 42 82 82Zm158-92Z"/></svg>

Before

Width:  |  Height:  |  Size: 378 B

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#1976D2"><path d="M348.5-291.5Q360-303 360-320t-11.5-28.5Q337-360 320-360t-28.5 11.5Q280-337 280-320t11.5 28.5Q303-280 320-280t28.5-11.5Zm0-160Q360-463 360-480t-11.5-28.5Q337-520 320-520t-28.5 11.5Q280-497 280-480t11.5 28.5Q303-440 320-440t28.5-11.5Zm0-160Q360-623 360-640t-11.5-28.5Q337-680 320-680t-28.5 11.5Q280-657 280-640t11.5 28.5Q303-600 320-600t28.5-11.5ZM440-280h240v-80H440v80Zm0-160h240v-80H440v80Zm0-160h240v-80H440v80ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z"/></svg>

Before

Width:  |  Height:  |  Size: 695 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

+37 -10
View File
@@ -3,22 +3,49 @@
<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">
<link rel="stylesheet" href="css/barefaced_global.css">
<link rel="stylesheet" href="css/barefaced_header.css">
<link rel="stylesheet" href="css/barefaced_footer.css">
<link rel="stylesheet" href="css/barefaced_content.css">
<title>The Barefaced Home</title> <title>The Barefaced Home</title>
</head> </head>
<body> <body>
<nav> <header class="row">
<ul> <div class="col-8 col-s-12">
<li><a href="#">Home</a></li> <h1>The&nbsp;Barefaced</h1>
<li><a href="#">About</a></li> </div>
<li><a href="#">Contact</a></li> <nav class="col-4 col-s-12">
</ul> <ul>
</nav> <li><a href="#">Über&nbsp;uns</a></li>
<li><a href="#">Media</a></li>
<li><a href="#">Live</a></li>
<li><a href="#">Kontakt</a></li>
</ul>
</nav>
</header>
<main> <main>
<h1>Welcome to our website</h1> <div class="row">
<p>This is the main content area.</p> <div class="col-9 col-s-9">
<h1>The Barefaced</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<div class="col-3 col-s-12">
<div class="aside">
<h2>18.09.2026</h2>
<p>Wir ziehen mit unserem Equipment zurück in die Zollkantine in Bremen. Wir teilen uns dann den Raum mit Myrre und ihrer Band.</p>
<h2>19.09.2026</h2>
<p>Falls Du Drums spielen kannst, melde Dich!</p>
<h2>20.09.2026</h2>
<p>irgendwas passiert schon</p>
</div>
</div>
</div>
</main> </main>
<footer> <footer>
<p>&copy; 2024 Our Website. All rights reserved.</p> <div class="row col-12">
<p>&copy; 2026 The Barefaced - All rights reserved - contact: <a href="mailto:Thomas.Sindt@gmx.de">Thomas.Sindt@gmx.de</a></p>
</div>
</footer> </footer>
</body> </body>
</html> </html>