From 65de8a741a4983e16d50f57a98a4ebb21bce91f5 Mon Sep 17 00:00:00 2001 From: Jennifer Mann Date: Tue, 23 May 2017 12:21:31 -0400 Subject: [PATCH] docs: Update page header /section styles --- .../cypress/source/css/_partial/page.scss | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/themes/cypress/source/css/_partial/page.scss b/docs/themes/cypress/source/css/_partial/page.scss index 96c4eb616b..b08908fb01 100644 --- a/docs/themes/cypress/source/css/_partial/page.scss +++ b/docs/themes/cypress/source/css/_partial/page.scss @@ -167,13 +167,17 @@ margin: 1em 0; } + + h1 { - font-size: 1.6em; + font-size: 1.7em; line-height: 1.5em; font-weight: 500; margin: 1.5em 0 0.5em 0; padding: 0; font-family: $font-title; + border-top: 2px solid #eee; + padding-top: 1.5em; &>a { font-weight: 500; @@ -181,10 +185,10 @@ } h2 { - font-size: 1em; + font-size: 1.3em; line-height: 1.5em; font-weight: 500; - margin: 1em 0 1em 0; + margin: 2em 0 0.5em 0; font-family: $font-title; code { @@ -221,6 +225,16 @@ font-family: $font-title; } + + &>p>strong { + display: inline-block; + margin-top: 1.5em; + } + + &>h2+p>strong, &>h1+p>strong { + margin-top: 0; + } + a { color: $color-link; text-decoration: none;