This repository has been archived on 2020-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
victor-hugo/src/css/imports/layout.scss

91 lines
1.0 KiB
SCSS
Raw Normal View History

2020-03-29 18:58:41 +00:00
.l-wrapper {
width: 100%;
2020-03-31 12:58:15 +00:00
max-width: 70rem;
2020-03-29 18:58:41 +00:00
margin-left: auto;
margin-right: auto;
}
2020-03-31 12:58:15 +00:00
.l-section {
padding: 24px 8px;
@media (min-width: $bp-m) {
padding: 32px 32px;
}
@media (min-width: $bp-l) {
padding: 48px 32px;
}
}
2020-03-29 18:58:41 +00:00
// #position
.l-absolute {
position: absolute;
}
.l-relative {
position: relative;
}
2020-03-30 16:54:55 +00:00
.l-underlay {
z-index: -1;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
2020-03-29 18:58:41 +00:00
// #sizes
2020-03-29 20:09:54 +00:00
.l-screen-min-full {
width: 100%;
min-height: 100vh;
}
2020-03-29 18:58:41 +00:00
.l-screen-full {
width: 100%;
height: 100vh;
}
// #flex
.l-flex {
display: flex;
}
.l-flex-center {
justify-content: center;
align-items: center;
}
.l-justify-around {
justify-content: space-around;
}
.l-flex-column {
flex-direction: column;
}
.l-flex-row {
flex-direction: row;
}
.l-flex-wrap {
flex-wrap: wrap;
}
2020-03-30 16:54:55 +00:00
.l-flex-list-row {
display: flex;
flex-direction: row;
justify-content: center;
padding-left: 0;
list-style: none;
2020-03-31 12:58:15 +00:00
margin-bottom: 0;
2020-03-30 16:54:55 +00:00
> li {
margin-bottom: 0;
}
}