Prechádzať zdrojové kódy

css: update fonts

[CI SKIP]
Unknwon 7 rokov pred
rodič
commit
76ebdb265b
3 zmenil súbory, kde vykonal 12 pridanie a 8 odobranie
  1. 2 2
      public/config.codekit
  2. 5 3
      public/css/gogs.css
  3. 5 3
      public/less/_base.less

+ 2 - 2
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,

+ 5 - 3
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;

+ 5 - 3
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;