From 4d44ab7e2ed3f933608fd4e7d3f13c1f8a088873 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 7 Jul 2015 14:45:15 +0800 Subject: [PATCH] update default font style --- static/style.css | 6 ++++-- style/themes/default/custom.less | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index 4a493e56f1..e3531615a9 100644 --- a/static/style.css +++ b/static/style.css @@ -57,7 +57,7 @@ body { } body { - font-family: Arial, "Microsoft Yahei", "Hiragino Sans GB", "Microsoft Sans Serif", "WenQuanYi Micro Hei", sans-serif; + font-family: "Helvetica Neue",Helvetica,"Lantinghei SC","Microsoft YaHei","微软雅黑","Hiragino Sans GB",SimSun,sans-serif; line-height: 1.5; color: #888; font-size: 14px; @@ -259,7 +259,7 @@ a.logo { .nav ul li.current a { color: #71B5DE; - font-weight: bold; + font-weight: 600; } .nav ul li a:hover, @@ -544,6 +544,7 @@ footer ul li > a { .markdown h1 { color: #5C6B77; + font-weight: 600; } .markdown h2, @@ -553,6 +554,7 @@ footer ul li > a { .markdown h6 { color: #5C6B77; margin: 1.8em 0 1em 0; + font-weight: 600; } .markdown hr { diff --git a/style/themes/default/custom.less b/style/themes/default/custom.less index 2614b66f05..1cc0a50563 100644 --- a/style/themes/default/custom.less +++ b/style/themes/default/custom.less @@ -10,7 +10,7 @@ // ------ Base & Require ------ @body-background : #fff; -@font-family : Arial, "Microsoft Yahei", "Hiragino Sans GB", "Microsoft Sans Serif", "WenQuanYi Micro Hei", sans-serif; +@font-family : "Helvetica Neue",Helvetica,"Lantinghei SC","Microsoft YaHei","微软雅黑","Hiragino Sans GB",SimSun,sans-serif; @code-family : "PT Mono", Menlo, "Courier New", monospace; @text-color : #666; @font-size-base : 12px; @@ -135,4 +135,4 @@ @input-focus-border-color : @primary-color; @input-disabled-bg : #f3f5f7; -@form-item-margin-bottom : 24px; \ No newline at end of file +@form-item-margin-bottom : 24px;