diff options
Diffstat (limited to 'themes/docsy/assets/scss/_alerts.scss')
-rw-r--r-- | themes/docsy/assets/scss/_alerts.scss | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/docsy/assets/scss/_alerts.scss b/themes/docsy/assets/scss/_alerts.scss new file mode 100644 index 000000000..5ce5cc22a --- /dev/null +++ b/themes/docsy/assets/scss/_alerts.scss @@ -0,0 +1,20 @@ +// Style alert boxes. + +.alert { + font-weight: $font-weight-medium; + background: $white; + color: inherit; + border-radius: 0; + + @each $color, $value in $theme-colors { + &-#{$color} { + & .alert-heading { + color: $value; + } + + border-style: solid; + border-color: $value; + border-width: 0 0 0 4px; + } + } +}
\ No newline at end of file |