aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-05 00:16:53 -0800
committerFuwn <[email protected]>2024-01-05 00:16:53 -0800
commit99e48302a758e0df5079e72ddef32cb31485d84e (patch)
treea5f64711ba28a658e79c556557fccc804cc2c1e6 /src
parentrefactor(layout): move navigation items (diff)
downloaddue.moe-99e48302a758e0df5079e72ddef32cb31485d84e.tar.xz
due.moe-99e48302a758e0df5079e72ddef32cb31485d84e.zip
feat(layout): better navigation styles
Diffstat (limited to 'src')
-rw-r--r--src/routes/+layout.svelte9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 7126641a..858c9f33 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -126,6 +126,7 @@
:global(a) {
text-decoration: none;
+ transition: all 0.15s ease-in-out;
}
:global(a:hover) {
@@ -135,4 +136,12 @@
.header-item {
margin: 0 0.625rem;
}
+
+ .header-item:hover {
+ text-decoration: none;
+ }
+
+ .header-item:active {
+ outline: none;
+ }
</style>