104 lines
1.5 KiB
CSS
104 lines
1.5 KiB
CSS
|
|
.header {
|
||
|
|
position: sticky;
|
||
|
|
top: 0;
|
||
|
|
z-index: 100;
|
||
|
|
background: white;
|
||
|
|
border-bottom: 1px solid #e5e7eb;
|
||
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
||
|
|
}
|
||
|
|
|
||
|
|
.container {
|
||
|
|
max-width: 1280px;
|
||
|
|
margin: 0 auto;
|
||
|
|
padding: 0 1.5rem;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
height: 64px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logo {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.75rem;
|
||
|
|
text-decoration: none;
|
||
|
|
color: #1f2937;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
font-weight: 700;
|
||
|
|
transition: color 0.2s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logo:hover {
|
||
|
|
color: #3b82f6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logoIcon {
|
||
|
|
font-size: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logoText {
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav {
|
||
|
|
display: flex;
|
||
|
|
gap: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.navLink {
|
||
|
|
position: relative;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
padding: 0.625rem 1rem;
|
||
|
|
font-size: 0.9375rem;
|
||
|
|
font-weight: 500;
|
||
|
|
color: #6b7280;
|
||
|
|
text-decoration: none;
|
||
|
|
border-radius: 6px;
|
||
|
|
transition: all 0.2s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.navLink:hover {
|
||
|
|
color: #1f2937;
|
||
|
|
background: #f3f4f6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.navLink.active {
|
||
|
|
color: #3b82f6;
|
||
|
|
background: #eff6ff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.badge {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
min-width: 1.25rem;
|
||
|
|
height: 1.25rem;
|
||
|
|
padding: 0 0.375rem;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 600;
|
||
|
|
color: white;
|
||
|
|
background: #3b82f6;
|
||
|
|
border-radius: 9999px;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 640px) {
|
||
|
|
.container {
|
||
|
|
padding: 0 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logoText {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav {
|
||
|
|
gap: 0.25rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.navLink {
|
||
|
|
padding: 0.5rem 0.75rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
}
|
||
|
|
}
|