diff --git a/assets/scss/_custom.scss b/assets/scss/_custom.scss index dd37e738eb..e5e376438b 100644 --- a/assets/scss/_custom.scss +++ b/assets/scss/_custom.scss @@ -497,14 +497,33 @@ body { border-left-width: calc(max(0.5em, 4px)); border-top-left-radius: calc(max(0.5em, 4px)); border-bottom-left-radius: calc(max(0.5em, 4px)); + padding-top: 0.75rem; } - .alert.callout.caution { + .alert.alert-caution { border-left-color: #f0ad4e; } - .alert.callout.note { + .alert.alert-info { border-left-color: #428bca; + h4, h4.alert-heading { + color: #000; + display: block; + float: left; + font-size: 1rem; + padding: 0; + padding-right: 0.5rem; + margin: 0; + line-height: 1.5; + font-weight: bolder; + } } - .alert.callout.warning { + .alert.alert-caution { + border-left-color: #f0ad4e; + h4, h4.alert-heading { + font-size: 1em; + font-weight: bold; + } + } + .alert.alert-warning { border-left-color: #d9534f; } .alert.third-party-content { diff --git a/layouts/shortcodes/caution.html b/layouts/shortcodes/caution.html index 6df243b7c0..06d1ed70c1 100644 --- a/layouts/shortcodes/caution.html +++ b/layouts/shortcodes/caution.html @@ -1,3 +1,11 @@ -