34 lines
589 B
CSS
34 lines
589 B
CSS
.modal-overlay {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal-overlay.is-visible {
|
|
display: flex;
|
|
}
|
|
|
|
.modal {
|
|
background: var(--brand-background);
|
|
padding: 1.5rem;
|
|
border-radius: 6px;
|
|
text-align: center;
|
|
max-width: 320px;
|
|
width: 90%;
|
|
}
|
|
|
|
@media only screen and (min-width: 900px) {
|
|
.modal nav {
|
|
padding: 24px 42px 24px 42px;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 800px) {
|
|
.modal nav {
|
|
padding: 0;
|
|
}
|
|
} |