diff --git a/kss-config.json b/kss-config.json
index eee01c3..d5cdd93 100644
--- a/kss-config.json
+++ b/kss-config.json
@@ -3,9 +3,10 @@
"source": [
"scss/"
],
+ "homepage": "./scss/homepage.md",
"destination": "styleguide/",
"builder": "michelangelo/kss_styleguide/custom-template/",
"css": [
"css/index.css"
]
-}
\ No newline at end of file
+}
diff --git a/scss/_index.scss b/scss/_index.scss
index f59f7ec..cf0b1e3 100644
--- a/scss/_index.scss
+++ b/scss/_index.scss
@@ -58,3 +58,4 @@ img {
@import './links';
@import 'components/figure_caption';
@import 'components/chain_spacing';
+
diff --git a/scss/_mixins.scss b/scss/_mixins.scss
index 4abcebf..bccbb2e 100644
--- a/scss/_mixins.scss
+++ b/scss/_mixins.scss
@@ -1,7 +1,9 @@
+@import "colors";
+
// @mixin block-margin-bottom
//
// For most purposes, margins should be retrieved from $spacers (using map-get) in _breakpoints.scss
-// However, @mixin block-margin-bottom is a convenience mix-in to add to parent element styles for block components that
+// However, @mixin block-margin-bottom is a convenience mixin to add to parent element styles for block components that
// require a unified margin bottom,
//
// Styleguide 7.3.0
@@ -18,7 +20,7 @@
// @mixin link-color-active-hover
//
// Mixin to add hover and active styles to text color
-//
+//
// - Params:
// - `$color-prop`: Color to lighten (defaults to $ui-primary-font-color)
//
@@ -51,10 +53,35 @@
}
}
+// @mixin block-internal-spacing
+//
+// For most purposes, margins should be retrieved from $spacers (using map-get) in _breakpoints.scss
+// However, @mixin block-internal-spacing is a convenience mixin that controls the internal spacing of items in a block
+//
+// Styleguide 7.4.0
+
+@mixin block-internal-spacing {
+ margin-bottom: map-get($spacers, 'sm');
+
+ @media screen and (min-width: map-get($grid-breakpoints, 'md')){
+ margin-bottom: map-get($spacers, 'sm');
+ }
+
+ &:last-child {
+ margin-bottom: 0;
+ }
+}
+
// @mixin container-vertial-spacing
-//
-// Mixin to add vertical spaing to the elements in a container block
//
+// **Deprecated**
+//
+// For most purposes, margins should be retrieved from $spacers (using map-get) in _breakpoints.scss
+// However, @mixin container-vertial-spacing is a convenience mixin that controls the internal spacing of items in a block.
+// **Deprecated due to misspelling - Please use container-vertical-spacing (see next entry)**
+//
+// Styleguide 7.5.0
+
@mixin container-vertial-spacing {
> * {
margin-bottom: map-get($spacers, 'lg');
@@ -67,10 +94,36 @@
}
}
+// @mixin container-vertical-spacing
+//
+// For most purposes, margins should be retrieved from $spacers (using map-get) in _breakpoints.scss
+// However, @mixin container-vertical-spacing is a convenience mixin that controls the internal spacing of items in a block.