diff --git a/scss/_alert.scss b/scss/_alert.scss
index f45114e856756ea8ae55bc45abc9ecca032de518..8ec7d066283b222c5aead2ee80b11a668ea48751 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
-  .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.