_sass/kagami/_utility.scss in jekyll-theme-kagami-0.1.12 vs _sass/kagami/_utility.scss in jekyll-theme-kagami-0.2.0
- old
+ new
@@ -1,17 +1,17 @@
-@mixin exdent-horizontally($size) {
+@mixin exdent-horizontally($size, $selector: "*") {
margin-left: -$size;
margin-right: -$size;
- & > * {
+ & > #{$selector} {
padding-left: $size;
padding-right: $size;
}
}
-@mixin exdent-vertically($size) {
+@mixin exdent-vertically($size, $selector: "*") {
margin-top: -$size;
margin-bottom: -$size;
- & > * {
+ & > #{$selector} {
padding-top: $size;
padding-bottom: $size;
}
}