diff options
author | edavidaja <enyinnaya.aja@gmail.com> | 2019-06-04 16:50:58 +0300 |
---|---|---|
committer | edavidaja <enyinnaya.aja@gmail.com> | 2019-06-04 16:50:58 +0300 |
commit | 1d0b12d9b35d16403b49b79b0a50541906f4a439 (patch) | |
tree | 02f7bf7a49a95f7ce4c56fb7ff040f6c76e5b041 | |
parent | 2e8aeb90a9828d299226a4666963af63aa411730 (diff) |
open font
-rw-r--r-- | README.md | 28 | ||||
-rw-r--r-- | layouts/partials/head.html | 1 | ||||
-rw-r--r-- | static/assets/css/main.css | 8 |
3 files changed, 33 insertions, 4 deletions
@@ -0,0 +1,28 @@ +# docter + +Docter is a project documentation theme based on [CFPB's DOCter](https://github.com/cfpb/docter). 18F Guides also made significant use of these themes, and some inspiration is drawn from those as well. + +## installation + +from the root of your hugo site, run: + +``` +cd themes +git clone https://gitlab.com/edavidaja/docter +``` + +## getting started + +### config + +### pages + +The sidebar will be built automatically from the content in `page`. You can use `weight` in the content front matter to adjust the order of the items. + +### posts + +You can create blog posts in post `post`. + +## License + +released under the MIT license
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 07aab57..1cdf055 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -6,6 +6,7 @@ </title> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="{{ .Site.BaseURL }}assets/css/normalize.css"> + <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap" rel="stylesheet"> <link rel="stylesheet" href="{{ .Site.BaseURL }}assets/css/main.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}assets/css/syntax.css"> <!--[if lt IE 9]> diff --git a/static/assets/css/main.css b/static/assets/css/main.css index 4d28e4c..dd55f90 100644 --- a/static/assets/css/main.css +++ b/static/assets/css/main.css @@ -32,7 +32,7 @@ Typography */ body { - font-family: "Avenir Next", Arial, sans-serif; + font-family: "Open Sans", Arial, sans-serif; font-weight: 400; font-style: normal; line-height: 1.466666667; @@ -43,13 +43,13 @@ h3, h4, h5, strong { - font-family: "Avenir Next Demi", "Avenir Next", Arial, sans-serif; + font-family: "Open Sans", Arial, sans-serif; font-weight: 600; } .site-title { font-size: 1.625em; - font-family: "Avenir Next", Arial, sans-serif; + font-family: "Open Sans", Arial, sans-serif; font-weight: normal; color: #919395; margin: 0; @@ -334,7 +334,7 @@ li h4 { } .license { - font-family: "Avenir Next Demi", Arial, sans-serif; + font-family: "Open Sans", Arial, sans-serif; font-weight: normal; font-style: normal; } |