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>2015-12-26 13:15:13 +0300
committerZhe Zhang <neomana@gmail.com>2015-12-26 13:15:13 +0300
commitdb985987411e42974f78dcf12cdffceeaefd6afe (patch)
tree110f399f92ecb5b45891d991523bb4179a8cbc38
parentf56bb9ec0322042d1774a845569454e470a2fdcd (diff)
new fonts
-rw-r--r--layouts/partials/head.html2
-rw-r--r--static/css/slim.css9
2 files changed, 6 insertions, 5 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 771ce48..cf327fb 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='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600&subset=latin,latin-ext' rel='stylesheet'>
+<link href='https://fonts.googleapis.com/css?family=Merriweather:400,700|Montserrat:400' 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 b737996..8d22ddb 100644
--- a/static/css/slim.css
+++ b/static/css/slim.css
@@ -41,7 +41,7 @@ tbody tr:nth-child(odd) th {
body {
color: #555;
- font-family: Verdana, 'Merriweather', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', Serif;
+ font-family: 'Merriweather', 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', Arial, Serif;
font-size: 100%;
line-height: 1.85;
letter-spacing: 0.01rem; }
@@ -52,9 +52,10 @@ h3,
h4,
h5,
h6 {
- font-weight: bold;
+ font-weight: 400;
line-height: 1.25;
- margin-bottom: 0.75rem; }
+ margin-bottom: 0.75rem;
+ font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
h1 {
font-size: 1.8rem; }
@@ -111,7 +112,7 @@ pre {
pre code {
font-family: Menlo, Monaco, Courier, monospace;
- font-size: 0.8rem;
+ font-size: 0.7rem;
padding: 0;
color: inherit;
background-color: transparent;