Skip to content

Commit b79999c

Browse files
authored
Rollup merge of rust-lang#59405 - benesch:docs-font, r=GuillaumeGomez
doc: use correct body font URLs The CSS for the docs homepage (docs.rust-lang.org) was using the wrong URL for the body font, resulting in the fallback serif font being used, instead of the desired Source Serif Pro fonts. (It's worth noting that the CSS for rustdoc's API generation got these URLs right.)
2 parents 77bec87 + efac054 commit b79999c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/rust.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
font-family: 'Source Serif Pro';
1515
font-style: normal;
1616
font-weight: 400;
17-
src: local('Source Serif Pro'), url("SourceSerifPro-Regular.woff") format('woff');
17+
src: local('Source Serif Pro'), url("SourceSerifPro-Regular.ttf.woff") format('woff');
1818
}
1919
@font-face {
2020
font-family: 'Source Serif Pro';
2121
font-style: italic;
2222
font-weight: 400;
23-
src: url("Heuristica-Italic.woff") format('woff');
23+
src: url("SourceSerifPro-It.ttf.woff") format('woff');
2424
}
2525
@font-face {
2626
font-family: 'Source Serif Pro';
2727
font-style: normal;
2828
font-weight: 700;
29-
src: local('Source Serif Pro Bold'), url("SourceSerifPro-Bold.woff") format('woff');
29+
src: local('Source Serif Pro Bold'), url("SourceSerifPro-Bold.ttf.woff") format('woff');
3030
}
3131
@font-face {
3232
font-family: 'Source Code Pro';

0 commit comments

Comments
 (0)