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

49 lines
676 B
SCSS

.clearfix::after {
clear: both;
content: '';
display: table;
}
.capitalize {
text-transform: capitalize;
}
.hide {
display: none;
&-mobile {
@media only screen and (max-width: 769px) {
display: none;
}
}
}
.grow {
@include flex-grow(1);
}
.basicflex {
@include flexbox();
@include align-items(center);
@include justify-content(center);
}
.flexwrap {
@include flex-wrap(wrap);
}
.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;
}