|
6 | 6 | src: local('Fira Sans'),
|
7 | 7 | url("FiraSans-Regular.woff2") format("woff2"),
|
8 | 8 | url("FiraSans-Regular.woff") format('woff');
|
| 9 | + font-display: swap; |
9 | 10 | }
|
10 | 11 | @font-face {
|
11 | 12 | font-family: 'Fira Sans';
|
|
14 | 15 | src: local('Fira Sans Medium'),
|
15 | 16 | url("FiraSans-Medium.woff2") format("woff2"),
|
16 | 17 | url("FiraSans-Medium.woff") format('woff');
|
| 18 | + font-display: swap; |
17 | 19 | }
|
18 | 20 |
|
19 | 21 | /* See SourceSerifPro-LICENSE.txt for the Source Serif Pro license. */
|
|
22 | 24 | font-style: normal;
|
23 | 25 | font-weight: 400;
|
24 | 26 | src: local('Source Serif Pro'), url("SourceSerifPro-Regular.ttf.woff") format('woff');
|
| 27 | + font-display: swap; |
25 | 28 | }
|
26 | 29 | @font-face {
|
27 | 30 | font-family: 'Source Serif Pro';
|
28 | 31 | font-style: italic;
|
29 | 32 | font-weight: 400;
|
30 | 33 | src: local('Source Serif Pro Italic'), url("SourceSerifPro-It.ttf.woff") format('woff');
|
| 34 | + font-display: swap; |
31 | 35 | }
|
32 | 36 | @font-face {
|
33 | 37 | font-family: 'Source Serif Pro';
|
34 | 38 | font-style: normal;
|
35 | 39 | font-weight: 700;
|
36 | 40 | src: local('Source Serif Pro Bold'), url("SourceSerifPro-Bold.ttf.woff") format('woff');
|
| 41 | + font-display: swap; |
37 | 42 | }
|
38 | 43 |
|
39 | 44 | /* See SourceCodePro-LICENSE.txt for the Source Code Pro license. */
|
|
44 | 49 | /* Avoid using locally installed font because bad versions are in circulation:
|
45 | 50 | * see https://github.com/rust-lang/rust/issues/24355 */
|
46 | 51 | src: url("SourceCodePro-Regular.woff") format('woff');
|
| 52 | + font-display: swap; |
47 | 53 | }
|
48 | 54 | @font-face {
|
49 | 55 | font-family: 'Source Code Pro';
|
50 | 56 | font-style: normal;
|
51 | 57 | font-weight: 600;
|
52 | 58 | src: url("SourceCodePro-Semibold.woff") format('woff');
|
| 59 | + font-display: swap; |
53 | 60 | }
|
54 | 61 |
|
55 | 62 | * {
|
@@ -129,7 +136,7 @@ h1, h2, h3, h4,
|
129 | 136 | #source-sidebar, #sidebar-toggle,
|
130 | 137 | /* This selector is for the items listed in the "all items" page. */
|
131 | 138 | #main > ul.docblock > li > a {
|
132 |
| - font-family: "Fira Sans", sans-serif; |
| 139 | + font-family: "Fira Sans", Arial; |
133 | 140 | }
|
134 | 141 |
|
135 | 142 | .content ul.crate a.crate {
|
@@ -475,7 +482,7 @@ h4 > code, h3 > code, .invisible > code {
|
475 | 482 | }
|
476 | 483 | #main > .since {
|
477 | 484 | top: inherit;
|
478 |
| - font-family: "Fira Sans", sans-serif; |
| 485 | + font-family: "Fira Sans", Arial; |
479 | 486 | }
|
480 | 487 |
|
481 | 488 | .content table:not(.table-display) {
|
|
684 | 691 | width: calc(100% - 63px);
|
685 | 692 | }
|
686 | 693 | #crate-search {
|
| 694 | + min-width: 115px; |
687 | 695 | margin-top: 5px;
|
688 | 696 | padding: 6px;
|
689 | 697 | padding-right: 19px;
|
@@ -1293,7 +1301,7 @@ h4 > .notable-traits {
|
1293 | 1301 |
|
1294 | 1302 | .help-button {
|
1295 | 1303 | right: 30px;
|
1296 |
| - font-family: "Fira Sans",sans-serif; |
| 1304 | + font-family: "Fira Sans", Arial; |
1297 | 1305 | text-align: center;
|
1298 | 1306 | font-size: 17px;
|
1299 | 1307 | }
|
|
0 commit comments