aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-12-29 16:04:00 -0800
committerChris Rebert <[email protected]>2014-12-29 16:04:00 -0800
commitb342de4fa3734f43ec1aa9ba42a05b824aa79652 (patch)
tree03bf89bb5ae850b8474a31c90784aacfd6d98317 /scss
parent54b03c27d2ae5993c9971d79688b95bb1d8f75d4 (diff)
parent10f703f3b0ed5890d2a7114e49f2b816548e7d4c (diff)
downloadbootstrap-b342de4fa3734f43ec1aa9ba42a05b824aa79652.tar.xz
bootstrap-b342de4fa3734f43ec1aa9ba42a05b824aa79652.zip
Merge pull request #22 from twbs/alert-heading
Use .alert-heading instead of hardcoding <h4>
Diffstat (limited to 'scss')
-rw-r--r--scss/_alert.scss23
1 files changed, 12 insertions, 11 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss
index 685ca314b..8ec7d0662 100644
--- a/scss/_alert.scss
+++ b/scss/_alert.scss
@@ -12,17 +12,6 @@
border: 1px solid transparent;
@include border-radius($alert-border-radius);
- // Headings for larger alerts
- h4 {
- margin-top: 0;
- // Specified for the h4 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.