An experimental TypeSpec syntax for Lexicon

fix

+5 -1
+5 -1
packages/website/src/layouts/BaseLayout.astro
··· 76 76 const handleScroll = () => { 77 77 const titleRect = heroTitle.getBoundingClientRect(); 78 78 79 - if (titleRect.bottom < 0) { 79 + if (titleRect.bottom < 16) { 80 80 nav.classList.remove('transparent'); 81 81 } else { 82 82 nav.classList.add('transparent'); ··· 167 167 background-clip: text; 168 168 text-decoration: none; 169 169 transition: all 0.3s ease; 170 + padding-left: 80px; 171 + padding-right: 80px; 172 + margin-left: -80px; 173 + margin-right: -80px; 170 174 } 171 175 172 176 .nav-links {