Fix Tor Browser falling back to a serif font for NoScript UI.
This commit is contained in:
parent
3763dcce63
commit
6e494e9a74
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2005-2023 Giorgio Maone <https://maone.net>
|
* Copyright (C) 2005-2024 Giorgio Maone <https://maone.net>
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
@ -12,6 +12,11 @@ body {
|
||||||
font-family: system-ui, sans-serif;
|
font-family: system-ui, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html.tor:not(.mobile) > body {
|
||||||
|
/* Tor Browser may fallback to a serif system-ui font, which is ugly */
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
html.mobile > body {
|
html.mobile > body {
|
||||||
font-family: Inter, sans-serif;
|
font-family: Inter, sans-serif;
|
||||||
font-size: 4mm;
|
font-size: 4mm;
|
||||||
|
|
Loading…
Reference in New Issue