diff options
| author | Fuwn <[email protected]> | 2024-01-05 00:16:53 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-05 00:16:53 -0800 |
| commit | 99e48302a758e0df5079e72ddef32cb31485d84e (patch) | |
| tree | a5f64711ba28a658e79c556557fccc804cc2c1e6 /src | |
| parent | refactor(layout): move navigation items (diff) | |
| download | due.moe-99e48302a758e0df5079e72ddef32cb31485d84e.tar.xz due.moe-99e48302a758e0df5079e72ddef32cb31485d84e.zip | |
feat(layout): better navigation styles
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/+layout.svelte | 9 |
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> |