Skip to content

Style: Remove font fallback to Helvetica, Arial #1028

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Tags:
### Changed
- Style: Preformatted elements fallback to UA monospace (@toastal, #967)

### Changed
- Style: Remove font fallback to Helvetica, Arial (@Julow, #1028)

# 2.3.0

### Added
Expand Down
6 changes: 3 additions & 3 deletions src/html_support_files/odoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ header {
}

nav {
font-family: "Fira Sans", Helvetica, Arial, sans-serif;
font-family: "Fira Sans", sans-serif;
}

/* Basic markup elements */
Expand Down Expand Up @@ -413,7 +413,7 @@ a.anchor {
a.source_link {
float: right;
color: var(--source-color);
font-family: "Fira Sans", Helvetica, Arial, sans-serif;
font-family: "Fira Sans", sans-serif;
font-size: initial;
}

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

h1, h2, h3, h4, h5, h6, .h7, .h8, .h9, .h10 {
font-family: "Fira Sans", Helvetica, Arial, sans-serif;
font-family: "Fira Sans", sans-serif;
font-weight: 400;
padding-top: 0.1em;
line-height: 1.2;
Expand Down
Loading