Center the damn GDPR banner

This commit is contained in:
swaggboi 2022-02-15 22:46:10 -05:00
parent 988cb84bbf
commit a676a88c7d

View File

@ -34,7 +34,7 @@ html, body {
border-style: solid; border-style: solid;
border-color: #FFFFFF; border-color: #FFFFFF;
text-align: center; text-align: center;
width: 70%; width: 100%;
padding: 1em; padding: 1em;
-webkit-animation-name: fade_in; -webkit-animation-name: fade_in;
-webkit-animation-duration: 1.5s; -webkit-animation-duration: 1.5s;
@ -42,9 +42,7 @@ html, body {
animation-duration: 1.5s; animation-duration: 1.5s;
position: absolute; position: absolute;
z-index: 10; z-index: 10;
top: 50%; top: 0%;
left: 50%;
margin: -10em auto auto -29em;
} }
.modal.buttons { .modal.buttons {
@ -106,13 +104,27 @@ html, body {
} }
@-webkit-keyframes fade_in { @-webkit-keyframes fade_in {
from { opacity: 0; } from {
to { opacity: 1; } opacity: 0;
top: -100%;
}
to {
opacity: 1;
top: 0%;
}
} }
@keyframes fade_in { @keyframes fade_in {
from { opacity: 0; } from {
to { opacity: 1; } opacity: 0;
top: -100%;
}
to {
opacity: 1;
top: 0%;
}
} }
@-webkit-keyframes fade_out { @-webkit-keyframes fade_out {