From 76ebdb265b6038aa74f1af4304866a3874844900 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 3 Apr 2017 18:20:49 -0400 Subject: css: update fonts [CI SKIP] --- public/config.codekit | 4 ++-- public/css/gogs.css | 8 +++++--- public/less/_base.less | 8 +++++--- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/public/config.codekit b/public/config.codekit index c5f54ff8..ebd91d95 100644 --- a/public/config.codekit +++ b/public/config.codekit @@ -1,6 +1,6 @@ { "CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit", -"creatorBuild": "19127", +"creatorBuild": "19115", "files": { "\/css\/github.min.css": { "fileType": 16, @@ -66,7 +66,7 @@ "fileType": 32768, "ignore": 0, "ignoreWasSetByUser": 0, - "initialSize": 514087, + "initialSize": 4048, "inputAbbreviatedPath": "\/img\/avatar_default.png", "outputAbbreviatedPath": "\/img\/avatar_default.png", "outputPathIsOutsideProject": 0, diff --git a/public/css/gogs.css b/public/css/gogs.css index fc65aa7d..3583dfa8 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -5,7 +5,7 @@ background-size: contain; } body { - font-family: "Helvetica Neue", "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif !important; + font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif !important; background-color: #fff; overflow-y: scroll; } @@ -14,8 +14,10 @@ h2, h3, h4, h5, -.ui.header { - font-family: "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif !important; +.ui.header, +.ui.input input, +.ui.button { + font-family: "PingFang SC", 'Hiragino Sans GB', "Helvetica Neue", "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif !important; } img { border-radius: 3px; diff --git a/public/less/_base.less b/public/less/_base.less index 407bad82..1b5caf11 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -1,13 +1,15 @@ @footer-margin: 40px; body { - font-family: "Helvetica Neue", "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif !important; + font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif !important; background-color: #fff; overflow-y: scroll; } h1, h2, h3, h4, h5, -.ui.header { - font-family: "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif !important; +.ui.header, +.ui.input input, +.ui.button { + font-family: "PingFang SC", 'Hiragino Sans GB', "Helvetica Neue", "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif !important; } img { border-radius: 3px; -- cgit v1.2.3