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
|
|
|
|
2023-06-21 06:56:37 +03:00
|
|
|
@mixin screen($breakpoint) {
|
2022-10-22 11:45:54 +03:00
|
|
|
@if $breakpoint == desktop {
|
2023-06-21 06:56:37 +03:00
|
|
|
@media only screen and (width >= 768px) {
|
2022-10-22 11:45:54 +03:00
|
|
|
@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 {
|
2023-06-21 06:56:37 +03:00
|
|
|
@media only screen and (width <= 768px) {
|
2022-12-29 21:14:12 +03:00
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
2023-06-21 06:56:37 +03:00
|
|
|
|
2022-10-22 11:45:54 +03:00
|
|
|
@if $breakpoint == mobile {
|
2023-06-21 06:56:37 +03:00
|
|
|
@media only screen and (width <= 481px) {
|
2022-10-22 11:45:54 +03:00
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|