mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-23 21:53:25 +02:00
docs: switch to font-weight 600. (#27226)
Segoe UI doesn't have font-weight: 500 making things not looking as expected.
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
padding: .125rem 1rem !important;
|
padding: .125rem 1rem !important;
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
font-size: .875rem !important;
|
font-size: .875rem !important;
|
||||||
font-weight: 500 !important;
|
font-weight: 600 !important;
|
||||||
color: $bd-purple-bright !important;
|
color: $bd-purple-bright !important;
|
||||||
border-bottom: 0 !important;
|
border-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
// Custom buttons for the docs.
|
// Custom buttons for the docs.
|
||||||
|
|
||||||
.btn-bd-primary {
|
.btn-bd-primary {
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: $bd-purple-bright;
|
color: $bd-purple-bright;
|
||||||
border-color: $bd-purple-bright;
|
border-color: $bd-purple-bright;
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-bd-download {
|
.btn-bd-download {
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: $bd-download;
|
color: $bd-download;
|
||||||
border-color: $bd-download;
|
border-color: $bd-download;
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: $gray-700;
|
color: $gray-700;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
padding: .8rem 2rem;
|
padding: .8rem 2rem;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.carbonad {
|
.carbonad {
|
||||||
|
@@ -48,7 +48,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-item.active {
|
.dropdown-item.active {
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: $gray-900;
|
color: $gray-900;
|
||||||
background-color: transparent;
|
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");
|
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");
|
||||||
|
@@ -113,7 +113,7 @@
|
|||||||
.bd-toc-link {
|
.bd-toc-link {
|
||||||
display: block;
|
display: block;
|
||||||
padding: .25rem 1.5rem;
|
padding: .25rem 1.5rem;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: rgba(0, 0, 0, .65);
|
color: rgba(0, 0, 0, .65);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
|
|
||||||
.bd-sidebar .nav > .active > a,
|
.bd-sidebar .nav > .active > a,
|
||||||
.bd-sidebar .nav > .active:hover > a {
|
.bd-sidebar .nav > .active:hover > a {
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: rgba(0, 0, 0, .85);
|
color: rgba(0, 0, 0, .85);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user