-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.module.css
More file actions
118 lines (102 loc) · 1.92 KB
/
Copy pathstyles.module.css
File metadata and controls
118 lines (102 loc) · 1.92 KB
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
115
116
117
118
.navbarContainer {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
}
.navbarBrand {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
padding-left: 24px;
}
.navbarLogoLink {
display: flex;
align-items: center;
text-decoration: none;
color: inherit;
transition: opacity 0.2s;
}
.navbarLogoLink:hover {
opacity: 0.8;
}
.navbarLogo {
height: 30px;
width: auto;
}
.logo {
font-size: 1.3rem;
font-weight: 600;
font-family: 'Inter', 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;
letter-spacing: -0.02em;
color: var(--text);
line-height: 1;
}
/* Center: navigation links */
.navbarCenter {
position: absolute;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 2rem;
}
.navbarCenter :global(.navbar__link) {
font-size: 0.875rem;
font-weight: 400;
color: var(--text-light);
padding: 0;
text-decoration: none;
transition: opacity 0.15s ease;
}
.navbarCenter :global(.navbar__link:hover) {
opacity: 0.7;
text-decoration: none;
color: var(--primary);
}
.navbarCenter :global(.navbar__link--active) {
font-weight: 600;
}
.navbarCenter :global(.navbar__link--active:hover) {
opacity: 1;
}
/* Right: theme toggle */
.navbarRight {
display: flex;
align-items: center;
gap: 1rem;
flex-shrink: 0;
margin-left: auto;
padding-right: 24px;
}
/* Theme toggle */
.themeToggle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 8px;
border: 1px solid var(--border);
background: transparent;
color: var(--text-light);
cursor: pointer;
transition: all 0.15s;
}
.themeToggle:hover {
border-color: var(--primary);
color: var(--primary);
}
@media (max-width: 996px) {
.navbarBrand {
padding-left: 16px;
}
.navbarRight {
padding-right: 16px;
}
.navbarCenter {
display: none;
}
}