forked from zer.ooo/web
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
479 B
SCSS
28 lines
479 B
SCSS
/**
|
|
* 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;
|
|
}
|
|
|
|
|
|
/**
|
|
* Breakpoint mixin and variable for responsive layouts.
|
|
*/
|
|
|
|
$break-small: 1200px;
|
|
|
|
@mixin break-small {
|
|
@media (max-width: #{$break-small}) {
|
|
@content;
|
|
}
|
|
}
|