tangled
alpha
login
or
join now
danabra.mov
/
typelex
56
fork
atom
An experimental TypeSpec syntax for Lexicon
56
fork
atom
overview
issues
1
pulls
2
pipelines
fix
danabra.mov
5 months ago
7f093557
228f3967
+5
-1
1 changed file
expand all
collapse all
unified
split
packages
website
src
layouts
BaseLayout.astro
+5
-1
packages/website/src/layouts/BaseLayout.astro
···
76
const handleScroll = () => {
77
const titleRect = heroTitle.getBoundingClientRect();
78
79
-
if (titleRect.bottom < 0) {
80
nav.classList.remove('transparent');
81
} else {
82
nav.classList.add('transparent');
···
167
background-clip: text;
168
text-decoration: none;
169
transition: all 0.3s ease;
0
0
0
0
170
}
171
172
.nav-links {
···
76
const handleScroll = () => {
77
const titleRect = heroTitle.getBoundingClientRect();
78
79
+
if (titleRect.bottom < 16) {
80
nav.classList.remove('transparent');
81
} else {
82
nav.classList.add('transparent');
···
167
background-clip: text;
168
text-decoration: none;
169
transition: all 0.3s ease;
170
+
padding-left: 80px;
171
+
padding-right: 80px;
172
+
margin-left: -80px;
173
+
margin-right: -80px;
174
}
175
176
.nav-links {