Skip to content

Commit 5237a1f

Browse files
authored
bug(docs): Fix font weight 500 omission being a style rule (#38295)
1 parent 0766bd0 commit 5237a1f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docusaurus/src/css/custom.css

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* work well for content-centric websites.
55
*/
66

7-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;600;700&display=swap");
7+
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");
88

99
/* You can override the default Infima variables here. */
1010
:root {
@@ -105,6 +105,7 @@ html[data-theme="dark"] .docusaurus-highlight-code-line {
105105

106106
.navbar .navbar__link {
107107
color: var(--ifm-menu-color);
108+
font-weight: var(--ifm-font-weight-normal);
108109
}
109110

110111
.navbar .navbar__link:hover {
@@ -194,6 +195,10 @@ img {
194195
display: none;
195196
}
196197

198+
.menu__link {
199+
font-weight: var(--ifm-font-weight-normal);
200+
}
201+
197202
.menu__link--sublist-caret:after {
198203
background: var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;
199204
min-width: 1.25rem;

0 commit comments

Comments
 (0)