diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2017-05-24 22:58:01 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-05-25 23:04:36 +0200 |
commit | 04edaefad7ed4f9dce9281a25480c1c6eb9e303d (patch) | |
tree | f5d167a4e6fbec4b0d6cb25619371a31069d0b54 /util/hugo/static/css | |
parent | 9ec25f7678f7f3fc1ce35f833d1168e605ad0f94 (diff) |
util/hugo: Add framework to build www.coreboot.org/Documentation
www.coreboot.org/Documentation is now built with hugo (www.gohugo.io)
based on files in this repo's /Documentation directory.
Also clarify that new additions to Documentation are under CC-BY 4.0 terms.
Change-Id: I000e15b29a182bb88b40de3d0178bf8cc54ba8af
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: https://review.coreboot.org/19881
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'util/hugo/static/css')
-rw-r--r-- | util/hugo/static/css/coreboot.css | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/util/hugo/static/css/coreboot.css b/util/hugo/static/css/coreboot.css new file mode 100644 index 0000000000..5d6c6839fa --- /dev/null +++ b/util/hugo/static/css/coreboot.css @@ -0,0 +1,104 @@ +aside.copyright { + padding-top: 30px; + color: rgba(0,0,0,0.3); +} + +.article h3, .article h4 { color:#3f51b5; } +.article h4 { font-style: normal; } + + +.article dl { +} + +.article dl > dt { + margin-top: 1.5em; + display: block; + + font-style: italic; +} + +.article dl > dd { + margin-left: 1.5em; + margin-bottom: 10px; +} + +.article dl > dd > p { + margin-top: 1em; +} + +.article dl > dd > p:first-child { + margin-top: 0px; +} + +.article code { + background: rgba(0,0,0,.05); + border: 1px solid rgba(0,0,0,.05); + padding: 0px 4px; + margin: 1px; + color: inherit !important; + + border-radius: 2px; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; +} + +.article .admonition code { + background: hsla(0,0%,100%,.3); +} + +.article pre > code { + background: none; + margin: 0px; + padding: 0px; + border: none; +} + +.article .admonition pre > code { + background: none; +} + +.article li p { + display: block; + margin-top: 0.5em; +} + +.article ul>li ul>li:before { + content: "∙"; +} + +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSonF5uFdDttMLvmWuJdhhgs.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxi8cqLH4MEiSE0ROcU-qHOA.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBp0EAVxt0G0biEntp43Qt6E.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 700; + src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzInF5uFdDttMLvmWuJdhhgs.ttf) format('truetype'); +} + +.article .admonition { + font-weight: 600; +} + +.article .admonition-title { + font-weight: 400; +} + +.coreboot-download { + width: 50%; +} |