Add some more and smoother transistions
All checks were successful
Deploy Astro / Build and Deploy (push) Successful in 54s
All checks were successful
Deploy Astro / Build and Deploy (push) Successful in 54s
This commit is contained in:
@@ -25,21 +25,6 @@ import Logo from "../assets/logo.svg";
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<style is:global>
|
||||
body:has(nav a[href="/"]:hover) {
|
||||
--accent-base: var(--accent-base--default);
|
||||
}
|
||||
body:has(nav a[href="/portfolio"]:hover) {
|
||||
--accent-base: var(--accent-base--portfolio);
|
||||
}
|
||||
body:has(nav a[href="/blog"]:hover) {
|
||||
--accent-base: var(--accent-base--blog);
|
||||
}
|
||||
body:has(nav a[href="/book"]:hover) {
|
||||
--accent-base: var(--accent-base--book);
|
||||
}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
.main-nav {
|
||||
position: sticky;
|
||||
|
||||
Reference in New Issue
Block a user