diff options
author | ⧉ infominer <infominer@protonmail.com> | 2019-07-05 11:44:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-05 11:44:22 +0300 |
commit | e307606afdc09fb5d947eb0bb242cf7ee3c58124 (patch) | |
tree | 80e1c4ceef07fa5b2276834951cfa42a4067ed5b | |
parent | f966f7c9d8f16e72889506674753d117cdc27073 (diff) | |
parent | 19315011bcc1f24f53742d7ba7b08542d7641030 (diff) |
Merge pull request #2 from AngeloStavrow/master
merge updates
-rw-r--r-- | CHANGELOG.md | 10 | ||||
-rw-r--r-- | layouts/partials/fonts.css | 14 | ||||
-rw-r--r-- | static/css/style.css | 28 |
3 files changed, 33 insertions, 19 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index ebed565..a222dc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +## [1.0.6] +### Fixed +- Fixed some copy/paste errors in CSS `font-family` definitions per [#38](https://github.com/AngeloStavrow/indigo/issues/38) +- Fixes `<h1>` font-sizing per [#41](https://github.com/AngeloStavrow/indigo/issues/41) + ## [1.0.5] ### Fixed - Cleaned up some errant whitespace thanks to [@dixonge](https://github.com/dixonge)! @@ -42,6 +49,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - The first public release of the indigo theme for Hugo, along with related project documentation (including this changelog). +[Unreleased]: https://github.com/AngeloStavrow/indigo/compare/v1.0.6...HEAD +[1.0.6]: https://github.com/AngeloStavrow/indigo/compare/v1.0.5...v1.0.6 +[1.0.5]: https://github.com/AngeloStavrow/indigo/compare/v1.0.4...v1.0.5 [1.0.4]: https://github.com/AngeloStavrow/indigo/compare/v1.0.3...v1.0.4 [1.0.3]: https://github.com/AngeloStavrow/indigo/compare/v1.0.2...v1.0.3 [1.0.2]: https://github.com/AngeloStavrow/indigo/compare/v1.0.1...v1.0.2 diff --git a/layouts/partials/fonts.css b/layouts/partials/fonts.css index 4e9aecd..a3d857c 100644 --- a/layouts/partials/fonts.css +++ b/layouts/partials/fonts.css @@ -7,7 +7,7 @@ url('{{ .Site.BaseURL }}fonts/FiraCode-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; - font-display: optional; + font-display: fallback; } @font-face { @@ -16,7 +16,7 @@ src: url('{{ .Site.BaseURL }}fonts/charter_regular-webfont.eot?#iefix') format('embedded-opentype'), url('{{ .Site.BaseURL }}fonts/charter_regular-webfont.woff') format('woff'), url('{{ .Site.BaseURL }}fonts/charter_regular-webfont.ttf') format('truetype'); - font-display: optional; + font-display: fallback; } @font-face { @@ -26,7 +26,7 @@ url('{{ .Site.BaseURL }}fonts/charter_bold-webfont.woff') format('woff'), url('{{ .Site.BaseURL }}fonts/charter_bold-webfont.ttf') format('truetype'); font-weight: bold; - font-display: optional; + font-display: fallback; } @font-face { @@ -36,7 +36,7 @@ url('{{ .Site.BaseURL }}fonts/charter_italic-webfont.woff') format('woff'), url('{{ .Site.BaseURL }}fonts/charter_italic-webfont.ttf') format('truetype'); font-style: italic; - font-display: optional; + font-display: fallback; } @font-face { @@ -47,7 +47,7 @@ url('{{ .Site.BaseURL }}fonts/charter_bold_italic-webfont.ttf') format('truetype'); font-style: italic; font-weight: bold; - font-display: optional; + font-display: fallback; } @font-face { @@ -57,7 +57,7 @@ url('{{ .Site.BaseURL }}fonts/FiraSans-Book.woff2') format('woff2'), url('{{ .Site.BaseURL }}fonts/FiraSans-Book.woff') format('woff'), url('{{ .Site.BaseURL }}fonts/FiraSans-Book.ttf') format('truetype'); - font-display: optional; + font-display: fallback; } @font-face { @@ -68,5 +68,5 @@ url('{{ .Site.BaseURL }}fonts/FiraSans-Bold.woff') format('woff'), url('{{ .Site.BaseURL }}fonts/FiraSans-Bold.ttf') format('truetype'); font-weight: bold; - font-display: optional; + font-display: fallback; } diff --git a/static/css/style.css b/static/css/style.css index 569d557..676124b 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -5,7 +5,7 @@ body { background-color: #f8f8f8; color: #3f3f3f; - font-family: 'Charter', Fallback, serif; + font-family: "Charter", Times, "Times New Roman", serif; margin: 0 auto; } @@ -96,13 +96,17 @@ body { background-color: #f8f8f8; } -h1, h2, h3 { - font-family: 'Fira Sans', Fallback, sans-serif; +h1, h2, h3, h4, h5, h6 { + font-family: "Fira Sans", Helvetica, Arial, sans-serif; font-weight: bold; margin-top: 2em; padding-top: 0.15em; } +h1 { + font-size: 2em; +} + a { color: #00416a; } @@ -135,7 +139,7 @@ h2.list-title > a:hover { } a.read-more { - font-family: 'Fira Sans'; + font-family: "Fira Sans"; font-size: smaller; text-transform: uppercase; } @@ -147,7 +151,7 @@ section.content { p.post-date { background-color: #00416a; color: #dee5e9; - font-family: 'Fira Sans', Fallback, sans-serif; + font-family: "Fira Sans", Helvetica, Arial, sans-serif; font-size: smaller; margin: 0 0 2.5em 0; padding: 0.25em 0.5em; @@ -164,7 +168,7 @@ h2.list-title { } p.list-post-date { - font-family: 'Fira Sans', Fallback, sans-serif; + font-family: "Fira Sans", Helvetica, Arial, sans-serif; font-size: smaller; margin: 1em 0 1.5em 0; padding: 0; @@ -176,7 +180,7 @@ p.list-post-date { } .copyright { - font-family: 'Fira Sans', Fallback, sans-serif; + font-family: "Fira Sans", Helvetica, Arial, sans-serif; font-size: smaller; margin-top: 2em; text-align: center; @@ -203,7 +207,7 @@ img.u-photo { } .card-subhead { - font-family: 'Fira Sans', Fallback, sans-serif; + font-family: "Fira Sans", Helvetica, Arial, sans-serif; font-size: smaller; text-transform: uppercase; } @@ -221,7 +225,7 @@ blockquote { code { background-color: #dee5e9; color: #00416a; - font-family: 'Fira Code', Fallback, monospace; + font-family: "Fira Code", "Courier New", Courier, monospace; padding: 0.1em 0.2em 0.1em 0.2em; } @@ -252,7 +256,7 @@ a.permalink { } .post-tag { - font-family: 'Fira Sans', Fallback, sans-serif; + font-family: "Fira Sans", Helvetica, Arial, sans-serif; font-size: small; text-transform: uppercase; } @@ -288,7 +292,7 @@ div#site-header > p { } div#page-nav, #pagination { - font-family: 'Fira Sans', Fallback, sans-serif; + font-family: "Fira Sans", Helvetica, Arial, sans-serif; font-size: smaller; line-height: 1em; margin: 1.5em 0 2.5em 0; @@ -382,7 +386,7 @@ nav#article-skip { display: flex; flex-direction: row; flex-wrap: nowrap; - font-family: 'Fira Sans', Fallback, sans-serif; + font-family: "Fira Sans", Helvetica, Arial, sans-serif; font-size: smaller; justify-content: space-around; line-height: 1em; |