1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-10-16 13:47:28 +00:00
bluelib/dist/layouts-center.root.css

37 lines
668 B
CSS
Raw Normal View History

2023-04-16 01:53:22 +00:00
/**
* 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) {
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;
}