Skip to content

Commit 54e5935

Browse files
TheoChevalierflodolo
authored andcommitted
Set font fallback on Arial for unsupported locales, prevent the fallback font to be bold (#788)
1 parent 719d5e9 commit 54e5935

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

web/style/transvision.css

+12-4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@
4949
font-style: normal;
5050
}
5151

52+
@font-face {
53+
font-family: 'Fira Sans';
54+
src: url(/fonts/FiraSans/FiraSans-Book.woff2) format('woff2'),
55+
url(/fonts/FiraSans/FiraSans-Book.woff) format('woff');
56+
font-weight: normal;
57+
font-style: normal;
58+
}
59+
60+
5261
/* General structure */
5362

5463
html {
@@ -360,8 +369,7 @@ th.select_header a:hover {
360369
}
361370

362371
td {
363-
font-family: 'Fira Sans UltraLight', sans-serif;
364-
font-weight: bold;
372+
font-family: 'Fira Sans', Arial, sans-serif;
365373
font-size: 13px;
366374
padding: 0.5em;
367375
border: 1px solid rgba(0, 0, 0, 0.05);
@@ -513,7 +521,7 @@ table tr td.no_highligth {
513521
}
514522

515523
.searchedTerm {
516-
font-family: 'Fira Sans UltraLight', sans-serif;
524+
font-family: 'Fira Sans UltraLight', Arial, sans-serif;
517525
font-style: italic;
518526
opacity: 0.8;
519527
font-variant: normal;
@@ -738,7 +746,7 @@ input[type="checkbox"]:disabled + label {
738746

739747
#clear_search:before {
740748
content: "×";
741-
font-family: 'Fira Sans UltraLight', sans-serif;
749+
font-family: 'Fira Sans UltraLight', Arial, sans-serif;
742750
font-size: 2.5em;
743751
line-height: 0.5em;
744752
}

0 commit comments

Comments
 (0)