From d78bb1d56487c38f05f3bc194ccb18aaad1f21c0 Mon Sep 17 00:00:00 2001 From: zeripath Date: Mon, 18 Mar 2019 12:49:01 +0000 Subject: Add lang specific font stacks for CJK (#6007) * Add lang specific font stacks * Force font changes Signed-off-by: Andrew Thornton * Fix icons Signed-off-by: Andrew Thornton * Fix octicons and icons Signed-off-by: Andrew Thornton * Just override the semantic ui fonts only Signed-off-by: Andrew Thornton * Missed the headers... override them too * Missed some more semantic ui stuff * Fix PT Sans Signed-off-by: Andrew Thornton * More changes Signed-off-by: Andrew Thornton * Squashed commit of the following: commit 7d1679e9079541359869c9e677ba7412bfcc59f3 Author: Mike L Date: Wed Mar 13 13:53:49 2019 +0100 Remove missed YaHei leftover from _home.less commit 0079121ea91860a323ed4e5cc1a9c0d490d9cefd Author: Mike L Date: Wed Mar 13 12:03:54 2019 +0100 Fix overdone fixes (inherit, :lang) commit 62c919915928ec1db4731d547e95885f91a0618d Author: Mike L Date: Wed Mar 13 02:29:10 2019 +0100 Fix elements w/ explicit lang (language chooser) commit b3117587aa2eb8570d60bed583a11ee5565418be Author: Mike L Date: Tue Mar 12 20:17:26 2019 +0100 Fix textarea also (to match body) commit 81cedf2c3012c4dd05a7680782b4a98e1b947f67 Author: Mike L Date: Tue Mar 12 19:41:39 2019 +0100 Revert css temporarily to fix conflict commit 80ff82797f3203cbeaf866f22e961334e137df89 Author: Mike L Date: Tue Mar 12 19:15:30 2019 +0100 Tweak CJK, fix Yu Gothic, more monospace inherits commit 581dceb9a869646c2c486dabb925c88c2680d70c Author: Mike L Date: Mon Mar 11 13:09:26 2019 +0100 Add Lato for latin extd. & cyrillic, improve CJK * update stylesheet --- public/less/_repository.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'public/less/_repository.less') diff --git a/public/less/_repository.less b/public/less/_repository.less index a5c30403e3..d2e6fdd2fc 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -330,7 +330,7 @@ .code-view { * { font-size: 12px; - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-family: @monospaced-fonts, monospace; line-height: 20px; } @@ -430,7 +430,7 @@ .branch-name { display: inline-block; padding: 3px 6px; - font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; + font: 12px @monospaced-fonts, monospace; color: rgba(0,0,0,0.65); background-color: rgba(209,227,237,0.45); border-radius: 3px; @@ -699,7 +699,7 @@ } textarea { height: 200px; - font-family: "Consolas", monospace; + font-family: @monospaced-fonts, monospace; } } @@ -802,7 +802,7 @@ } textarea { height: 200px; - font-family: "Consolas", monospace; + font-family: @monospaced-fonts, monospace; } } } @@ -1346,7 +1346,7 @@ &.new { .CodeMirror { .CodeMirror-code { - font-family: "Consolas", monospace; + font-family: @monospaced-fonts, monospace; .cm-comment { background: inherit; } -- cgit v1.2.3