diff options
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | static/css/slim.css | 9 |
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; |