From 3cd86973d488c296af7cfa7174aceed6e39fca12 Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Thu, 3 Dec 2020 23:03:15 +0100 Subject: [PATCH] Added transitions here and there --- css/darkmode.css | 3 +++ css/style.css | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/css/darkmode.css b/css/darkmode.css index 8fb9d28..3010765 100644 --- a/css/darkmode.css +++ b/css/darkmode.css @@ -18,11 +18,13 @@ body.darkMode { hr.darkMode { border-color: rgb(144, 144, 144) !important; + transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1); } .dropdown-item.darkMode { background-color: rgb(56, 56, 56) !important; color: white !important; + transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1); } .dropdown-item.darkMode:hover { @@ -33,4 +35,5 @@ hr.darkMode { background-color: rgb(56, 56, 56) !important; color: white !important; border: 1px solid rgba(204, 204, 204, 0.418) !important; + transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1); } \ No newline at end of file diff --git a/css/style.css b/css/style.css index 05d988a..b4eda97 100644 --- a/css/style.css +++ b/css/style.css @@ -17,7 +17,7 @@ div.highlight { margin-left: -15px; margin-right: -15px; width: 100vw; - + transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1); } nav { @@ -39,6 +39,7 @@ header { a { outline: none !important; + transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1); } button {