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

37 lines
710 B
CSS
Raw Normal View History

2023-04-16 01:53:22 +00:00
/**
* 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) {
2023-04-07 17:12:27 +00:00
position: fixed;
2023-04-16 01:53:22 +00:00
z-index: -100;
top: 0;
left: 0;
width: 110vw;
height: 110vh;
2023-04-07 17:12:27 +00:00
object-fit: cover;
object-position: center;
}