]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #17412: reverse display heading classes to match h1-h6 headings
authorMark Otto <markdotto@gmail.com>
Wed, 2 Sep 2015 04:11:53 +0000 (21:11 -0700)
committerMark Otto <markdotto@gmail.com>
Wed, 2 Sep 2015 04:11:53 +0000 (21:11 -0700)
docs/content/typography.md
scss/_variables.scss

index 264686b0542fc77bf4ebc23a782eb63bfeaab040..e97593e2ef968c919e20de9a6c79cbf351607fc5 100644 (file)
@@ -85,26 +85,26 @@ Traditional heading elements are designed to work best in the meat of your page
   <table class="table">
     <tbody>
       <tr>
-        <td><h1 class="display-4">Display 4</h1></td>
+        <td><h1 class="display-1">Display 1</h1></td>
       </tr>
       <tr>
-      <td><h1 class="display-3">Display 3</h1></td>
+      <td><h1 class="display-2">Display 2</h1></td>
       </tr>
       <tr>
-      <td><h1 class="display-2">Display 2</h1></td>
+      <td><h1 class="display-3">Display 3</h1></td>
       </tr>
       <tr>
-      <td><h1 class="display-1">Display 1</h1></td>
+      <td><h1 class="display-4">Display 4</h1></td>
       </tr>
     </tbody>
   </table>
 </div>
 
 {% highlight html %}
-<h1 class="display-4">Display 4</h1>
-<h1 class="display-3">Display 3</h1>
-<h1 class="display-2">Display 2</h1>
 <h1 class="display-1">Display 1</h1>
+<h1 class="display-2">Display 2</h1>
+<h1 class="display-3">Display 3</h1>
+<h1 class="display-4">Display 4</h1>
 {% endhighlight %}
 
 ## Lead
index 70ac7f38ce848370fde412d189a9a7dec6db931b..6c7cdf5a2c0f5ef28e36822109fd5934e91380e1 100644 (file)
@@ -143,10 +143,10 @@ $font-size-h4:               1.5rem !default;
 $font-size-h5:               1.25rem !default;
 $font-size-h6:               1rem !default;
 
-$display1-size:               3.5rem !default;
-$display2-size:               4.5rem !default;
-$display3-size:               5.5rem !default;
-$display4-size:               6rem !default;
+$display1-size:               6rem !default;
+$display2-size:               5.5rem !default;
+$display3-size:               4.5rem !default;
+$display4-size:               3.5rem !default;
 
 $display1-weight:             300 !default;
 $display2-weight:             300 !default;