Erster Wurf des Mockups
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user