Files
wehub-resource-sync 979fb22d7c
CI / test (20, macos-latest) (push) Waiting to run
CI / test (20, ubuntu-latest) (push) Waiting to run
CI / test (22, macos-latest) (push) Waiting to run
CI / test (22, ubuntu-latest) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:01:18 +08:00

134 lines
2.1 KiB
CSS

.nav {
position: fixed;
inset: 0 0 auto 0;
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 32px;
padding: 14px 32px;
z-index: 100;
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--charcoal);
}
.brand {
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--white);
}
.brandIcon {
width: 36px;
height: 36px;
display: block;
}
.brandWord {
font-size: 17px;
font-weight: 900;
letter-spacing: -0.01em;
text-transform: uppercase;
}
.links {
display: flex;
justify-content: center;
gap: 28px;
}
.link {
font-size: 12.5px;
font-weight: 700;
letter-spacing: 0.14px;
text-transform: uppercase;
color: var(--steel);
padding: 6px 2px;
border-bottom: 1px solid transparent;
transition: color 180ms ease, border-color 180ms ease;
}
.link:hover {
color: var(--white);
border-bottom-color: var(--gold);
}
.right {
display: flex;
align-items: center;
gap: 10px;
justify-self: end;
}
.gh {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 9px 14px;
border: 1px solid var(--charcoal);
background: var(--iron);
color: var(--white);
font-size: 12.5px;
letter-spacing: 0.12px;
transition:
border-color 180ms ease,
background 180ms ease,
color 180ms ease;
}
.gh:hover {
border-color: var(--gold);
background: var(--charcoal);
color: var(--white);
}
.ghLabel {
font-weight: 700;
letter-spacing: 0.96px;
text-transform: uppercase;
font-size: 11px;
}
.ghDivider {
width: 1px;
height: 14px;
background: var(--charcoal);
}
.ghCount {
font-family: var(--font-mono);
font-weight: 900;
color: var(--white);
}
.cta {
padding: 10px 18px !important;
font-size: 12px !important;
}
@media (max-width: 1024px) {
.links {
gap: 20px;
}
.link {
font-size: 12px;
}
.ghLabel {
display: none;
}
}
@media (max-width: 860px) {
.links {
display: none;
}
.nav {
grid-template-columns: 1fr auto;
}
}
@media (max-width: 720px) {
.nav {
padding: 12px 20px;
gap: 16px;
grid-template-columns: 1fr auto;
}
.cta,
.gh {
display: none;
}
}