diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-01-10 23:04:42 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-01-10 23:04:42 -0500 |
commit | fe2fb38b04a91b8acab1ddbaa1ebb938684f3cc8 (patch) | |
tree | 9be65a04efd80c9e8780258141c4a3f8d3c6fb8e /styles/style.css | |
parent | 1c78ba7468704e05a14917ab566d75d3305cdea0 (diff) |
Make transition a bit nicer
Diffstat (limited to 'styles/style.css')
-rw-r--r-- | styles/style.css | 8 |
1 files changed, 5 insertions, 3 deletions
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 { |