diff --git a/src/lib/IO/Button.svelte b/src/lib/IO/Button.svelte index b15656b..91d80c3 100644 --- a/src/lib/IO/Button.svelte +++ b/src/lib/IO/Button.svelte @@ -31,13 +31,24 @@ border: none; background-color: var(--button-color); + transition: transform 100ms ease-in-out; + transform: translate(0, 0); + display: flex; justify-content: center; font-size: 1.5em; + + box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.3); } .button:hover { + transition: transform 100ms ease-in-out; + transform: translate(0, -5px); + cursor: pointer; + + box-shadow: + inset 0 0 0 100px rgba(255, 255, 255, 0.25); } .content { diff --git a/src/lib/posts/NewsCard.svelte b/src/lib/posts/NewsCard.svelte index b511a8b..07b952d 100644 --- a/src/lib/posts/NewsCard.svelte +++ b/src/lib/posts/NewsCard.svelte @@ -1,12 +1,12 @@ -