mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
refactor(styles): separated fonts and responsiveness to scss files; made global reference only once
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
$breakpointMd: 960px;
|
||||
$breakpointSm: 550px;
|
||||
|
||||
@mixin smallScreen() {
|
||||
@media only screen and (max-width: $breakpointSm) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin midScreen() {
|
||||
@media only screen and (max-width: $breakpointMd) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin midScreenLandscape() {
|
||||
@media only screen and (orientation: landscape) and (max-device-height: $breakpointMd) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user