2023-12-11 14:18:17 +00:00
|
|
|
body,
|
|
|
|
html {
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
2021-09-19 12:29:58 +00:00
|
|
|
background: #ffffff;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
-ms-transform: translate(-50%, -50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.contain {
|
2023-12-11 14:18:17 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-09-19 12:29:58 +00:00
|
|
|
object-fit: contain;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stretch {
|
2023-12-11 14:18:17 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-09-19 12:29:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.cover {
|
2023-12-11 14:18:17 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-09-19 12:29:58 +00:00
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
body {
|
2023-12-11 14:18:17 +00:00
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
2021-09-19 12:29:58 +00:00
|
|
|
background: #000000;
|
|
|
|
background-image: url("img/dark-background.png");
|
|
|
|
background-size: 100% 100%;
|
|
|
|
}
|
2023-12-11 14:18:17 +00:00
|
|
|
}
|