1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Make the side bar about in-document navigation by removing the duplicated h1

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
This commit is contained in:
Sven Dowideit 2014-09-09 11:44:51 +10:00
parent bb8ea1fdc1
commit 1f25bfea2d
2 changed files with 16 additions and 19 deletions

View file

@ -47,12 +47,16 @@
<div id="wrap"> <div id="wrap">
{% include "nav.html" %} {% include "nav.html" %}
<div id="content" class="container"> <div id="content" class="container">
{% if current_page.title != '**HIDDEN**' %} <div class="row">
<div class="row" id="top-header"> <div class="span3" id="leftnav">
<div class="span7"> <div id="toc_table">
<h1 class="header2">{{ current_page.title }}</h1> <ul class="nav nav-tabs nav-stacked">
{% include "toc.html" %}
</ul>
</div>
</div> </div>
<div class="span5"> <div class="span9 content-body">
{% include "beta_warning.html" %}
<div id="versionnav" class="span3 pull-right"> <div id="versionnav" class="span3 pull-right">
<ul class="nav version pull-right"> <ul class="nav version pull-right">
<li class="dropdown"> <li class="dropdown">
@ -66,19 +70,6 @@
</li> </li>
</ul> </ul>
</div> </div>
</div>
</div>
{% endif %}
<div class="row">
<div class="span3" id="leftnav">
<div id="toc_table">
<ul class="nav nav-tabs nav-stacked">
{% include "toc.html" %}
</ul>
</div>
</div>
<div class="span9 content-body">
{% include "beta_warning.html" %}
{{ content }} {{ content }}
</div> </div>
</div> </div>

View file

@ -328,4 +328,10 @@ ol li {
} }
table.table tr td img { table.table tr td img {
width:100%; width:100%;
} }
#versionnav ul {
list-style: none outside none;
}
#versionnav ul ul {
padding: 0;
}