Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zhe/hugo-theme-slim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhe Zhang <neomana@gmail.com>2016-01-20 18:22:30 +0300
committerZhe Zhang <neomana@gmail.com>2016-01-20 18:22:30 +0300
commit83b02fc03fb50940b209dda7c17060c27dc9963f (patch)
tree025d71cdc4f343fbd0431678e57d16aed2e1082b
parentac9d1916749a7830ea4a32d5d28ab8609cdc65fb (diff)
update font and font-weight
-rw-r--r--layouts/partials/head.html2
-rw-r--r--static/css/slim.css10
2 files changed, 7 insertions, 5 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 47f77a7..42e7989 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -5,7 +5,7 @@
<!-- CSS -->
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/slim.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/highlight.min.css">
-<link href='https://fonts.googleapis.com/css?family=Merriweather:400,700|Montserrat|Source+Code+Pro' rel='stylesheet' type='text/css'>
+<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Source+Code+Pro' rel='stylesheet' type='text/css'>
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.ico">
diff --git a/static/css/slim.css b/static/css/slim.css
index 9355e7e..4a9d03d 100644
--- a/static/css/slim.css
+++ b/static/css/slim.css
@@ -41,8 +41,9 @@ tbody tr:nth-child(odd) th {
body {
color: #555;
- font-family: 'Merriweather', 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', Arial, Serif;
+ font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', Arial, Serif;
font-size: 100%;
+ font-weight: 400;
line-height: 1.85;
letter-spacing: 0.01rem; }
@@ -52,10 +53,10 @@ h3,
h4,
h5,
h6 {
- font-weight: 400;
+ font-weight: 700;
line-height: 1.25;
margin-bottom: 0.75rem;
- font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
+ font-family: 'Source Sans Pro', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
h1 {
font-size: 1.8rem; }
@@ -176,7 +177,8 @@ button,
margin: 3rem auto; }
.site-title {
- font-size: 1.5rem; }
+ font-size: 1.5rem;
+ font-weight: 700; }
.site-title a {
color: #333; }