]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update instances of .font-weight to .fw
authorMark Otto <markdotto@gmail.com>
Sat, 31 Oct 2020 17:27:30 +0000 (10:27 -0700)
committerMartijn Cuppens <martijn.cuppens@gmail.com>
Sat, 31 Oct 2020 18:19:52 +0000 (19:19 +0100)
12 files changed:
site/content/docs/5.0/examples/album/index.html
site/content/docs/5.0/examples/blog/index.html
site/content/docs/5.0/examples/cover/index.html
site/content/docs/5.0/examples/pricing/index.html
site/content/docs/5.0/examples/product/index.html
site/content/docs/5.0/examples/sign-in/index.html
site/content/docs/5.0/getting-started/contents.md
site/content/docs/5.0/layout/containers.md
site/content/docs/5.0/layout/grid.md
site/layouts/_default/single.html
site/layouts/partials/docs-sidebar.html
site/layouts/partials/home/masthead-followup.html

index 5219acbbac23e2b73b9309eb4ec5029497dedcfe..b33ded4123c6d86331db6c496c49fa177b54057c 100644 (file)
@@ -40,7 +40,7 @@ title: Album example
   <section class="py-5 text-center container">
     <div class="row py-lg-5">
       <div class="col-lg-6 col-md-8 mx-auto">
-        <h1 class="font-weight-light">Album example</h1>
+        <h1 class="fw-light">Album example</h1>
         <p class="lead text-muted">Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don’t simply skip over it entirely.</p>
         <p>
           <a href="#" class="btn btn-primary my-2">Main call to action</a>
index a6a3fc770ae792c133c2c03068f8ef9325110dd1..e7db04a6394f3e24bfae47a1cbfa26bd51c833fe 100644 (file)
@@ -48,7 +48,7 @@ include_js: false
     <div class="col-md-6 px-0">
       <h1 class="display-4 font-italic">Title of a longer featured blog post</h1>
       <p class="lead my-3">Multiple lines of text that form the lede, informing new readers quickly and efficiently about what’s most interesting in this post’s contents.</p>
-      <p class="lead mb-0"><a href="#" class="text-white font-weight-bold">Continue reading...</a></p>
+      <p class="lead mb-0"><a href="#" class="text-white fw-bold">Continue reading...</a></p>
     </div>
   </div>
 
index ea5b0b13adb9283823b6ba0f09477618bc9e23f0..2eb33e634a1374579b09578e8a50096a3785ea6f 100644 (file)
@@ -24,7 +24,7 @@ include_js: false
     <h1>Cover your page.</h1>
     <p class="lead">Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.</p>
     <p class="lead">
-      <a href="#" class="btn btn-lg btn-secondary font-weight-bold border-white bg-white">Learn more</a>
+      <a href="#" class="btn btn-lg btn-secondary fw-bold border-white bg-white">Learn more</a>
     </p>
   </main>
 
index 70f7ad221c036daf4635cd661294ecd42979000d..bcd69005da8bbb7c7c39bc0697d1e4d10a5df955 100644 (file)
@@ -7,7 +7,7 @@ include_js: false
 ---
 
 <header class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom shadow-sm">
-  <p class="h5 my-0 mr-md-auto font-weight-normal">Company name</p>
+  <p class="h5 my-0 mr-md-auto fw-normal">Company name</p>
   <nav class="my-2 my-md-0 mr-md-3">
     <a class="p-2 text-dark" href="#">Features</a>
     <a class="p-2 text-dark" href="#">Enterprise</a>
@@ -27,7 +27,7 @@ include_js: false
     <div class="col">
       <div class="card mb-4 shadow-sm">
       <div class="card-header">
-        <h4 class="my-0 font-weight-normal">Free</h4>
+        <h4 class="my-0 fw-normal">Free</h4>
       </div>
       <div class="card-body">
         <h1 class="card-title pricing-card-title">$0 <small class="text-muted">/ mo</small></h1>
