You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@extend%heading-xlarge; // OUDS mod: instead of `@include font-size($h1-font-size)`
152
+
}
155
153
156
-
/* rtl:remove */
157
-
letter-spacing: $h4-spacing;
154
+
h2 {
155
+
@extend%heading;
156
+
@extend%heading-large; // OUDS mod: instead of `@include font-size($h2-font-size)`
158
157
}
159
158
160
-
h2,
161
159
h3 {
162
160
@extend%heading;
163
-
@includefont-size($h5-font-size);
164
-
line-height: $h5-line-height;
161
+
@extend%heading-medium; // OUDS mod: instead of `@include font-size($h3-font-size)`
162
+
}
165
163
166
-
/* rtl:remove */
167
-
letter-spacing: $h5-spacing;
164
+
h4 {
165
+
@extend%heading;
166
+
@extend%heading-small; // OUDS mod: instead of `@include font-size($h4-font-size)`
167
+
}
168
+
169
+
h5 {
170
+
@extend%heading;
171
+
@extend%heading-xsmall; // OUDS mod: instead of `@include font-size($h5-font-size)`
168
172
}
169
173
170
-
h4,
171
-
h5,
172
174
h6 {
173
175
@extend%heading;
176
+
@extend%body-large; // OUDS mod: instead of `@include font-size($h6-font-size)` // Makes sense for me to have the smallest title the same font-size as the largest body since it's Bold and spaced correctly
174
177
}
175
178
176
179
@@ -286,6 +289,13 @@ blockquote {
286
289
margin: 001rem;
287
290
}
288
291
292
+
// OUDS mod: No italic
293
+
em,
294
+
cite {
295
+
font-style: normal; // OUDS mod: remove italic.
296
+
}
297
+
// End mod
298
+
289
299
290
300
// Strong
291
301
//
@@ -304,10 +314,6 @@ strong {
304
314
305
315
small {
306
316
@includefont-size($small-font-size);
307
-
// OUDS mod
308
-
font-weight: $font-weight-normal;
309
-
line-height: $line-height-sm;
310
-
// End mod
311
317
}
312
318
313
319
@@ -383,8 +389,7 @@ pre {
383
389
margin-top: 0; // 1
384
390
margin-bottom: 1rem; // 2
385
391
overflow: auto; // 3
386
-
@includefont-size($code-font-size);
387
-
line-height: $pre-line-height; // OUDS mod
392
+
@extend%code-small; // OUDS mod: instead of `@include font-size($code-font-size)`
388
393
color: $pre-color;
389
394
390
395
// Account for some code outputs that place code tags in pre tags
@@ -399,7 +404,6 @@ var, // OUDS mod
399
404
code {
400
405
@includefont-size($code-font-size);
401
406
font-style: normal; // OUDS mod: <var> is italic in all browsers
402
-
line-height: $line-height-sm; // OUDS mod
403
407
color: var(--#{$prefix}code-color);
404
408
word-wrap: break-word;
405
409
@@ -460,13 +464,10 @@ table {
460
464
caption {
461
465
padding-top: $table-caption-padding-y;
462
466
padding-bottom: $table-caption-padding-y;
463
-
@includefont-size($h1-font-size); // OUDS mod
464
-
font-weight: $font-weight-bold; // OUDS mod
467
+
@extend%heading-xlarge;// OUDS mod
468
+
font-weight: $font-weight-bold; // OUDS mod
465
469
color: $table-caption-color;
466
470
text-align: left;
467
-
468
-
/* rtl:remove */
469
-
letter-spacing: $h1-spacing; // OUDS mod
470
471
-webkit-font-smoothing: antialiased; // OUDS mod
471
472
-moz-osx-font-smoothing: grayscale; // OUDS mod
472
473
text-rendering: optimizelegibility; // OUDS mod
@@ -500,7 +501,6 @@ th {
500
501
501
502
label {
502
503
display: inline-block; // 1
503
-
font-weight: $form-label-font-weight; // OUDS mod
504
504
}
505
505
506
506
// Remove the default `border-radius` that macOS Chrome adds.
@@ -626,9 +626,8 @@ legend {
626
626
width: 100%;
627
627
padding: 0;
628
628
margin-bottom: $legend-margin-bottom;
629
-
@includefont-size($legend-font-size);
629
+
@extend%body-large; // OUDS mod: instead of `@include font-size($legend-font-size)`
0 commit comments