apply style to class instead of alert heading

This commit is contained in:
Stacy Kvernmo 2023-01-31 14:39:28 -06:00
parent 83a3d1e635
commit fdd5e03fca
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@
role="banner">
<div class="sl-c-alert sl-c-alert--special">
<div class="sl-l-container">
<h2>Black Lives Matter</h2>
<h2 class="sl-c-alert-title">Black Lives Matter</h2>
{% renderTemplate 'md' %}
Sass stands with the protesters against police violence. We encourage our users to
**get in the streets and join them if you can**.

View File

@ -14,8 +14,6 @@
padding-top: var(--alert-padding-block, var(--gutter-minus));
text-align: var(--alert-align, center);
h2,
h3,
p,
ul,
dl {
@ -60,3 +58,7 @@
--alert-bg: #000;
--alert-padding-block: var(--gutter-triple);
}
.sl-c-alert-title {
margin-top: 0;
}