Skip to content

Commit 73931e6

Browse files
committed
More font weight fixes
1 parent 09659b5 commit 73931e6

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

src/css/badge.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
display: inline-block;
1414
font-style: var(--ifm-font-weight-bold);
1515
font-weight: var(--ifm-font-weight-bold);
16+
font-variation-settings: 'wght' var(--ifm-font-weight-bold);
1617
font-size: 0.6em;
1718
font-stretch: normal;
1819
line-height: 1;

src/css/iubenda.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,14 @@
5151
#iubenda-iframe.iubenda-iframe-branded .purposes-header-title {
5252
font-size: 32px !important;
5353
font-weight: 800 !important;
54+
font-variation-settings: 'wght' 800 !important;
5455
font-stretch: expanded !important;
5556
}
5657

5758
#iubenda-iframe.iubenda-iframe-branded .purposes-header-text {
5859
font-size: 15px !important;
5960
font-weight: 300 !important;
61+
font-variation-settings: 'wght' 300 !important;
6062
line-height: 20px;
6163
}
6264

src/css/menu.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
.menu {
22
font-size: 15px;
33
font-weight: var(--ifm-font-weight-normal);
4+
font-variation-settings: 'wght' var(--ifm-font-weight-normal);
45
}
56

67
.menu__link--sublist {
78
font-weight: var(--ifm-font-weight-semibold);
9+
font-variation-settings: 'wght' var(--ifm-font-weight-semibold);
810
}
911

1012
/* Add a bit blank space to the side menu bottom

src/css/navbar.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
.navbar__title {
1414
font-family: var(--ifm-font-family-monospace);
1515
font-weight: var(--ifm-font-weight-normal);
16+
font-variation-settings: 'wght' var(--ifm-font-weight-normal);
1617
}
1718

1819

0 commit comments

Comments
 (0)