From: Kevin Ball Date: Mon, 3 Jul 2017 22:38:20 +0000 (-0700) Subject: Put course marketing topbar on docs X-Git-Tag: v6.4.2-rc2~1^2^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e64aad84f6015a5e5289a6b5f6e1f3b3f1f9c2b7;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Put course marketing topbar on docs --- diff --git a/docs/assets/scss/docs.scss b/docs/assets/scss/docs.scss index 84c3882a5..259e7907c 100644 --- a/docs/assets/scss/docs.scss +++ b/docs/assets/scss/docs.scss @@ -103,6 +103,21 @@ a#notice { .countdown { display: none; } } } +a.docs-banner { + display: block; + overflow: hidden; + padding: 0.4rem 0; + position: relative; + width: 100%; + height: auto; + background: #f88327; + color: $white; + h5 { + margin-bottom: 0 !important; + text-align: center; + font-size: 0.9rem; + } +} /* COUNTDOWN END */ $transition-slow: all 0.5s ease-in-out; @@ -440,3 +455,7 @@ a[data-open-video] { color: #aaa; } } + +.docs-off-canvas-content { + padding-top: 130px; +} diff --git a/docs/layout/default.html b/docs/layout/default.html index 4251bd16b..e0e7a6a65 100644 --- a/docs/layout/default.html +++ b/docs/layout/default.html @@ -15,7 +15,6 @@ - - -
+ + +
+
Give yourself the competitive edge. Learn directly from the Foundation team ›
+
+
+ {{> navigation}} {{> mobile-navigation}} {{> search-bar}}