Be a bit more subtle with the gradient's colors (#3636)

This commit is contained in:
Markus Thömmes 2021-05-25 13:06:38 +02:00 committed by GitHub
parent 70ee0fcbe1
commit 8e054aa73f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 9 deletions

View File

@ -25,20 +25,17 @@
}
@keyframes continuousgradient {
from {
background-position: 0% 50%;
}
to {
background-position: 100% 50%;
}
0% {background-position: 0% 50%;}
50% {background-position: 100% 50%;}
100% {background-position: 0% 50%;}
}
.animated-gradient {
animation-name: continuousgradient;
background: linear-gradient(-45deg, #6593c8, #0366ad, #000, #6593c8, #0366ad, #000);
animation-duration: 6s;
background: linear-gradient(-45deg, #1d6ba6, #000);
animation-duration: 12s;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-timing-function: ease-in-out;
position: absolute;
top: 0;
width: 100%;