2022-07-15 06:36:47 +03:00
|
|
|
@mixin flexCenter {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2022-10-22 11:45:54 +03:00
|
|
|
|
|
|
|
@mixin screen ($breakpoint) {
|
|
|
|
@if $breakpoint == desktop {
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
2023-04-27 01:31:23 +03:00
|
|
|
|
|
|
|
// tablet will also apply to mobile as there is no cut-off for min-width, however changing this now could break CSS all over the site.
|
2022-12-29 21:14:12 +03:00
|
|
|
@if $breakpoint == tablet {
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
2022-10-22 11:45:54 +03:00
|
|
|
@if $breakpoint == mobile {
|
|
|
|
@media only screen and (max-width: 481px) {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|