From 20fa6e407fa41e98083967f5feca3c491a12d696 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Mon, 25 May 2020 10:09:25 +0000
Subject: [PATCH] Removed unncessary fade effect when switching themes

---
 assets/css/style.css |   26 +++++---------------------
 1 files changed, 5 insertions(+), 21 deletions(-)

diff --git a/assets/css/style.css b/assets/css/style.css
index 4d2de90..f017760 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -9,7 +9,6 @@
   --pre-bg-color: #f9f9fd;
   --nav-text-color:#5a5a5a;
   --tag-color: #424242;
-  transition: all .8s;
 }
 
 html[data-theme='dark'] {
@@ -21,13 +20,14 @@
   --border-color: rgb(38, 38, 38);
   --pre-bg-color:rgb(33,33,45);
   --nav-text-color:rgb(191, 191, 191);
-  --tag-color: rgb(191, 191, 191) !important;
+  --tag-color: rgb(191, 191, 191);
   
 }
 
 html {
   background-color: var(--bg-color);
   -webkit-font-smoothing: antialiased;
+  
 }
 
 body {
@@ -83,11 +83,6 @@
 
 a:link, a:visited {
   opacity: 1;
-  -webkit-transition: all .15s linear;
-  -moz-transition: all .15s linear;
-  -o-transition: all .15s linear;
-  -ms-transition: all .15s linear;
-  transition: all .15s linear;
   color: var(--tag-color);
 }
 
@@ -97,13 +92,9 @@
 
 /*basic styles ends*/
 /*animation starts*/
+
 .animated {
-  transition: all .8s;
-  -webkit-animation-fill-mode: both;
-  -moz-animation-fill-mode: both;
-  -ms-animation-fill-mode: both;
-  -o-animation-fill-mode: both;
-  animation-fill-mode: both;
+  transition: top .8s linear;
   -webkit-animation-duration: 1s;
   -moz-animation-duration: 1s;
   -ms-animation-duration: 1s;
@@ -121,44 +112,37 @@
 
 @-webkit-keyframes fadeInDown {
   0% {
-    opacity: 0;
     -webkit-transform: translateY(-20px);
   }
   100% {
-    opacity: 1;
     -webkit-transform: translateY(0);
   }
 }
 @-moz-keyframes fadeInDown {
   0% {
-    opacity: 0;
     -moz-transform: translateY(-20px);
   }
   100% {
-    opacity: 1;
     -moz-transform: translateY(0);
   }
 }
 @-o-keyframes fadeInDown {
   0% {
-    opacity: 0;
     -o-transform: translateY(-20px);
   }
   100% {
-    opacity: 1;
     -o-transform: translateY(0);
   }
 }
 @keyframes fadeInDown {
   0% {
-    opacity: 0;
     transform: translateY(-20px);
   }
   100% {
-    opacity: 1;
     transform: translateY(0);
   }
 }
+
 .fadeInDown {
   -webkit-animation-name: fadeInDown;
   -moz-animation-name: fadeInDown;

--
Gitblit v1.10.0