Add callout

This commit is contained in:
Jeremy Thomas
2017-04-01 13:31:36 +01:00
parent f49f8d6a22
commit b4e90e87cc
4 changed files with 1278 additions and 355 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