frontpage/styles/ProjectModal.module.css
2022-02-05 00:31:04 +01:00

46 lines
800 B
CSS

.modal {
z-index: 99;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
padding: 5%;
background: transparent;
}
.modalContainer {
background: #272b30;
color: #ccc;
width: 100%;
height: 100%;
padding: 20px;
border-radius: 20px;
overflow-y: auto;
position: relative;
}
.modalClose {
float: right;
position: relative;
background: #555;
border-radius: 50%;
width: 2em;
height: 2em;
font-family: sans-serif;
margin-bottom: -20px;
z-index: 100;
/*text-align: center;*/
/*padding: auto 0;*/
}
.modalCloseAlign {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: block;
color: #fff;
text-decoration: none;
}