biobulkbende.org/app/assets/scss/modules/_rows.scss

74 lines
827 B
SCSS
Raw Normal View History

2020-09-24 18:24:52 +00:00
.row{
2020-10-09 12:48:01 +00:00
@include clearfix();
2020-09-24 18:24:52 +00:00
2020-10-15 20:35:24 +00:00
&--large-only{
display: none;
@include atLarge{
display: inline-block;
}
}
2020-09-24 18:24:52 +00:00
&--gutters {
2020-10-09 12:48:01 +00:00
margin-right: -60px;
2020-09-24 18:24:52 +00:00
}
&--gutters > div {
2020-09-30 16:51:32 +00:00
padding-right: 60px;
2020-09-24 18:24:52 +00:00
}
2020-09-30 16:51:32 +00:00
@include atLarge(){
2020-09-24 18:24:52 +00:00
2020-10-07 14:19:57 +00:00
&__medium-3--larger {
float: left;
width: 30%;
}
2020-09-24 18:24:52 +00:00
&__medium-4 {
float: left;
width: 33.33%;
}
&__medium-6 {
float: left;
width: 50%;
}
&__medium-8 {
float: right;
width: 66.66%;
}
2020-10-07 14:19:57 +00:00
&__medium-9--smaller {
float: right;
width: 70%;
}
2020-09-24 18:24:52 +00:00
}
/* Begin Equal Height Rules */
.flexbox &--equal-height-at-medium {
@include atMedium(){
display: flex;
}
& > div {
float: none;
display: flex;
}
}
.flexbox &--equal-height-at-large {
@include atMedium(){
display: flex;
}
& > div {
float: none;
display: flex;
}
}
}