mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 19:44:21 +00:00
36 lines
668 B
CSS
36 lines
668 B
CSS
/**
|
|
* Bluelib Layouts Center
|
|
* by <me@steffo.eu>
|
|
*/
|
|
:where(body) {
|
|
min-height: 100vh;
|
|
max-width: 1600px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: stretch;
|
|
}
|
|
:where(body):where(.layout-center) {
|
|
padding: 0 16px;
|
|
}
|
|
@media screen and (max-width: 900px) {
|
|
:where(body):where(.layout-center) {
|
|
padding: 0 8px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 450px) {
|
|
:where(body):where(.layout-center) {
|
|
padding: 0 4px;
|
|
}
|
|
}
|
|
:where(body) > :where(img) {
|
|
position: fixed;
|
|
z-index: -100;
|
|
top: 0;
|
|
left: 0;
|
|
width: 110vw;
|
|
height: 110vh;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
}
|