mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 10:29:58 +02:00
152 lines
2.6 KiB
CSS
152 lines
2.6 KiB
CSS
.site-header {
|
|
position: fixed;
|
|
z-index: 220;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 72px;
|
|
border-bottom: 1px solid rgba(224, 217, 228, 0.76);
|
|
background: rgba(251, 250, 252, 0.88);
|
|
box-shadow: 0 8px 30px rgba(42, 26, 49, 0.035);
|
|
backdrop-filter: blur(20px) saturate(1.3);
|
|
-webkit-backdrop-filter: blur(20px) saturate(1.3);
|
|
}
|
|
|
|
.header-inner {
|
|
display: flex;
|
|
height: 72px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
width: max-content;
|
|
}
|
|
|
|
.brand-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
height: 47px;
|
|
}
|
|
|
|
.brand-mark-image {
|
|
width: 48px;
|
|
height: 48px;
|
|
object-fit: contain;
|
|
filter: drop-shadow(0 7px 14px rgba(126, 42, 189, 0.14));
|
|
}
|
|
|
|
.brand-name {
|
|
color: var(--ink);
|
|
font-family: var(--font-display);
|
|
font-size: 19px;
|
|
font-weight: 780;
|
|
line-height: 1;
|
|
letter-spacing: -0.045em;
|
|
}
|
|
|
|
.brand-tagline {
|
|
margin-top: -4px;
|
|
margin-left: 4px;
|
|
color: #756c79;
|
|
font-size: 9px;
|
|
font-weight: 580;
|
|
line-height: 1;
|
|
letter-spacing: -0.01em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.header-github-button {
|
|
display: inline-flex;
|
|
min-height: 40px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 0 14px;
|
|
border: 1px solid #28232b;
|
|
border-radius: 10px;
|
|
background: var(--ink);
|
|
box-shadow: 0 8px 22px rgba(23, 20, 25, 0.13), inset 0 1px rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
font-size: 12px;
|
|
font-weight: 680;
|
|
line-height: 1;
|
|
animation: none;
|
|
transform: none;
|
|
}
|
|
|
|
.header-github-button:hover {
|
|
border-color: #6f6475;
|
|
background: #302a34;
|
|
box-shadow: 0 11px 28px rgba(23, 20, 25, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.header-github-button:focus-visible {
|
|
outline: 3px solid rgba(168, 85, 247, 0.28);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.header-github-button svg {
|
|
width: 17px;
|
|
height: 16px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
@media (max-width: 680px) {
|
|
.site-header,
|
|
.header-inner {
|
|
height: 64px;
|
|
}
|
|
|
|
.brand-mark-image {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.brand-primary {
|
|
height: 43px;
|
|
}
|
|
|
|
.brand-name {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.brand-tagline {
|
|
margin-top: -3px;
|
|
margin-left: 3px;
|
|
font-size: 8px;
|
|
}
|
|
|
|
.header-github-button {
|
|
min-height: 38px;
|
|
gap: 7px;
|
|
padding-inline: 12px;
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 360px) {
|
|
.brand-mark-image {
|
|
width: 41px;
|
|
height: 41px;
|
|
}
|
|
|
|
.brand-name {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.brand-tagline {
|
|
font-size: 7.5px;
|
|
}
|
|
|
|
.header-github-button {
|
|
min-height: 36px;
|
|
padding-inline: 10px;
|
|
font-size: 10px;
|
|
}
|
|
}
|