Erster Wurf des Mockups

This commit is contained in:
2026-09-21 18:28:23 +02:00
parent c533d8a39e
commit 1a06080a82
7 changed files with 162 additions and 20 deletions
+36 -1
View File
@@ -11,8 +11,43 @@ main {
border-radius: var(--box-border-radius);
}
nav {
height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding) - 96px);
overflow-y: auto;
/* Scrollbar, wenn der Inhalt zu groß ist */
display: flex; /* Macht die Liste horizontal */
justify-content: flex-start; /* Elemente am Anfang ausrichten */
flex-direction: column; /* Elemente vertikal anordnen */
border: 1px solid var(--secondary-color);
border-radius: var(--box-border-radius);
margin: 16px;
@media (max-width: 768px) {
margin: 0px;
}
padding: 5px;
background-color: var(--primary-font-color);
}
nav ul {
padding-top: 15px; /* Entfernt die Standard-Padding der Liste */
list-style-type: none; /* Entfernt die Standard-Aufzählungszeichen */
flex-wrap: wrap; /* Elemente umbrechen, wenn der Platz nicht ausreicht */
gap: 20px; /* Abstand zwischen den Listenelementen */
}
nav ul li a {
text-decoration: none; /* Entfernt die Unterstreichung */
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 */
}
.editor-container {
height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding) - 132px);
height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding) - 96px);
display: flex;
flex-direction: row;
/* Elemente horizontal anordnen */
+4
View File
@@ -8,4 +8,8 @@ footer {
color: var(--secondary-font-color);
margin: 16px;
padding: 10px;
@media (max-width: 768px) {
padding: 0px; /* Adjust the padding for smaller screens */
margin: 8px; /* Adjust the margin for smaller screens */
}
}
+53 -1
View File
@@ -14,7 +14,7 @@
--data-background-color: #ffffff;
/* Dimensions */
--header-height: 32px;
--header-height: 64px;
--footer-height: 32px;
--main-content-padding: 20px;
--box-border-radius: 10px;
@@ -32,8 +32,60 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
// 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%;}
}
/* 2. Schriftart anwenden und Ränder entfernen*/
body {
font-family: 'Inter', Arial, sans-serif;
+17 -17
View File
@@ -4,6 +4,12 @@
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);
@@ -21,28 +27,22 @@ header img {
padding-right: 16px; /* Space between the image and the header text */
}
header h1 {
font-weight: 600;
font-size: 2em; /* Adjust the font size as needed */
margin-left: 5px;
padding: 16px;
@media (max-width: 768px) {
font-size: 1em; /* Adjust the font size for smaller screens */
padding: 0px; /* Adjust the padding for smaller screens */
}
}
header p {
font-weight: 100;
margin-left: 16px;
padding-right: 16px;
}
nav {
margin: 16px;
padding: 10px;
}
nav ul {
list-style-type: none; /* Entfernt die Standard-Aufzählungszeichen */
display: flex; /* Macht die Liste horizontal */
gap: 20px; /* Abstand zwischen den Listenelementen */
}
nav ul li a {
text-decoration: none; /* Entfernt die Unterstreichung */
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 */
}