<% if current_page.data.toc_footers %>
diff --git a/source/stylesheets/screen.css.scss b/source/stylesheets/screen.css.scss
index 44f9c71..7d9a656 100644
--- a/source/stylesheets/screen.css.scss
+++ b/source/stylesheets/screen.css.scss
@@ -81,6 +81,10 @@ html, body {
}
}
+ img+.tocify {
+ margin-top: $logo-margin;
+ }
+
.search-info {
margin-top: 0;
padding: 1em $nav-padding;
diff --git a/source/stylesheets/variables.scss b/source/stylesheets/variables.scss
index cc513f5..6e29c1c 100644
--- a/source/stylesheets/variables.scss
+++ b/source/stylesheets/variables.scss
@@ -54,7 +54,7 @@ $lang-select-pressed-text: #fff; // color of language tab text when mouse is pre
////////////////////
$nav-width: 230px; // width of the navbar
$examples-width: 50%; // portion of the screen taken up by code examples
-$logo-margin: 20px; // margin between nav items and logo
+$logo-margin: 20px; // margin between nav items and logo, ignored if search is active
$main-padding: 28px; // padding to left and right of content & examples
$nav-padding: 15px; // padding to left and right of navbar
$nav-indent: 10px; // extra padding for ToC subitems