Merge commit '2728f59' into 1977-provenance-report
[arvados.git] / doc / _layouts / default.html
index 380d5f6626f01e29cda6a615cddded4eccabaa77..4e2f08a4518a5ba159103d3fa080e016835d620a 100644 (file)
     <link rel="shortcut icon" href="{{ site.baseurl }}/images/favicon.ico" type="image/x-icon">
     <link href="{{ site.baseurl }}/css/bootstrap.css" rel="stylesheet">
     <style>
+      html {
+      height:100%;
+      }
       body {
       padding-top: 41px;
+      height: 90%; /* If calc() is not supported */
+      height: calc(100% - 46px); /* Sets the body full height minus the padding for the menu bar */
       }
       div.frontpagehero {
       background: #fff;
       .userinput {
       color: #d14;
       }
+      :target {
+      padding-top: 41px;
+      margin-top: -41px;
+      }
     </style>
     <link href="{{ site.baseurl }}/css/bootstrap-responsive.min.css" rel="stylesheet">
     <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
@@ -69,7 +78,7 @@
   <body class="nopad">
     {% include navbar_top.html %}
 
-    {% if page.navsection == 'top' %}
+    {% if page.navsection == 'top' or page.no_nav_left %}
     {{ content }}
     {% else %}