Fix Tor Browser falling back to a serif font for NoScript UI.

This commit is contained in:
hackademix 2024-10-15 18:01:50 +02:00
parent 3763dcce63
commit 6e494e9a74
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 6 additions and 1 deletions

View File

@ -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
*/
@ -12,6 +12,11 @@ body {
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 {
font-family: Inter, sans-serif;
font-size: 4mm;