@@ -44,7 +44,7 @@ include_js: false
     <div class="col">
       <div class="card mb-4 shadow-sm">
       <div class="card-header">
-        <h4 class="my-0 font-weight-normal">Pro</h4>
+        <h4 class="my-0 fw-normal">Pro</h4>
       </div>
       <div class="card-body">
         <h1 class="card-title pricing-card-title">$15 <small class="text-muted">/ mo</small></h1>
@@ -61,7 +61,7 @@ include_js: false
     <div class="col">
       <div class="card mb-4 shadow-sm">
       <div class="card-header">
-        <h4 class="my-0 font-weight-normal">Enterprise</h4>
+        <h4 class="my-0 fw-normal">Enterprise</h4>
       </div>
       <div class="card-body">
         <h1 class="card-title pricing-card-title">$29 <small class="text-muted">/ mo</small></h1>
index 42cbe8d1667cc6f7e7a0f406d4103f9626076786..5f626aea9f6ae745f72a86e88ae1e4897feca14e 100644 (file)
@@ -23,8 +23,8 @@ extra_css:
 <main>
   <div class="position-relative overflow-hidden p-3 p-md-5 m-md-3 text-center bg-light">
     <div class="col-md-5 p-lg-5 mx-auto my-5">
-      <h1 class="display-4 font-weight-normal">Punny headline</h1>
-      <p class="lead font-weight-normal">And an even wittier subheading to boot. Jumpstart your marketing efforts with this example based on Apple’s marketing pages.</p>
+      <h1 class="display-4 fw-normal">Punny headline</h1>
+      <p class="lead fw-normal">And an even wittier subheading to boot. Jumpstart your marketing efforts with this example based on Apple’s marketing pages.</p>
       <a class="btn btn-outline-secondary" href="#">Coming soon</a>
     </div>
     <div class="product-device shadow-sm d-none d-md-block"></div>
index afaa140ff6a8d2c40b95fefa34c57e0bf89217b2..7ad6b41c7943ba052fe6fcfbc100651d2dc1599d 100644 (file)
@@ -10,7 +10,7 @@ include_js: false
 <main class="form-signin">
   <form>
     <img class="mb-4" src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo.svg" alt="" width="72" height="57">
-    <h1 class="h3 mb-3 font-weight-normal">Please sign in</h1>
+    <h1 class="h3 mb-3 fw-normal">Please sign in</h1>
     <label for="inputEmail" class="visually-hidden">Email address</label>
     <input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
     <label for="inputPassword" class="visually-hidden">Password</label>
index e3667d3afa4ca14b005f7216480b76c468c112c6..1359b9dcf8b51874f58521bd5440c71086b235e5 100644 (file)
@@ -65,8 +65,8 @@ Bootstrap includes a handful of options for including some or all of our compile
   <tbody>
     <tr>
       <th scope="row">
-        <div><code class="font-weight-normal text-nowrap">bootstrap.css</code></div>
-        <div><code class="font-weight-normal text-nowrap">bootstrap.min.css</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap.css</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap.min.css</code></div>
       </th>
       <td>Included</td>
       <td>Included</td>
@@ -75,8 +75,8 @@ Bootstrap includes a handful of options for including some or all of our compile
     </tr>
     <tr>
       <th scope="row">
-        <div><code class="font-weight-normal text-nowrap">bootstrap-grid.css</code></div>
-        <div><code class="font-weight-normal text-nowrap">bootstrap-grid.min.css</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap-grid.css</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap-grid.min.css</code></div>
       </th>
       <td><a class="link-secondary" href="{{< docsref "/layout/grid" >}}">Only grid system</a></td>
       <td class="text-muted">&mdash;</td>
@@ -85,8 +85,8 @@ Bootstrap includes a handful of options for including some or all of our compile
     </tr>
     <tr>
       <th scope="row">
-        <div><code class="font-weight-normal text-nowrap">bootstrap-utilities.css</code></div>
-        <div><code class="font-weight-normal text-nowrap">bootstrap-utilities.min.css</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap-utilities.css</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap-utilities.min.css</code></div>
       </th>
       <td class="text-muted">&mdash;</td>
       <td class="text-muted">&mdash;</td>
