From 2a93fa8009096f3ad8bfa30a00436dbee90dfbf3 Mon Sep 17 00:00:00 2001 From: Garrett Guillotte Date: Mon, 18 Apr 2016 16:05:11 -0700 Subject: [PATCH 1/3] Increase h1 size to match main site, and color strong tags in headings. --- less/puppetdocs.less | 11 +++++++++++ less/variables.less | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/less/puppetdocs.less b/less/puppetdocs.less index d17315808801..f9d89299d820 100644 --- a/less/puppetdocs.less +++ b/less/puppetdocs.less @@ -20,6 +20,17 @@ b, strong { font-weight: @font-weight-bold; } +h1, +h2, +h3, +h4, +h5, +h6 { + &strong { + color: @brand-amber; + } +} + a { font-weight: @font-weight-medium; } diff --git a/less/variables.less b/less/variables.less index ff40ec8ef969..8a58d260f25c 100644 --- a/less/variables.less +++ b/less/variables.less @@ -53,7 +53,7 @@ @font-size-large: (@font-size-base * 1.25); // ~22px @font-size-small: (@font-size-base * 0.836364); // ~14.72px -@font-size-h1: (@font-size-base * 2.6); // ~46px +@font-size-h1: (@font-size-base * 2.9); // ~51px @font-size-h2: (@font-size-base * 2.15); // ~38px @font-size-h3: (@font-size-base * 1.7); // ~30px @font-size-h4: (@font-size-base * 1.25); // ~22px From 619ac8955b6a6fe50a52e9ca88cb210487a7732f Mon Sep 17 00:00:00 2001 From: Garrett Guillotte Date: Mon, 18 Apr 2016 16:16:00 -0700 Subject: [PATCH 2/3] Adjust space between ol numerals and items. --- less/type.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/less/type.less b/less/type.less index 9a26f0654f7e..c2d149558f18 100644 --- a/less/type.less +++ b/less/type.less @@ -165,6 +165,14 @@ ol { } } +// Re-align ol items to match ul items. +ol { + padding-left: 2rem; + li { + padding-left: 0.5rem; + } +} + // List options // Unstyled keeps list items block level, just removes default browser padding and list-style From e89836f3315a84ac9e8d26a27f33081991a4e993 Mon Sep 17 00:00:00 2001 From: Garrett Guillotte Date: Mon, 18 Apr 2016 16:58:34 -0700 Subject: [PATCH 3/3] Fix color in strong headings. --- less/puppetdocs.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less/puppetdocs.less b/less/puppetdocs.less index f9d89299d820..5ec0ef58cceb 100644 --- a/less/puppetdocs.less +++ b/less/puppetdocs.less @@ -26,7 +26,7 @@ h3, h4, h5, h6 { - &strong { + & strong { color: @brand-amber; } }