Commit c847646e authored by Pietro Albini's avatar Pietro Albini

alerts: improve padding

parent a3473a83
......@@ -17,10 +17,15 @@
div.alert {
color: #fff;
padding: 0.7em 1em 0.8em 1em;
margin: 1em 0;
margin: 1.5em 0;
border-radius: 0.2em;
box-shadow: inset 0 -0.2em 0 rgba(0, 0, 0, 0.15);
/* Merge alerts together */
&:not(.closed) + div.alert {
margin-top: -1em;
}
&.success {
background: $color_green;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment