web/public/css/modules/_modules.scss

28 lines
479 B
SCSS
Raw Normal View History

2016-06-23 13:09:20 +00:00
/**
* Shadow text mixin.
*/
@mixin long-shadow-text ($distance, $blur, $color) {
$shadows: null;
$color: darken($color, 10);
$blur: $blur + px;
@for$i from 0 through $distance {
$dist: $i + px;
$shadows: append($shadows, ($dist $dist $blur $color), comma);
}
text-shadow: $shadows;
}
2016-06-23 13:09:20 +00:00
/**
* Breakpoint mixin and variable for responsive layouts.
*/
$break-small: 1200px;
@mixin break-small {
@media (max-width: #{$break-small}) {
@content;
}
}