-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNav.module.css
More file actions
121 lines (108 loc) · 2.13 KB
/
Nav.module.css
File metadata and controls
121 lines (108 loc) · 2.13 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
119
120
121
.nav {
position: fixed;
top: 0;
left: 0;
right: 0;
height: var(--nav-height);
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
background: rgba(2, 4, 8, 0.5);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid transparent;
transition: all 0.4s ease;
}
.scrolled {
background: rgba(2, 4, 8, 0.85);
border-bottom-color: var(--border-dim);
}
.inner {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
max-width: var(--max-width);
padding: 0 24px;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
}
.name {
font-family: var(--font-display);
font-size: 1.1rem;
font-weight: 700;
letter-spacing: 3px;
background: linear-gradient(90deg, var(--text-primary), var(--cyan-bright));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.links {
display: flex;
align-items: center;
gap: 32px;
list-style: none;
}
.link {
font-family: var(--font-mono);
font-size: 0.72rem;
font-weight: 500;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--text-secondary);
position: relative;
padding: 4px 0;
transition: all 0.3s ease;
}
.link:hover {
color: var(--cyan-bright);
text-shadow: 0 0 12px var(--cyan-glow);
}
.link::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 1px;
background: var(--cyan);
box-shadow: 0 0 6px var(--cyan-glow);
transition: width 0.3s ease;
}
.link:hover::after {
width: 100%;
}
.mobileBtn {
display: none;
background: none;
border: 1px solid var(--border-glow);
border-radius: var(--radius-xs);
padding: 8px;
cursor: pointer;
color: var(--cyan);
}
@media (max-width: 768px) {
.links {
display: none;
position: fixed;
top: var(--nav-height);
left: 0;
right: 0;
background: rgba(2, 4, 8, 0.95);
backdrop-filter: blur(20px);
flex-direction: column;
padding: 24px;
gap: 20px;
border-bottom: 1px solid var(--border-dim);
}
.links.open {
display: flex;
}
.mobileBtn {
display: flex;
}
}