Files
scummvm-web/scss/layout/_grid.scss
T
Matan Bareket 6d0d66d19e CSS: Extract all colors into a theme file and general cleanup
Now that all colors are defined in a theme file, we can easily reuse all the work on the website for our sister project ResidualVM
2018-07-28 00:38:44 -04:00

52 lines
536 B
SCSS

/* Grid */
.site-wrap {
max-width: 1440px;
position: relative;
margin: 0 auto;
padding: 0 50px;
}
.col-4-5 {
width: calc(100% - #{$nav-width - 10px});
}
.col-1-5 {
width: $nav-width - 15px;
position: relative;
}
.col-1-3 {
width: 33.33%;
}
.col-2-3 {
width: 66.66%;
}
.col-1-2 {
width: 50%;
}
.col-1-1 {
width: 100%;
}
[class*='col-'] {
float: left;
padding-right: 8px;
}
.row:after {
content: "";
display: table;
clear: both;
}
* {
box-sizing: border-box;
&:after, &:before {
box-sizing: border-box;
}
}