Update style.css

This commit is contained in:
Games-From-Flash 2022-04-08 18:06:49 -04:00 committed by GitHub
parent 9bf2fd6c92
commit c5a6ca9fa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,33 +2,57 @@
font-family: 'Amaranth', sans-serif; font-family: 'Amaranth', sans-serif;
} }
@keyframes bg-gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes fadeIn {
0% {opacity:0;}
10% {opacity:0.4;}
50% {opacity:0.8}
100% {opacity:1;}
}
body { body {
background: linear-gradient(90deg, rgba(71,71,178,1) 0%, rgba(53,143,185,1) 100%); background: linear-gradient(-45deg, #349ef0, #7a4abe, #349ef0);
background-size: 400% 400%;
animation: bg-gradient 15s ease infinite;
} }
p { p {
color:#b5b7eb; color:#b5b7eb;
animation: fadeIn ease-out 0.8s;
} }
h1 { h1 {
position:relative; position:relative;
left:80px; left:80px;
color:#b5b7eb; color:#b5b7eb;
animation: fadeIn ease-out 0.8s;
} }
button { button {
background-color: #90b5f0; background-color: rgba(255,255,255,0.3);
color: #232f42; color: #232f42;
border: 2.5px solid #6186c2; border: 2.5px solid #6186c2;
border-radius: 10px; border-radius: 10px;
padding: 5px 13px; padding: 5px 13px;
margin-bottom: 6px; margin-bottom: 6px;
transition-duration: 0.45s; transition-duration: 0.45s;
animation: fadeIn ease-out 0.8s;
} }
button:hover { button:hover {
background-color:#6186c2; background-color:rgba(0,0,0,0.2);
border: 2.5px solid #81a1d6; border: 2.5px solid #81a1d6;
color: #9dade3;
} }
a:link { a:link {
@ -44,10 +68,13 @@ header {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 15px 10%; padding: 15px 10%;
background: linear-gradient(90deg, rgba(116,94,218,1) 0%, rgba(64,160,234,1) 100%); background: linear-gradient(-45deg, #626ce0, #349ef0, #626ce0);
background-size: 400% 400%;
animation: bg-gradient 15s ease infinite;
border-radius:100px; border-radius:100px;
border: linear-gradient(90deg, rgba(52,158,240,1) 0%, rgba(74,87,191,1) 100%); border: linear-gradient(90deg, rgba(52,158,240,1) 0%, rgba(74,87,191,1) 100%);
border: 10px solid #4f71b0; border: 10px solid #4f71b0;
animation: fadeIn ease-out 0.8s;
} }
.logo { .logo {
@ -76,5 +103,3 @@ p1 {
font-size: 1.75em; font-size: 1.75em;
color:#b5b7eb; color:#b5b7eb;
} }