Add underscore sass

This commit is contained in:
Jeremy Thomas
2017-07-02 23:49:54 +01:00
parent 0970a50595
commit 1dce18a658
12 changed files with 705 additions and 1 deletions

13
docs/_sass/callout.sass Normal file
View File

@@ -0,0 +1,13 @@
.callout
+block
background-color: $background
border-radius: $radius
padding: 1.25rem 2.5rem 1.25rem 1.5rem
position: relative
// Colors
@each $name, $pair in $colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
background-color: $color
color: $color-invert