Skip to content

Commit 54a7694

Browse files
Julowjonludlam
authored andcommitted
Style: Remove font fallback to Helvetica, Arial
These fonts are not common nowadays and do not look native. Let the user agent set the fallback font in the rare cases the distributed font cannot be used (eg. missing on server or unsupported by client).
1 parent dfefbcc commit 54a7694

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

src/html_support_files/odoc.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ header {
282282
}
283283

284284
nav {
285-
font-family: "Fira Sans", Helvetica, Arial, sans-serif;
285+
font-family: "Fira Sans", sans-serif;
286286
}
287287

288288
/* Basic markup elements */
@@ -413,7 +413,7 @@ a.anchor {
413413
a.source_link {
414414
float: right;
415415
color: var(--source-color);
416-
font-family: "Fira Sans", Helvetica, Arial, sans-serif;
416+
font-family: "Fira Sans", sans-serif;
417417
font-size: initial;
418418
}
419419

@@ -422,7 +422,7 @@ a.source_link {
422422
we restart the sequence there like h2 */
423423

424424
h1, h2, h3, h4, h5, h6, .h7, .h8, .h9, .h10 {
425-
font-family: "Fira Sans", Helvetica, Arial, sans-serif;
425+
font-family: "Fira Sans", sans-serif;
426426
font-weight: 400;
427427
padding-top: 0.1em;
428428
line-height: 1.2;

0 commit comments

Comments
 (0)