diff options
Implimented Open Sans font.
1 files changed, 53 insertions, 1 deletions
| -rw-r--r-- | src/styles.css | 54 |
diff --git a/src/styles.css b/src/styles.css index 9d27d14..e1e7e69 100644 --- a/src/styles.css +++ b/src/styles.css @@ -4,7 +4,7 @@ } body { - font: 19px sans-serif; + font: 19px 'Open Sans', sans-serif; line-height: 1.5em; } @@ -92,6 +92,58 @@ article { } } +@font-face { + font-family: 'Open Sans'; + src: url(/fonts/open-sans/OpenSans-Regular.ttf); + font-weight: normal; +} + +@font-face { + font-family: 'Open Sans'; + src: url(/fonts/open-sans/OpenSans-Bold.ttf); + font-weight: bold; +} + +@font-face { + font-family: 'Open Sans'; + src: url(/fonts/open-sans/OpenSans-ExtraBold.ttf); + font-weight: bolder; +} + +@font-face { + font-family: 'Open Sans'; + src: url(/fonts/open-sans/OpenSans-Italic.ttf); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'Open Sans'; + src: url(/fonts/open-sans/OpenSans-BoldItalic.ttf); + font-weight: bold; + font-style: italic; +} + +@font-face { + font-family: 'Open Sans'; + src: url(/fonts/open-sans/OpenSans-ExtraBoldItalic.ttf); + font-weight: bolder; + font-style: italic; +} + +@font-face { + font-family: 'Open Sans'; + src: url(/fonts/open-sans/OpenSans-Semibold.ttf); + font-weight: 600; +} + +@font-face { + font-family: 'Open Sans'; + src: url(/fonts/open-sans/OpenSans-SemiboldItalic.ttf); + font-weight: 600; + font-style: italic; +} + /* The following CSS is a modified version of sindresorhus's github-markdown-css repo: https://github.com/sindresorhus/github-markdown-css */ code, |