Better CSS fix for menu bar obscuring the target when following intra-document links.
[arvados.git] / doc / _layouts / default.html
index 3dccf1a13cbb872e8883e39e12379c93106cd3d0..a7b561031cd215956cc432820f552e01112034b2 100644 (file)
       .userinput {
       color: #d14;
       }
-      h1 {
-      padding-top: 41px;
-      }
-      h2 {
+      :target {
       padding-top: 41px;
+      margin-top: -41px;
       }
     </style>
     <link href="{{ site.baseurl }}/css/bootstrap-responsive.min.css" rel="stylesheet">