From c7f0fea8ae974693c6a38c78d2779149dda6b057 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Mon, 18 Jun 2018 16:21:03 +0200 Subject: [PATCH] Article top section white --- publichealth/static/css/modules/_articles.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/publichealth/static/css/modules/_articles.scss b/publichealth/static/css/modules/_articles.scss index 947e6b2..e9e38ff 100644 --- a/publichealth/static/css/modules/_articles.scss +++ b/publichealth/static/css/modules/_articles.scss @@ -2,17 +2,18 @@ section { padding: 3em 0; - &:nth-child(odd) { - background-color: $gray-lighter; - color: black; - } - h1 { font-size: 40px; text-align: center; margin-bottom: 1.5em; text-transform: uppercase; } + + // Article zebra stripes + &:nth-child(even) { + background-color: $gray-lighter; + color: black; + } } // Stretch the top image @@ -27,7 +28,6 @@ section { h5 { font-size: 22px; } line-height: 1.5; - background: white; img.full-width { width: 100%;