49 lines
1.2 KiB
CSS
49 lines
1.2 KiB
CSS
/** Header and included nav styles */
|
|
|
|
/* Style für Header, Navigation, Main Content, Aside und Footer */
|
|
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);
|
|
border: 1px solid var(--secondary-color);
|
|
border-radius: var(--box-border-radius);
|
|
color: var(--secondary-font-color);
|
|
margin: 16px;
|
|
padding: 10px;
|
|
}
|
|
|
|
header img {
|
|
height: calc(var(--header-height) - 5px); /* Adjust the image height to fit within the header */
|
|
margin-left: 10px; /* Space between the image and the header text */
|
|
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;
|
|
}
|
|
|
|
|
|
|