From 5150428d26c1efe2c68894b369074751d808d60c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=B5=E6=97=AD?= Date: Thu, 11 Feb 2016 17:18:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A0=90=E8=A8=AD=E5=AD=97?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://developers.google.com/fonts/docs/getting_started https://www.google.com/get/noto/#sans-hant 本來想改用 Google Noto 中文,但是無奈沒有找到 API 入口。 先用 Inconsolata 頂著,並修改了文章列表的標題大小。 --- _posts/2015-04-11-welcome-to-jekyll.markdown | 25 -------------------- _sass/_layout.scss | 3 ++- _sass/_zx1986.scss | 5 ---- css/main.scss | 4 ++-- 4 files changed, 4 insertions(+), 33 deletions(-) delete mode 100644 _posts/2015-04-11-welcome-to-jekyll.markdown delete mode 100644 _sass/_zx1986.scss diff --git a/_posts/2015-04-11-welcome-to-jekyll.markdown b/_posts/2015-04-11-welcome-to-jekyll.markdown deleted file mode 100644 index e8d601ba..00000000 --- a/_posts/2015-04-11-welcome-to-jekyll.markdown +++ /dev/null @@ -1,25 +0,0 @@ ---- -layout: post -title: "Welcome to Jekyll!" -date: 2015-04-11 16:35:50 -categories: jekyll update ---- -You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. - -To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. - -Jekyll also offers powerful support for code snippets: - -{% highlight ruby %} -def print_hi(name) - puts "Hi, #{name}" -end -print_hi('Tom') -#=> prints 'Hi, Tom' to STDOUT. -{% endhighlight %} - -Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help]. - -[jekyll]: http://jekyllrb.com -[jekyll-gh]: https://github.com/jekyll/jekyll -[jekyll-help]: https://github.com/jekyll/jekyll-help diff --git a/_sass/_layout.scss b/_sass/_layout.scss index 24f35490..7addc477 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -35,11 +35,12 @@ main { span { color: $meta-color; margin-right: 1.5rem; - font-size: $small-font-size; + font-size: $small-font-size*1.2; } a { color: $text-color; text-decoration: none; + font-size: $small-font-size*1.2; } } } diff --git a/_sass/_zx1986.scss b/_sass/_zx1986.scss deleted file mode 100644 index bcd5a613..00000000 --- a/_sass/_zx1986.scss +++ /dev/null @@ -1,5 +0,0 @@ -@charset "utf-8"; - -a:hover { - text-decoration: none; -} diff --git a/css/main.scss b/css/main.scss index 509aace3..9c889df1 100755 --- a/css/main.scss +++ b/css/main.scss @@ -4,7 +4,7 @@ @charset "utf-8"; -$base-font-family: Merriweather, Helvetica, Arial, sans-serif; +$base-font-family: Inconsolata, Helvetica, Arial, sans-serif; $base-font-size: 16px; $small-font-size: 0.875rem; $base-line-height: 1.5; @@ -14,7 +14,7 @@ $link-color: #0074d9; $meta-color: #a0a0a0; $border-color: #ddd; -@import url(http://fonts.googleapis.com/css?family=Merriweather:400,400italic,700); +@import url(http://fonts.googleapis.com/css?family=Inconsolata:400,700,italic); @import "color"; @import "base"; @import "layout";