Spaces:
Sleeping
Sleeping
File size: 1,871 Bytes
af980d7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | .nav {
position: sticky;
top: 0;
z-index: 120;
background: var(--nav-bg);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
border-bottom: 1px solid var(--nav-border);
}
.inner {
max-width: 1280px;
margin: 0 auto;
padding: 0 24px;
min-height: 70px;
display: flex;
align-items: center;
gap: 18px;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
}
.logoMark {
width: 38px;
height: 38px;
background: linear-gradient(135deg, var(--accent), var(--accent-hover));
color: white;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.brandText {
display: flex;
flex-direction: column;
line-height: 1;
}
.brandName {
font-size: 15px;
font-weight: 700;
color: var(--text-primary);
letter-spacing: -0.3px;
}
.brandSub {
font-size: 10px;
color: var(--text-muted);
font-weight: 500;
letter-spacing: 0.24px;
text-transform: uppercase;
margin-top: 4px;
}
.actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 6px;
}
.themeToggle,
.navLink {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 12px;
font-size: 13px;
font-weight: 500;
color: var(--nav-link);
text-decoration: none;
border-radius: 999px;
transition: all 0.15s ease;
border: 1px solid transparent;
background: transparent;
cursor: pointer;
font-family: inherit;
}
.themeToggle {
background: var(--theme-toggle-bg);
border-color: var(--theme-toggle-border);
}
.themeToggle:hover,
.navLink:hover {
background: var(--nav-link-hover-bg);
color: var(--text-primary);
}
@media (max-width: 600px) {
.inner {
min-height: 64px;
padding: 0 16px;
}
.navLink span,
.themeToggle span {
display: none;
}
.navLink,
.themeToggle {
padding: 8px;
}
}
|