Skip to content

Commit

Permalink
docs: switch to font-weight 600. (#27226)
Browse files Browse the repository at this point in the history
Segoe UI doesn't have font-weight: 500 making things not looking as expected.
  • Loading branch information
XhmikosR authored and mdo committed Sep 19, 2018
1 parent 75f83da commit f9142bd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion site/docs/4.1/assets/scss/_algolia.scss
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions site/docs/4.1/assets/scss/_buttons.scss
Expand Up @@ -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;

Expand All @@ -20,7 +20,7 @@
}

.btn-bd-download {
font-weight: 500;
font-weight: 600;
color: $bd-download;
border-color: $bd-download;

Expand Down
2 changes: 1 addition & 1 deletion site/docs/4.1/assets/scss/_footer.scss
Expand Up @@ -8,7 +8,7 @@
background-color: #f7f7f7;

a {
font-weight: 500;
font-weight: 600;
color: $gray-700;

&:hover,
Expand Down
2 changes: 1 addition & 1 deletion site/docs/4.1/assets/scss/_masthead.scss
Expand Up @@ -13,7 +13,7 @@
width: 100%;
padding: .8rem 2rem;
font-size: 1.25rem;
font-weight: 500;
font-weight: 600;
}

.carbonad {
Expand Down
4 changes: 2 additions & 2 deletions site/docs/4.1/assets/scss/_nav.scss
Expand Up @@ -48,7 +48,7 @@
}

&.active {
font-weight: 500;
font-weight: 600;
}
}
}
Expand All @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions site/docs/4.1/assets/scss/_sidebar.scss
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
}

0 comments on commit f9142bd

Please sign in to comment.