Docs: Fix page width exceeding the viewport

 patch by Stefan Podkowinski; reviewed by Mick Semb Wever for CASSANDRA-14065


git-svn-id: http://svn.apache.org/repos/asf/cassandra/site@1850596 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/_includes/footer.html b/src/_includes/footer.html
index 376cf62..26aa404 100644
--- a/src/_includes/footer.html
+++ b/src/_includes/footer.html
@@ -39,37 +39,6 @@
 {% if page.extra-footer %}
 {{ page.extra-footer }}
 {% endif %}
-<script type="text/javascript">
-$(function() {
-    // Stick the #nav to the top of the window
-    var nav = $('.doc-navigation');
-    var navHomeY = nav.offset().top;
-    var isFixed = false;
-    var $w = $(window);
-    $w.scroll(function() {
-        var scrollTop = $w.scrollTop();
-        var shouldBeFixed = $w.width() > 991 && scrollTop >= navHomeY - 10;
-        if (shouldBeFixed && !isFixed) {
-            nav.css({
-                position: 'fixed',
-                top: 0,
-                left: nav.offset().left,
-                width: nav.width(),
-            });
-            nav.addClass('fixed-navigation');
-            isFixed = true;
-        }
-        else if (!shouldBeFixed && isFixed)
-        {
-            nav.css({
-                position: 'static'
-            });
-            nav.removeClass('fixed-navigation');
-            isFixed = false;
-        }
-    });
-});
-</script>
 {% endif %}
 
 <script type="text/javascript">
diff --git a/src/css/sphinx.scss b/src/css/sphinx.scss
index 806fabf..8564854 100644
--- a/src/css/sphinx.scss
+++ b/src/css/sphinx.scss
@@ -64,7 +64,7 @@
 
     margin-top: 40px;
     background-color: $menu-main-background;
-    max-width: 300px;
+    max-width: 350px;
     z-index: 200;
     overflow-x: hidden;
     overflow-y: hidden;
diff --git a/src/css/style.scss b/src/css/style.scss
index 87b6526..a8ad56c 100644
--- a/src/css/style.scss
+++ b/src/css/style.scss
@@ -20,10 +20,8 @@
   background-color: #fff;
 }
 
-.content {
-  .container {
-    margin-top: 20px;
-  }
+.doc-content {
+  margin-top: 40px;
 }
 
 #wipwarning {