mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add callout
This commit is contained in:
13
docs/sass/callout.sass
Normal file
13
docs/sass/callout.sass
Normal 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
|
||||
Reference in New Issue
Block a user