From 2436c026b4519b65ee235180dee332123f50265b Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Wed, 26 Jun 2019 21:25:26 +0100 Subject: [PATCH] Only use CNCF logo style on home page (#14577) There's some SASS that adds a logo to the CNCF section of the page at https://kubernetes.io/ (and its localizations). Narrow this styling to apply only to the home page. --- assets/sass/_base.sass | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/assets/sass/_base.sass b/assets/sass/_base.sass index e631a0049c5..fd007076477 100644 --- a/assets/sass/_base.sass +++ b/assets/sass/_base.sass @@ -1125,6 +1125,16 @@ $feature-box-div-margin-bottom: 40px #vendorStrip display: none + // Add logo to CNCF section + section#cncf + padding-top: 60px + padding-bottom: 140px + background-image: url(/images/cncf-color.png) + background-position: center 100px + background-repeat: no-repeat + background-size: 300px + + // OCEAN NODES #oceanNodes @@ -1269,15 +1279,6 @@ $feature-box-div-margin-bottom: 40px &:hover border-color: white -// CNCF -#cncf - padding-top: 60px - padding-bottom: 140px - background-image: url(/images/cncf-color.png) - background-position: center 100px - background-repeat: no-repeat - background-size: 300px - // KubeWeekly #kubeweekly background-color: $light-grey