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 {
padding: var(--main-content-padding);
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 */
overflow-y: auto;
/* Scrollbar, wenn der Inhalt zu groß ist */
border: 1px solid var(--secondary-color);
border-radius: var(--box-border-radius);
}
.editor-container {
+10 -3
View File
@@ -2,10 +2,17 @@
footer {
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-radius: var(--box-border-radius);
color: var(--secondary-font-color);
color: var(--primary-color);
padding: 0px;
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 */
:root {
/* colors */
--primary-color: #1976D2;
--secondary-color: #d27519;
--font-color: #333333;
--secondary-font-color: #f3f5f4;
--background-color: #f3f5f4;
--highlight-color: #f0f0f0;
--error-color: #ff4d4f;
--success-color: #52c41a;
--data-background-color: #ffffff;
--primary-color: #251904;
--secondary-color: #72b8b4;
--background-color: #eee2cb;
--highlight-color: #a6eee9;
/* Dimensions */
--header-height: 32px;
--footer-height: 32px;
--header-height: 100px;
--footer-height: 50px;
--main-content-padding: 20px;
--box-border-radius: 10px;
}
@@ -23,8 +18,8 @@
/* 1. Schriftart definieren */
@font-face {
font-family: 'Inter'; /* Name, den du später im CSS verwendest */
src: url('/static/fonts/Inter.ttf') format('truetype');
font-family: 'TypicalWriter'; /* Name, den du später im CSS verwendest */
src: url('../fonts/TypicalWriter-G3LO.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@@ -32,12 +27,64 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* 2. Schriftart anwenden und Ränder entfernen*/
body {
font-family: 'Inter', Arial, sans-serif;
font-family: 'TypicalWriter', Arial, sans-serif;
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 */
/* Style für Header, Navigation, Main Content, Aside und Footer */
/* Style für Header, Navigation */
header {
display: flex;
justify-content: flex-start;
flex-direction: row;
@media (max-width: 768px) {
flex-direction: column;
justify-content: center;
align-items: center;
}
align-items: center;
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-radius: var(--box-border-radius);
color: var(--secondary-font-color);
color: var(--primary-color);
margin: 16px;
padding: 10px;
}
header img {
@@ -21,6 +29,19 @@ header img {
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 {
font-weight: 100;
margin-left: 16px;
@@ -29,10 +50,14 @@ header p {
nav {
margin: 16px;
padding: 10px;
@media (max-width: 768px) {
margin: 0px;
}
padding: 5px;
}
nav ul {
padding-top: 15px; /* Entfernt die Standard-Padding der Liste */
list-style-type: none; /* Entfernt die Standard-Aufzählungszeichen */
display: flex; /* Macht die Liste horizontal */
gap: 20px; /* Abstand zwischen den Listenelementen */
@@ -43,6 +68,7 @@ nav ul li a {
color: var(--secondary-font-color); /* Setzt die Schriftfarbe */
}
nav ul li a:hover {
text-decoration: underline; /* Unterstreichung beim Überfahren mit der Maus */
font-weight: bold; /* Macht den Text fett */
}