1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 03:24:20 +00:00
bluelib/dist/layouts-center.module.css

36 lines
710 B
CSS

/**
* Bluelib Layouts Center
* by <me@steffo.eu>
*/
:where(.bluelib) {
min-height: 100vh;
max-width: 1600px;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
}
:where(.bluelib):where(.layout-center) {
padding: 0 16px;
}
@media screen and (max-width: 900px) {
:where(.bluelib):where(.layout-center) {
padding: 0 8px;
}
}
@media screen and (max-width: 450px) {
:where(.bluelib):where(.layout-center) {
padding: 0 4px;
}
}
:where(.bluelib) > :where(.layout-center-background) {
position: fixed;
z-index: -100;
top: 0;
left: 0;
width: 110vw;
height: 110vh;
object-fit: cover;
object-position: center;
}