From 0ac80747b74ae1bf63a59dace1a4c088c18298cc Mon Sep 17 00:00:00 2001 From: Jared Lee Date: Fri, 21 Oct 2016 12:56:29 +1300 Subject: [PATCH] Moved home logo from sidebar to landing page --- themes/docs/css/styles.css | 11 +++++++---- themes/docs/templates/DocumentationViewer.ss | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/themes/docs/css/styles.css b/themes/docs/css/styles.css index 6d76b03..3c8bbcd 100644 --- a/themes/docs/css/styles.css +++ b/themes/docs/css/styles.css @@ -99,11 +99,14 @@ form .message.error { .site-header { display: none; } - #sidebar .logo { - display: block; + + #masthead .logo { + display: inline-block; + float: left; height: 40px; - margin: 16px; - background-color: red; + width: 100%; + margin-bottom: 24px; + margin-left: 4px; background: url(https://www.silverstripe.org/themes/ssv3/img/global-logo-open-source.svg) no-repeat; } } diff --git a/themes/docs/templates/DocumentationViewer.ss b/themes/docs/templates/DocumentationViewer.ss index 4ac7993..f724517 100644 --- a/themes/docs/templates/DocumentationViewer.ss +++ b/themes/docs/templates/DocumentationViewer.ss @@ -5,6 +5,7 @@
class="has_versions"<% end_if %>>
+