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