Skip to content

Commit ce9d429

Browse files
Make remaining non-fluid font sizes use fluid type scale
1 parent 90eb172 commit ce9d429

File tree

10 files changed

+10
-11
lines changed

10 files changed

+10
-11
lines changed

assets-src/styles/sass/30-base/_quotes.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ blockquote {
3232

3333
cite {
3434
color: $off-black;
35-
font-size: 1rem;
35+
font-size: var(--w3c-text-0);
3636
font-style: normal;
3737
font-weight: bold;
3838
}

assets-src/styles/sass/50-core-components/_archive-banner.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
}
4949

5050
#archive-banner .archive-banner__message h3 {
51-
font-size: 1rem;
52-
line-height: calc(32 / 24);
51+
font-size: var(--w3c-text-0);
5352
}
5453

5554
#archive-banner .archive-banner__message h3 + * {

assets-src/styles/sass/50-core-components/_comments.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
}
8181

8282
.comment__author {
83-
font-size: 1rem;
83+
font-size: var(--w3c-text-0);
8484
font-weight: bold;
8585
line-height: calc(32 / 24);
8686
}

assets-src/styles/sass/50-core-components/_hero.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
}
123123

124124
h2 {
125-
font-size: 1rem;
125+
font-size: var(--w3c-text-0);
126126
font-weight: normal;
127127
}
128128
}

assets-src/styles/sass/50-core-components/_navigation.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ li.top-nav-item + li.top-nav-item {
188188
.global-nav__inner .top-nav-item > *:first-child {
189189
@include mq($max-width) {
190190
block-size: 100%;
191-
font-size: 1rem;
191+
font-size: var(--w3c-text-0);
192192
line-height: rem(27);
193193
padding: rem(10) rem(5) rem(7) !important;
194194
position: relative;

assets-src/styles/sass/50-core-components/_slider.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
padding-block: rem(50);
88

99
h2 {
10-
font-size: 1rem;
10+
font-size: var(--w3c-text-0);
1111
font-weight: normal;
1212
// margin-block-end: rem(24);
1313
}

assets-src/styles/sass/50-core-components/_toc.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// }
1212

1313
.toc h2 {
14-
font-size: 1rem;
14+
font-size: var(--w3c-text-0);
1515
font-weight: normal;
1616
}
1717

assets-src/styles/sass/50-core-components/_translations.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
.translations h3,
4646
.translations h5,
4747
.translations .sidebar span {
48-
font-size: 1rem;
48+
font-size: var(--w3c-text-0);
4949
font-weight: normal;
5050
padding-block: rem(10);
5151
}

assets-src/styles/sass/60-advanced-components/_navigation.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
border-radius: 0;
107107
color: $off-black;
108108
display: flex;
109-
font-size: 1rem;
109+
font-size: var(--w3c-text-0);
110110
inline-size: 100%;
111111
line-height: inherit;
112112
outline: solid 1px transparent;

assets-src/styles/sass/80-templates/_listing.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131

3232
.groups .sidebar h3 {
33-
font-size: 1rem;
33+
font-size: var(--w3c-text-0);
3434
font-weight: normal;
3535
line-height: rem(44);
3636
}

0 commit comments

Comments
 (0)