mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-29 21:52:35 +00:00
![Dan Brown](/assets/img/avatar_default.png)
- Added base of new grid system. - Added new margin/padding/visiblity helpers. - Made header collapse to overflow menu on mobile.
20 lines
443 B
SCSS
20 lines
443 B
SCSS
// Responsive breakpoint control
|
|
@mixin smaller-than($size) {
|
|
@media screen and (max-width: $size) { @content; }
|
|
}
|
|
@mixin larger-than($size) {
|
|
@media screen and (min-width: $size) { @content; }
|
|
}
|
|
@mixin between($min, $max) {
|
|
@media screen and (min-width: $min) and (max-width: $max) { @content; }
|
|
}
|
|
@mixin clearfix() {
|
|
&:after {
|
|
display: block;
|
|
content: '';
|
|
font-size: 0;
|
|
clear: both;
|
|
position: relative;
|
|
}
|
|
}
|