From a7e7c07d501b90eae9a3a91a4fd4c63607bbacec Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 9 May 2016 20:59:41 +0100 Subject: [PATCH] Update CSS to dynamically color alternate home sections --- static/css/hugo-academic.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/static/css/hugo-academic.css b/static/css/hugo-academic.css index 78762aa9..8e00d8f3 100644 --- a/static/css/hugo-academic.css +++ b/static/css/hugo-academic.css @@ -129,13 +129,10 @@ footer p.powered-by { margin-bottom: 0px; width: 1905px; margin-left: -382.5px; -} - -.home-section-wrapper.full_width.home:nth-child(even) { background-color: rgb(255, 255, 255); } -.home-section-wrapper.full_width.home:nth-child(odd) { +.home-section-wrapper.full_width.home:nth-of-type(even) { background-color: rgb(247, 247, 247); }