Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-09-19 04:31:51 +0300
committerMark Otto <otto@github.com>2018-09-19 04:31:51 +0300
commitf9142bdd62e9b8a17dac30e7f0938f9b42e1c815 (patch)
treed4e0d54d27dd43c9864b848fb6d5f845ad66c9de
parent75f83da5399dac94d8dd93c78cc5a727548ddda4 (diff)
docs: switch to font-weight 600. (#27226)
Segoe UI doesn't have font-weight: 500 making things not looking as expected.
-rw-r--r--site/docs/4.1/assets/scss/_algolia.scss2
-rw-r--r--site/docs/4.1/assets/scss/_buttons.scss4
-rw-r--r--site/docs/4.1/assets/scss/_footer.scss2
-rw-r--r--site/docs/4.1/assets/scss/_masthead.scss2
-rw-r--r--site/docs/4.1/assets/scss/_nav.scss4
-rw-r--r--site/docs/4.1/assets/scss/_sidebar.scss4
6 files changed, 9 insertions, 9 deletions
diff --git a/site/docs/4.1/assets/scss/_algolia.scss b/site/docs/4.1/assets/scss/_algolia.scss
index ca1bccc570..7eca6c89cd 100644
--- a/site/docs/4.1/assets/scss/_algolia.scss
+++ b/site/docs/4.1/assets/scss/_algolia.scss
@@ -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;
}
diff --git a/site/docs/4.1/assets/scss/_buttons.scss b/site/docs/4.1/assets/scss/_buttons.scss
index 1e37857fdb..21765b5a99 100644
--- a/site/docs/4.1/assets/scss/_buttons.scss
+++ b/site/docs/4.1/assets/scss/_buttons.scss
@@ -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;
diff --git a/site/docs/4.1/assets/scss/_footer.scss b/site/docs/4.1/assets/scss/_footer.scss
index ab605d285e..c9a8e70e4f 100644
--- a/site/docs/4.1/assets/scss/_footer.scss
+++ b/site/docs/4.1/assets/scss/_footer.scss
@@ -8,7 +8,7 @@
background-color: #f7f7f7;
a {
- font-weight: 500;
+ font-weight: 600;
color: $gray-700;
&:hover,
diff --git a/site/docs/4.1/assets/scss/_masthead.scss b/site/docs/4.1/assets/scss/_masthead.scss
index 0e3cea069c..06abf7131b 100644
--- a/site/docs/4.1/assets/scss/_masthead.scss
+++ b/site/docs/4.1/assets/scss/_masthead.scss
@@ -13,7 +13,7 @@
width: 100%;
padding: .8rem 2rem;
font-size: 1.25rem;
- font-weight: 500;
+ font-weight: 600;
}
.carbonad {
diff --git a/site/docs/4.1/assets/scss/_nav.scss b/site/docs/4.1/assets/scss/_nav.scss
index 73c6bad642..a815773814 100644
--- a/site/docs/4.1/assets/scss/_nav.scss
+++ b/site/docs/4.1/assets/scss/_nav.scss
@@ -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");
diff --git a/site/docs/4.1/assets/scss/_sidebar.scss b/site/docs/4.1/assets/scss/_sidebar.scss
index 0cfbd60d25..610458a38d 100644
--- a/site/docs/4.1/assets/scss/_sidebar.scss
+++ b/site/docs/4.1/assets/scss/_sidebar.scss
@@ -113,7 +113,7 @@
.bd-toc-link {
display: block;
padding: .25rem 1.5rem;
- font-weight: 500;
+ font-weight: 600;
color: rgba(0, 0, 0, .65);
&:hover {
@@ -160,7 +160,7 @@
.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;
}