mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
i18n(ar): Arabic face for the Global Context lines
The Global Context panel and its buttons set ui-monospace through the `font` shorthand, so Arabic fell back to a fixed-pitch face with letters spaced apart. In Arabic they use the Arabic-aware mono stack. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9bf8395c54
commit
91f1f80e60
1 file changed
+14
@@ -40,6 +40,20 @@ html:lang(ar) {
|
||||
'Inter', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont,
|
||||
'Geeza Pro', Tahoma, sans-serif;
|
||||
}
|
||||
/* The Global Context lines and their buttons set ui-monospace through the
|
||||
`font` shorthand; route them through the Arabic-aware stack too. */
|
||||
html:lang(ar)
|
||||
:is(
|
||||
#military-awareness-panel,
|
||||
.military-awareness-controls button,
|
||||
.military-awareness-standby button,
|
||||
.military-awareness-compass-label,
|
||||
.military-awareness-compass-heading,
|
||||
.military-awareness-direction-label,
|
||||
.tr3b-toggle
|
||||
) {
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
html:lang(ar) :is(#intel-hud, #cockpit-hud) {
|
||||
--font-mono:
|
||||
'JetBrains Mono', 'SF Mono', 'Fira Code', 'Noto Sans Arabic', 'Geeza Pro',
|
||||
|
||||
Reference in new issue
Block a user