39 lines
586 B
CSS
39 lines
586 B
CSS
body {
|
|
background-color: black;
|
|
}
|
|
.parent {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: auto;
|
|
grid-column-gap: 0px;
|
|
grid-row-gap: 30px;
|
|
}
|
|
|
|
.container {
|
|
font-size: 1.2em;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-right: -50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.center-screen {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
max-width: 950px;
|
|
}
|
|
|
|
.imgbox {
|
|
display: grid;
|
|
height: 100%;
|
|
}
|
|
.img-container {
|
|
max-width: 100%;
|
|
max-height: 100vh;
|
|
margin: auto;
|
|
}
|