diff --git a/source/_static/css/homepage-v1.css b/source/_static/css/homepage-v1.css index b6b317adcfa..04ce4b015ce 100644 --- a/source/_static/css/homepage-v1.css +++ b/source/_static/css/homepage-v1.css @@ -847,6 +847,9 @@ body.with-notification .main > .content, body.with-notification .sidebar-sticky { padding-top: 120px; } +body.with-notification .sidebar-sticky-local { + padding-top: 0; +} body.with-notification .masthead { padding-top: 160px; } @@ -855,6 +858,11 @@ body.with-notification .masthead { padding-top: 110px; } } +@media (max-width: 770px) { + body.with-notification .sidebar-sticky-local { + padding-top: 0; + } +} body.with-notification .mobile-header { top: -15px; } @@ -867,6 +875,9 @@ body.with-notification header { .sidebar-sticky { padding-top: 75px; } +.sidebar-sticky-local { + padding-top: 0; +} .page .main { display: flex; diff --git a/source/_static/scss/homepage-v1.scss b/source/_static/scss/homepage-v1.scss index 973c771e03b..e3af1424376 100644 --- a/source/_static/scss/homepage-v1.scss +++ b/source/_static/scss/homepage-v1.scss @@ -18,9 +18,15 @@ body { .sidebar-sticky { padding-top: 120px; } + .sidebar-sticky-local { + padding-top: 0; + } .masthead { padding-top: 160px; + &.masthead-local { + padding-top: 0; + } } .sidebar-sticky { @@ -28,6 +34,11 @@ body { padding-top: 110px; } } + .sidebar-sticky-local { + @media (max-width: 770px) { + padding-top: 0; + } + } .mobile-header { top: -15px; diff --git a/source/_templates/custom-index.html b/source/_templates/custom-index.html index db921e82de9..5306e6064a8 100644 --- a/source/_templates/custom-index.html +++ b/source/_templates/custom-index.html @@ -37,7 +37,9 @@