Fall-back to sans-serif if Arial is not available
Otherwise on systems where Arial is not available the system will fallback to a serif font, rather than a sans-serif one. This is especially relevant on acessibility-conscious setups (such as is mine) that have web-fonts disabled and a limited set of fonts available on the system.
This commit is contained in:
parent
7a7bbdb3ab
commit
7134b0ee67
@ -136,11 +136,12 @@ h1, h2, h3, h4,
|
|||||||
#source-sidebar, #sidebar-toggle,
|
#source-sidebar, #sidebar-toggle,
|
||||||
/* This selector is for the items listed in the "all items" page. */
|
/* This selector is for the items listed in the "all items" page. */
|
||||||
#main > ul.docblock > li > a {
|
#main > ul.docblock > li > a {
|
||||||
font-family: "Fira Sans", Arial;
|
font-family: "Fira Sans", Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content ul.crate a.crate {
|
.content ul.crate a.crate {
|
||||||
font: 16px/1.6 "Fira Sans";
|
font-size: 16px/1.6;
|
||||||
|
font-family: "Fira Sans", Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol, ul {
|
ol, ul {
|
||||||
@ -482,7 +483,7 @@ h4 > code, h3 > code, .invisible > code {
|
|||||||
}
|
}
|
||||||
#main > .since {
|
#main > .since {
|
||||||
top: inherit;
|
top: inherit;
|
||||||
font-family: "Fira Sans", Arial;
|
font-family: "Fira Sans", Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content table:not(.table-display) {
|
.content table:not(.table-display) {
|
||||||
@ -1301,7 +1302,7 @@ h4 > .notable-traits {
|
|||||||
|
|
||||||
.help-button {
|
.help-button {
|
||||||
right: 30px;
|
right: 30px;
|
||||||
font-family: "Fira Sans", Arial;
|
font-family: "Fira Sans", Arial, sans-serif;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user