101 lines
1.9 KiB
CSS
101 lines
1.9 KiB
CSS
/* Shahnam und Vincent: Gemeinsame Kopfzeile für US 04-05. */
|
|
:root {
|
|
--navigation-height: 99px;
|
|
}
|
|
|
|
.site-navigation,
|
|
.site-navigation * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.site-navigation {
|
|
/* Bleibt über alle Seitenbereiche hinweg oben sichtbar und behält ihren Platz im Layout. */
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
border-top: 3px solid #4597a3;
|
|
background: #071419;
|
|
color: #fff;
|
|
font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
|
|
line-height: 1.6;
|
|
box-shadow: 0 4px 16px rgb(0 0 0 / 16%);
|
|
}
|
|
|
|
.site-navigation .brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
width: min(1680px, calc(100% - clamp(40px, 10vw, 192px)));
|
|
min-height: calc(var(--navigation-height) - 3px);
|
|
margin-inline: auto;
|
|
padding-block: 8px;
|
|
}
|
|
|
|
.site-navigation .brand__logo {
|
|
display: grid;
|
|
place-items: center;
|
|
flex-shrink: 0;
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 22px;
|
|
background: #fff;
|
|
}
|
|
|
|
.site-navigation .brand__logo img {
|
|
display: block;
|
|
width: 60px;
|
|
height: 60px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.site-navigation .brand__text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.site-navigation .brand__name {
|
|
color: #8a9093;
|
|
font-size: 14px;
|
|
font-weight: 650;
|
|
line-height: 1.4;
|
|
letter-spacing: 0.25em;
|
|
}
|
|
|
|
.site-navigation .brand__label {
|
|
color: #b7bec2;
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
:root {
|
|
--navigation-height: 81px;
|
|
}
|
|
|
|
.site-navigation .brand {
|
|
gap: 12px;
|
|
}
|
|
|
|
.site-navigation .brand__logo {
|
|
width: 66px;
|
|
height: 62px;
|
|
border-radius: 17px;
|
|
}
|
|
|
|
.site-navigation .brand__logo img {
|
|
width: 46px;
|
|
height: 46px;
|
|
}
|
|
|
|
.site-navigation .brand__name {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.site-navigation .brand__label {
|
|
font-size: 13px;
|
|
}
|
|
}
|