1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

un-nest .alert-heading & .alert-link

This commit is contained in:
Chris Rebert 2014-12-29 16:03:22 -08:00
parent d0c2a82ea8
commit 10f703f3b0

View file

@ -12,17 +12,6 @@
border: 1px solid transparent;
@include border-radius($alert-border-radius);
// Headings for larger alerts
.alert-heading {
margin-top: 0;
// Specified to prevent conflicts of changing $headings-color
color: inherit;
}
// Provide class for links that match alerts
.alert-link {
font-weight: $alert-link-font-weight;
}
// Improve alignment and spacing of inner content
> p,
> ul {
@ -33,6 +22,18 @@
}
}
// Headings for larger alerts
.alert-heading {
margin-top: 0;
// Specified to prevent conflicts of changing $headings-color
color: inherit;
}
// Provide class for links that match alerts
.alert-link {
font-weight: $alert-link-font-weight;
}
// Dismissible alerts
//
// Expand the right padding and account for the close button's positioning.