@@ -95,8 +95,8 @@ Bootstrap includes a handful of options for including some or all of our compile
     </tr>
     <tr>
       <th scope="row">
-        <div><code class="font-weight-normal text-nowrap">bootstrap-reboot.css</code></div>
-        <div><code class="font-weight-normal text-nowrap">bootstrap-reboot.min.css</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap-reboot.css</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap-reboot.min.css</code></div>
       </th>
       <td class="text-muted">&mdash;</td>
       <td><a class="link-secondary" href="{{< docsref "/content/reboot" >}}">Only Reboot</a></td>
@@ -120,15 +120,15 @@ Similarly, we have options for including some or all of our compiled JavaScript.
   <tbody>
     <tr>
       <th scope="row">
-        <div><code class="font-weight-normal text-nowrap">bootstrap.bundle.js</code></div>
-        <div><code class="font-weight-normal text-nowrap">bootstrap.bundle.min.js</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap.bundle.js</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap.bundle.min.js</code></div>
       </th>
       <td>Included</td>
     </tr>
     <tr>
       <th scope="row">
-        <div><code class="font-weight-normal text-nowrap">bootstrap.js</code></div>
-        <div><code class="font-weight-normal text-nowrap">bootstrap.min.js</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap.js</code></div>
+        <div><code class="fw-normal text-nowrap">bootstrap.min.js</code></div>
       </th>
       <td class="text-muted">&mdash;</td>
     </tr>
