diff --git a/.gitignore b/.gitignore index 6635cf5..3249896 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ node_modules !.env.example vite.config.js.timestamp-* vite.config.ts.timestamp-* +**/_test.* \ No newline at end of file diff --git a/src/lib/Post.svelte b/src/lib/Post.svelte index a51b650..7a5bb70 100644 --- a/src/lib/Post.svelte +++ b/src/lib/Post.svelte @@ -62,22 +62,31 @@ .footer a { display: flex; align-items: center; - gap: 1rem; + gap: 0.45em; - font-size: 0.9rem; + font-size: 1rem; color: var(--content-color-faded); - text-decoration: none; + text-decoration: underline; + text-underline-offset: 0.25em; + text-decoration-color: transparent; transition: 150ms; - will-change: transform; } .footer a:hover { + text-decoration-color: currentColor; text-decoration: underline; - transform: scale(1.15); } .footer svg { - width: 1.5em; + width: 1em; + transition: 150ms; + } + + a.prev:hover svg { + transform: translateX(-50%); + } + a.next:hover svg { + transform: translateX(50%); } @@ -104,8 +113,8 @@