From fe2fb38b04a91b8acab1ddbaa1ebb938684f3cc8 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 10 Jan 2022 23:04:42 -0500 Subject: Make transition a bit nicer --- styles/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'styles/style.css') diff --git a/styles/style.css b/styles/style.css index 463193b..b5c50dd 100644 --- a/styles/style.css +++ b/styles/style.css @@ -1,10 +1,14 @@ * { font-family: "Roboto", sans-serif; - background-color: var(--main-bg); color: var(--main-color); transition-duration: 0.2s; } +html { + background-color: var(--main-bg); + transition-duration: 0.5s; +} + h1::after { display: block; @@ -19,7 +23,6 @@ h1::after { a { color: var(--link-color); text-decoration: none; - transition-duration: 0.2s; } a:hover { @@ -57,7 +60,6 @@ button#light-dark { border: none; border-radius: 5px; cursor: pointer; - transition-duration: 0.2s; } button#light-dark:hover { -- cgit v1.2.3