diff options
author | Nan Xiao <road2stat@gmail.com> | 2017-12-28 08:38:58 +0300 |
---|---|---|
committer | Nan Xiao <road2stat@gmail.com> | 2017-12-28 08:38:58 +0300 |
commit | 5993afe534870dc7098bf3d86367619c769b8e72 (patch) | |
tree | 39a10aff64687cc6c12b5661c7f1a0f90607a1d4 | |
parent | ee2131bafe488995f57004150d8a090f1c7064ce (diff) |
title font
-rw-r--r-- | images/hugo-tanka-theme-screenshot.png | bin | 115893 -> 118330 bytes | |||
-rw-r--r-- | layouts/partials/font_title.html | 11 | ||||
-rw-r--r-- | layouts/partials/styles.html | 10 |
3 files changed, 15 insertions, 6 deletions
diff --git a/images/hugo-tanka-theme-screenshot.png b/images/hugo-tanka-theme-screenshot.png Binary files differindex 2d7a708..fdd7492 100644 --- a/images/hugo-tanka-theme-screenshot.png +++ b/images/hugo-tanka-theme-screenshot.png diff --git a/layouts/partials/font_title.html b/layouts/partials/font_title.html index fd22b86..ba85cb7 100644 --- a/layouts/partials/font_title.html +++ b/layouts/partials/font_title.html @@ -1 +1,10 @@ -<link href="https://fonts.googleapis.com/css?family=EB+Garamond:500" rel="stylesheet"> +<style> + @font-face { + font-family: "TiemposHeadline"; + src: url("https://www.bu.edu/cdn/fonts/TiemposHeadline/TiemposHeadline-Regular.eot"); + src: url("https://www.bu.edu/cdn/fonts/TiemposHeadline/TiemposHeadline-Regular.eot?#iefix") format("embedded-opentype"), + url("https://www.bu.edu/cdn/fonts/TiemposHeadline/TiemposHeadline-Regular.woff") format("woff"); + font-style: normal; + font-weight: 400; + } + </style> diff --git a/layouts/partials/styles.html b/layouts/partials/styles.html index 01b1005..671ac1b 100644 --- a/layouts/partials/styles.html +++ b/layouts/partials/styles.html @@ -11,7 +11,7 @@ } body { - font-family: "TiemposText", Georgia, Times, "Times New Roman", "Hiragino Kaku Gothic Pro", "Meiryo", serif; + font-family: "TiemposText", Georgia, Times, "Times New Roman", serif; font-size: 16px; line-height: 160%; color: #333; @@ -93,15 +93,15 @@ } .sans,html .gist .gist-file .gist-meta { - font-family: "TiemposText", "Myriad Pro", Myriad, sans-serif; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } .mono,pre,code,tt,p code,li code { - font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; } .heading,.serif,h1,h2,h3 { - font-family: "EB Garamond", serif; + font-family: "TiemposHeadline", serif; } strong { @@ -281,7 +281,7 @@ } #not-found a { - font-family:"EB Garamond",serif; + font-family: "TiemposHeadline", serif; font-size: 200px; text-decoration: none; display: inline-block; |