mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
25.09.2020 20fa6e407fa41e98083967f5feca3c491a12d696
Removed unncessary fade effect when switching themes
1 files modified
26 ■■■■ changed files
assets/css/style.css 26 ●●●● patch | view | raw | blame | history
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;