hugo-theme-zzo/assets/sass/base/_helpers.scss

49 lines
676 B
SCSS
Raw Normal View History

2019-11-04 13:09:44 +00:00
.clearfix::after {
clear: both;
content: '';
display: table;
}
2020-01-09 05:25:02 +00:00
.capitalize {
text-transform: capitalize;
}
2019-11-04 13:09:44 +00:00
.hide {
display: none;
&-mobile {
@media only screen and (max-width: 769px) {
display: none;
}
}
}
2019-11-17 16:44:04 +00:00
.grow {
@include flex-grow(1);
}
.basicflex {
@include flexbox();
@include align-items(center);
@include justify-content(center);
2020-02-13 11:44:18 +00:00
}
.flexwrap {
@include flex-wrap(wrap);
}
2020-02-13 11:44:18 +00:00
.basicflex-column {
@include flexbox();
@include align-items(center);
@include justify-content(center);
@include flex-direction(column);
}
.px {
padding-left: 1rem;
padding-right: 1rem;
}
.py {
padding-top: 1rem;
padding-bottom: 1rem;
}