owncast/web/styles/mixins.scss
2022-10-22 10:46:17 +02:00

19 lines
338 B
SCSS

@mixin flexCenter {
display: flex;
justify-content: center;
align-items: center;
}
@mixin screen ($breakpoint) {
@if $breakpoint == desktop {
@media only screen and (min-width: 768px) {
@content;
}
}
@if $breakpoint == mobile {
@media only screen and (max-width: 481px) {
@content;
}
}
}