diff options
author | zeripath <art27@cantab.net> | 2019-03-18 12:49:01 +0000 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-03-18 08:49:01 -0400 |
commit | d78bb1d56487c38f05f3bc194ccb18aaad1f21c0 (patch) | |
tree | ea3ba4e49f3a02a6e5341d8b161d1348351f81c7 /templates | |
parent | cd8cdbd9d29b2c8c49102f30a0af98378af43777 (diff) | |
download | gitea-d78bb1d56487c38f05f3bc194ccb18aaad1f21c0.tar.gz gitea-d78bb1d56487c38f05f3bc194ccb18aaad1f21c0.zip |
Add lang specific font stacks for CJK (#6007)
* Add lang specific font stacks
* Force font changes
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix icons
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix octicons and icons
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Just override the semantic ui fonts only
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Missed the headers... override them too
* Missed some more semantic ui stuff
* Fix PT Sans
Signed-off-by: Andrew Thornton <art27@cantab.net>
* More changes
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Squashed commit of the following:
commit 7d1679e9079541359869c9e677ba7412bfcc59f3
Author: Mike L <cl.jeremy@qq.com>
Date: Wed Mar 13 13:53:49 2019 +0100
Remove missed YaHei leftover from _home.less
commit 0079121ea91860a323ed4e5cc1a9c0d490d9cefd
Author: Mike L <cl.jeremy@qq.com>
Date: Wed Mar 13 12:03:54 2019 +0100
Fix overdone fixes (inherit, :lang)
commit 62c919915928ec1db4731d547e95885f91a0618d
Author: Mike L <cl.jeremy@qq.com>
Date: Wed Mar 13 02:29:10 2019 +0100
Fix elements w/ explicit lang (language chooser)
commit b3117587aa2eb8570d60bed583a11ee5565418be
Author: Mike L <cl.jeremy@qq.com>
Date: Tue Mar 12 20:17:26 2019 +0100
Fix textarea also (to match body)
commit 81cedf2c3012c4dd05a7680782b4a98e1b947f67
Author: Mike L <cl.jeremy@qq.com>
Date: Tue Mar 12 19:41:39 2019 +0100
Revert css temporarily to fix conflict
commit 80ff82797f3203cbeaf866f22e961334e137df89
Author: Mike L <cl.jeremy@qq.com>
Date: Tue Mar 12 19:15:30 2019 +0100
Tweak CJK, fix Yu Gothic, more monospace inherits
commit 581dceb9a869646c2c486dabb925c88c2680d70c
Author: Mike L <cl.jeremy@qq.com>
Date: Mon Mar 11 13:09:26 2019 +0100
Add Lato for latin extd. & cyrillic, improve CJK
* update stylesheet
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/footer_content.tmpl | 2 | ||||
-rw-r--r-- | templates/base/head.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl index eb050cc58a..6f680d4cb8 100644 --- a/templates/base/footer_content.tmpl +++ b/templates/base/footer_content.tmpl @@ -12,7 +12,7 @@ <div class="text">{{.LangName}}</div> <div class="menu"> {{range .AllLangs}} - <a class="item {{if eq $.Lang .Lang}}active selected{{end}}" href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a> + <a lang="{{.Lang}}" class="item {{if eq $.Lang .Lang}}active selected{{end}}" href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a> {{end}} </div> </div> diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 0a8d3bd9b5..8c2b4c1357 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html lang="{{.Language}}"> <head data-suburl="{{AppSubUrl}}"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> |