From afb1714e30dd18399078f52c362c4d50c9f95fdb Mon Sep 17 00:00:00 2001 From: Mathieu Cornic Date: Tue, 12 Apr 2016 01:30:29 +0200 Subject: [PATCH] feat: changed global styling for headers and p --- static/css/hugo-theme.css | 51 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/static/css/hugo-theme.css b/static/css/hugo-theme.css index 2aabaa7fe8..d412d4b3f6 100644 --- a/static/css/hugo-theme.css +++ b/static/css/hugo-theme.css @@ -33,6 +33,11 @@ display: none; } +body { + font-size: 16px !important; + color: #323232 !important; +} + #body a.highlight, #body a.highlight:hover, #body a.highlight:focus { text-decoration: none; outline: none; @@ -151,3 +156,49 @@ h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor { visibility:visible; } + +/* Redfines headers style */ + +h2, h3, h4, h5, h6 { + font-weight: 400; + line-height: 1.1; +} + +h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { + font-weight: inherit; +} + +h2 { + font-size: 2.5rem; + line-height: 110% !important; + margin: 2.5rem 0 1.5rem 0; + text-transform: capitalize; +} + +h3 { + font-size: 2rem; + line-height: 110% !important; + margin: 2rem 0 1rem 0; +} + +h4 { + font-size: 1.5rem; + line-height: 110% !important; + margin: 1.5rem 0 0.75rem 0; +} + +h5 { + font-size: 1; + line-height: 110% !important; + margin: 1rem 0 0.2rem 0; +} + +h6 { + font-size: 0.5rem; + line-height: 110% !important; + margin: 0.5rem 0 0.2rem 0; +} + +p { + margin: 1rem 0; +}