index 425d70e14bb5d46b45010899c456128dc09966c4..456225b942b5f9f8621fae82598a70ac80a68af3 100644 (file)
@@ -26,33 +26,33 @@ See them in action and compare them in our [Grid example]({{< docsref "/examples
       <td class="border-dark"></td>
       <th scope="col">
         Extra small<br>
-        <span class="font-weight-normal">&lt;576px</span>
+        <span class="fw-normal">&lt;576px</span>
       </th>
       <th scope="col">
         Small<br>
-        <span class="font-weight-normal">&ge;576px</span>
+        <span class="fw-normal">&ge;576px</span>
       </th>
       <th scope="col">
         Medium<br>
-        <span class="font-weight-normal">&ge;768px</span>
+        <span class="fw-normal">&ge;768px</span>
       </th>
       <th scope="col">
         Large<br>
-        <span class="font-weight-normal">&ge;992px</span>
+        <span class="fw-normal">&ge;992px</span>
       </th>
       <th scope="col">
         X-Large<br>
-        <span class="font-weight-normal">&ge;1200px</span>
+        <span class="fw-normal">&ge;1200px</span>
       </th>
       <th scope="col">
         XX-Large<br>
-        <span class="font-weight-normal">&ge;1400px</span>
+        <span class="fw-normal">&ge;1400px</span>
       </th>
     </tr>
   </thead>
   <tbody>
     <tr>
-      <th scope="row" class="font-weight-normal"><code>.container</code></th>
+      <th scope="row" class="fw-normal"><code>.container</code></th>
       <td class="text-muted">100%</td>
       <td>540px</td>
       <td>720px</td>
@@ -61,7 +61,7 @@ See them in action and compare them in our [Grid example]({{< docsref "/examples
       <td>1320px</td>
     </tr>
     <tr>
-      <th scope="row" class="font-weight-normal"><code>.container-sm</code></th>
+      <th scope="row" class="fw-normal"><code>.container-sm</code></th>
       <td class="text-muted">100%</td>
       <td>540px</td>
       <td>720px</td>
@@ -70,7 +70,7 @@ See them in action and compare them in our [Grid example]({{< docsref "/examples
       <td>1320px</td>
     </tr>
     <tr>
-      <th scope="row" class="font-weight-normal"><code>.container-md</code></th>
+      <th scope="row" class="fw-normal"><code>.container-md</code></th>
       <td class="text-muted">100%</td>
       <td class="text-muted">100%</td>
       <td>720px</td>
@@ -79,7 +79,7 @@ See them in action and compare them in our [Grid example]({{< docsref "/examples
       <td>1320px</td>
     </tr>
     <tr>
-      <th scope="row" class="font-weight-normal"><code>.container-lg</code></th>
+      <th scope="row" class="fw-normal"><code>.container-lg</code></th>
       <td class="text-muted">100%</td>
       <td class="text-muted">100%</td>
       <td class="text-muted">100%</td>
@@ -88,7 +88,7 @@ See them in action and compare them in our [Grid example]({{< docsref "/examples
       <td>1320px</td>
     </tr>
     <tr>
-      <th scope="row" class="font-weight-normal"><code>.container-xl</code></th>
+      <th scope="row" class="fw-normal"><code>.container-xl</code></th>
       <td class="text-muted">100%</td>
       <td class="text-muted">100%</td>
       <td class="text-muted">100%</td>
@@ -97,7 +97,7 @@ See them in action and compare them in our [Grid example]({{< docsref "/examples
       <td>1320px</td>
     </tr>
     <tr>
-      <th scope="row" class="font-weight-normal"><code>.container-xxl</code></th>
+      <th scope="row" class="fw-normal"><code>.container-xxl</code></th>
       <td class="text-muted">100%</td>
       <td class="text-muted">100%</td>
       <td class="text-muted">100%</td>
@@ -106,7 +106,7 @@ See them in action and compare them in our [Grid example]({{< docsref "/examples
       <td>1320px</td>
     </tr>
     <tr>
-      <th scope="row" class="font-weight-normal"><code>.container-fluid</code></th>
+      <th scope="row" class="fw-normal"><code>.container-fluid</code></th>
       <td class="text-muted">100%</td>
       <td class="text-muted">100%</td>
       <td class="text-muted">100%</td>
index c96e3aa9e9331fa358fa6d132959cbbe85493a6f..76b65c1bc6b875387634219e3e3defd7c745aff9 100644 (file)
@@ -69,33 +69,33 @@ As noted above, each of these breakpoints have their own container, unique class
       <th scope="col"></th>
       <th scope="col">
         xs<br>
-        <span class="font-weight-normal">&lt;576px</span>
+        <span class="fw-normal">&lt;576px</span>
       </th>
       <th scope="col">
         sm<br>
-        <span class="font-weight-normal">&ge;576px</span>
+        <span class="fw-normal">&ge;576px</span>
       </th>
       <th scope="col">
         md<br>
-        <span class="font-weight-normal">&ge;768px</span>
+        <span class="fw-normal">&ge;768px</span>
       </th>
       <th scope="col">
         lg<br>
-        <span class="font-weight-normal">&ge;992px</span>
+        <span class="fw-normal">&ge;992px</span>
       </th>
       <th scope="col">
         xl<br>
-        <span class="font-weight-normal">&ge;1200px</span>
+        <span class="fw-normal">&ge;1200px</span>
       </th>
       <th scope="col">
         xxl<br>
-        <span class="font-weight-normal">&ge;1400px</span>
+        <span class="fw-normal">&ge;1400px</span>
       </th>
     </tr>
   </thead>
   <tbody>
     <tr>
-      <th class="text-nowrap" scope="row">Container <code class="font-weight-normal">max-width</code></th>
+      <th class="text-nowrap" scope="row">Container <code class="fw-normal">max-width</code></th>
       <td>None (auto)</td>
       <td>540px</td>
       <td>720px</td>
index fd228314f4eed2c46d361dc5369e9235de726bd0..6582e57b37d6652f8646dbc84db027337ba3486f 100644 (file)
@@ -33,7 +33,7 @@
               <div class="masthead-followup-icon d-inline-block mb-2 text-white bg-danger">
                 {{ partial "icons/droplet-fill.svg" (dict "width" "32" "height" "32") }}
               </div>
-              <h2 class="display-6 font-weight-normal">Go further with Bootstrap Themes</h2>
+              <h2 class="display-6 fw-normal">Go further with Bootstrap Themes</h2>
               <p class="col-md-10 col-lg-8 mx-auto lead">
                 Need something more than these examples? Take Bootstrap to the next level with premium themes from the <a href="{{ .Site.Params.themes }}">official Bootstrap Themes marketplace</a>. They’re built as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools.
               </p>
index 776da2db128b07ad6ab5a7b6f8463a8b68b7f18d..6a39f5bc035818132731b755ec16c4d60dfc56e5 100644 (file)
@@ -22,7 +22,7 @@
 
       {{- if $group.pages }}
       <div class="collapse{{ if $is_active_group }} show{{ end }}" id="{{ $group_slug }}-collapse">
-        <ul class="list-unstyled font-weight-normal pb-1 small">
+        <ul class="list-unstyled fw-normal pb-1 small">
           {{- range $doc := $group.pages -}}
             {{- $doc_slug := $doc.title | urlize -}}
             {{- $is_active := and $is_active_group (eq $page_slug $doc_slug) -}}
index 24defc0fdf1f89a72d4b8b00012bb443c2caa6e6..cacc170eff10b749ef8564ff3c488ce7c704994a 100644 (file)
@@ -4,8 +4,8 @@
       <div class="masthead-followup-icon d-inline-block mb-2 text-white bg-success">
         {{ partial "icons/code.svg" (dict "width" "32" "height" "32") }}
       </div>
-      <h2 class="display-5 font-weight-normal">Installation</h2>
-      <p class="lead font-weight-normal">
+      <h2 class="display-5 fw-normal">Installation</h2>
+      <p class="lead fw-normal">
         Install Bootstrap’s source Sass and JavaScript files via npm, Composer, or Meteor.
       </p>
       <p>Package managed installs don’t include documentation or our full build scripts. You can also <a href="https://github.com/twbs/bootstrap-npm-starter">use our npm template repo</a> to quickly generate a Bootstrap project via npm.</p>
@@ -22,8 +22,8 @@
       <div class="masthead-followup-icon d-inline-block mb-2 text-white bg-primary">
         {{ partial "icons/cloud-fill.svg" (dict "width" "32" "height" "32") }}
       </div>
-      <h2 class="display-5 font-weight-normal">jsDelivr</h2>
-      <p class="lead font-weight-normal">
+      <h2 class="display-5 fw-normal">jsDelivr</h2>
+      <p class="lead fw-normal">
         When you only need to include Bootstrap’s compiled CSS or JS, you can use <a href="https://www.jsdelivr.com/">jsDelivr</a>.
       </p>
       <p>
@@ -44,8 +44,8 @@
       <div class="masthead-followup-icon d-inline-block mb-2 text-white bd-bg-purple-bright">
         {{ partial "icons/circle-square.svg" (dict "width" "32" "height" "32") }}
       </div>
-      <h2 class="display-5 font-weight-normal">Bootstrap Icons</h2>
-      <p class="lead font-weight-normal">
+      <h2 class="display-5 fw-normal">Bootstrap Icons</h2>
+      <p class="lead fw-normal">
         For the first time ever, Bootstrap has its own open source SVG icon library, designed to work best with our components and documentation.
       </p>
       <p>
@@ -66,8 +66,8 @@
       <div class="masthead-followup-icon d-inline-block mb-2 text-white bg-danger">
         {{ partial "icons/droplet-fill.svg" (dict "width" "32" "height" "32") }}
       </div>
-      <h2 class="display-5 font-weight-normal">Official Themes</h2>
-      <p class="lead font-weight-normal">
+      <h2 class="display-5 fw-normal">Official Themes</h2>
+      <p class="lead fw-normal">
         Take Bootstrap to the next level with premium themes from the <a href="{{ .Site.Params.themes }}">official Bootstrap Themes marketplace</a>.
       </p>
       <p>