]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs: switch to font-weight 600. (#27226)
authorXhmikosR <xhmikosr@gmail.com>
Wed, 19 Sep 2018 01:31:51 +0000 (04:31 +0300)
committerMark Otto <otto@github.com>
Wed, 19 Sep 2018 01:31:51 +0000 (18:31 -0700)
Segoe UI doesn't have font-weight: 500 making things not looking as expected.

site/docs/4.1/assets/scss/_algolia.scss
site/docs/4.1/assets/scss/_buttons.scss
site/docs/4.1/assets/scss/_footer.scss
site/docs/4.1/assets/scss/_masthead.scss
site/docs/4.1/assets/scss/_nav.scss
site/docs/4.1/assets/scss/_sidebar.scss

index ca1bccc570c13d9ef396befca8e8dd62d3db6875..7eca6c89cd9e7bb98fa9daa0fd64664d0159da23 100644 (file)
@@ -48,7 +48,7 @@
     padding: .125rem 1rem !important;
     margin-top: 0 !important;
     font-size: .875rem !important;
-    font-weight: 500 !important;
+    font-weight: 600 !important;
     color: $bd-purple-bright !important;
     border-bottom: 0 !important;
   }
index 1e37857fdb59d66085490a81355c7a32cf5e2051..21765b5a99722747793c724d228ee48317690671 100644 (file)
@@ -3,7 +3,7 @@
 // Custom buttons for the docs.
 
 .btn-bd-primary {
-  font-weight: 500;
+  font-weight: 600;
   color: $bd-purple-bright;
   border-color: $bd-purple-bright;
 
@@ -20,7 +20,7 @@
 }
 
 .btn-bd-download {
-  font-weight: 500;
+  font-weight: 600;
   color: $bd-download;
   border-color: $bd-download;
 
index ab605d285ef8890d6591dacea312e94eb3f6e911..c9a8e70e4fcd7580b6c5c55765f9a77522c2e695 100644 (file)
@@ -8,7 +8,7 @@
   background-color: #f7f7f7;
 
   a {
-    font-weight: 500;
+    font-weight: 600;
     color: $gray-700;
 
     &:hover,
index 0e3cea069cda872c167675bb28e8b6949d7cb964..06abf7131bf2c5b6b361a6883de7d3e8bb369802 100644 (file)
@@ -13,7 +13,7 @@
     width: 100%;
     padding: .8rem 2rem;
     font-size: 1.25rem;
-    font-weight: 500;
+    font-weight: 600;
   }
 
   .carbonad {
index 73c6bad642b725b6c28d5a12c87643654384b3bc..a815773814b0855ff418d044f68b992aed8e3571 100644 (file)
@@ -48,7 +48,7 @@
       }
 
       &.active {
-        font-weight: 500;
+        font-weight: 600;
       }
     }
   }
@@ -65,7 +65,7 @@
   }
 
   .dropdown-item.active {
-    font-weight: 500;
+    font-weight: 600;
     color: $gray-900;
     background-color: transparent;
     background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");
index 0cfbd60d256fbcbdc46a34f2d53ca72e3944e189..610458a38db0fd73e1e61338059689904ade0cec 100644 (file)
 .bd-toc-link {
   display: block;
   padding: .25rem 1.5rem;
-  font-weight: 500;
+  font-weight: 600;
   color: rgba(0, 0, 0, .65);
 
   &:hover {
 
 .bd-sidebar .nav > .active > a,
 .bd-sidebar .nav > .active:hover > a {
-  font-weight: 500;
+  font-weight: 600;
   color: rgba(0, 0, 0, .85);
   background-color: transparent;
 }