Responsive pop-up

This commit is contained in:
Matéo Duparc 2021-05-28 19:15:34 +02:00
parent 0eee053b5e
commit bd795ca995
Signed by: hardcoresushi
GPG Key ID: 007F84120107191E
2 changed files with 16 additions and 1 deletions

View File

@ -67,6 +67,21 @@ main.card {
border-radius: 10px;
font-size: 1.2em;
}
@media (max-width: 1700px) {
.popup {
width: 50vw;
}
}
@media (max-width: 1400px) {
.popup {
width: 60vw;
}
}
@media (max-width: 1100px) {
.popup {
width: 70vw;
}
}
.popup:last-child::after {
content: "";
display: block;

View File

@ -59,7 +59,7 @@ button:hover::after {
}
.popup h2.warning::before {
content: url("/static/imgs/icons/warning/ACCENT_COLOR");
width: 9%;
width: 2em;
display: inline-block;
vertical-align: middle;
}