mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
apply style to class instead of alert heading
This commit is contained in:
parent
83a3d1e635
commit
fdd5e03fca
@ -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**.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user