123456789101112131415161718192021222324252627 |
- // breakpoints
-
- $S: 480px;
- $M: 768px;
- $L: 1100px;
- // media queries
- @mixin MQ($canvas) {
- @if $canvas == S {
- @media only screen and (min-width: $S) { @content; }
- }
- @else if $canvas == M {
- @media only screen and (min-width: $M) { @content; }
- }
- @else if $canvas == L {
- @media only screen and (min-width: $L) { @content; }
- }
- }
- // super light grid - it works with the .cd-container class inside style.scss
- @mixin column($percentage, $float-direction:left) {
- width: 100% * $percentage;
- float: $float-direction;
- }
|