diff --git a/src/routes/Header.svelte b/src/routes/Header.svelte index b73f698..0ed2bf7 100644 --- a/src/routes/Header.svelte +++ b/src/routes/Header.svelte @@ -94,7 +94,6 @@ font-weight: 400; font-size: 1em; text-decoration: none; - transition: font-style; } [data-theme="dark"] .navigation-bar a { @@ -103,7 +102,6 @@ font-weight: 300; font-size: 1em; text-decoration: none; - transition: font-style; } .navigation-bar a.current-page { @@ -115,11 +113,12 @@ display: block; width: 20px; height: 4px; - background-color: #000; + background-color: #1b2832; border-radius: 2px; margin-top: 4px; margin-left: auto; margin-right: auto; + transition: ease-in-out 0.05s; } [data-theme="dark"] .navigation-bar a.current-page { @@ -127,15 +126,7 @@ } [data-theme="dark"] .navigation-bar a.current-page::after { - content: ""; - display: block; - width: 20px; - height: 4px; background-color: #fff; - border-radius: 2px; - margin-top: 4px; - margin-left: auto; - margin-right: auto; } diff --git a/src/routes/Switcher.svelte b/src/routes/Switcher.svelte index 4900d47..34e15fb 100644 --- a/src/routes/Switcher.svelte +++ b/src/routes/Switcher.svelte @@ -74,6 +74,6 @@ } .switcher { - transition: all 0.05s; + transition: ease-in-out 0.05s; } \ No newline at end of file