0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

nuke commented out sidenav; fix docs

This commit is contained in:
Mark Otto 2014-07-09 23:20:33 -07:00
parent d3c2fe7809
commit 616a7a50eb
3 changed files with 11 additions and 72 deletions

View File

@ -63,66 +63,3 @@
</nav>
</div>
</header>
<div class="bs-docs-sidebar" style="display: none;">
<a href="../" class="bs-docs-sidebar-brand">Bootstrap</a>
<div class="bs-docs-toc">
<div class="bs-docs-toc-item{% if page.slug == "getting-started" %} active{% endif %}">
<a class="bs-docs-toc-link" href="../getting-started">Getting started</a>
{% if page.slug == "getting-started" %}
<ul class="nav bs-docs-sidenav">
{% include nav/getting-started.html %}
</ul>
{% endif %}
</div>
<div class="bs-docs-toc-item{% if page.slug == "css" %} active{% endif %}">
<a class="bs-docs-toc-link" href="../css">CSS</a>
{% if page.slug == "css" %}
<ul class="nav bs-docs-sidenav">
{% include nav/css.html %}
</ul>
{% endif %}
</div>
<div class="bs-docs-toc-item{% if page.slug == "components" %} active{% endif %}">
<a class="bs-docs-toc-link" href="../components">Components</a>
{% if page.slug == "components" %}
<ul class="nav bs-docs-sidenav">
{% include nav/components.html %}
</ul>
{% endif %}
</div>
<div class="bs-docs-toc-item{% if page.slug == "js" %} active{% endif %}">
<a class="bs-docs-toc-link" href="../javascript">JavaScript</a>
{% if page.slug == "js" %}
<ul class="nav bs-docs-sidenav">
{% include nav/javascript.html %}
</ul>
{% endif %}
</div>
<div class="bs-docs-toc-item{% if page.slug == "customize" %} active{% endif %}">
<a class="bs-docs-toc-link" href="../customize">Customize</a>
{% if page.slug == "customize" %}
<ul class="nav bs-docs-sidenav">
{% include nav/customize.html %}
</ul>
{% endif %}
</div>
<div class="bs-docs-toc-item{% if page.slug == "js" %} active{% endif %}">
<a class="bs-docs-toc-link" href="../about">About</a>
{% if page.slug == "js" %}
<ul class="nav bs-docs-sidenav">
{% include nav/about.html %}
</ul>
{% endif %}
</div>
<div class="bs-docs-toc-item{% if page.slug == "migration" %} active{% endif %}">
<a class="bs-docs-toc-link" href="../migration">Migrating to v3.x</a>
{% if page.slug == "migration" %}
<ul class="nav bs-docs-sidenav">
{% include nav/migration.html %}
</ul>
{% endif %}
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -527,7 +527,7 @@ body {
//
// Side navigation
// Custom container
//
.bs-docs-container {
@ -536,18 +536,21 @@ body {
padding: 1rem;
margin-right: auto;
margin-left: auto;
}
@media (min-width: 768px) {
.bs-docs-container {
padding: 2rem;
}
}
@media (min-width: 992px) {
.bs-docs-container {
padding: 2rem 4rem;
}
}
//
// Side navigation
//
.bs-docs-sidebar {
margin-bottom: 0;
background-color: #322f38;
@ -592,7 +595,6 @@ body {
}
}
.bs-docs-sidebar .navbar-brand {
display: block;
float: none;