Commit 99edff6d authored by Mark Otto's avatar Mark Otto
Browse files

fix sidebar again

parent ae9c1609
Showing with 1760 additions and 606 deletions
+1760 -606
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -44,7 +44,7 @@
- title: Components
pages:
- title: Scaffolding
# - title: Scaffolding
- title: Typography
sections:
- title: Scale
......
......@@ -44,7 +44,7 @@
<ul class="nav">
{% for section in doc.sections %}
<li>
<a href="{{ site.baseurl }}{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}#{{ section.title | downcase | replace: ' ', '-' }}">
<a href="{{ site.baseurl }}{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}/#{{ section.title | downcase | replace: ' ', '-' }}">
{{ section.title }}
</a>
</li>
......
This diff is collapsed.
......@@ -559,6 +559,7 @@ body {
//
.bs-docs-sidebar {
padding: 0;
margin-bottom: 0;
background-color: #322f38;
}
......@@ -606,12 +607,13 @@ body {
display: block;
float: none;
height: auto;
padding: 20px;
padding: 2rem 1.25rem;
/*padding: 20px;*/
font-size: 20px;
font-weight: 500;
line-height: 1;
color: #fff;
border-bottom: 1px solid rgba(255,255,255,.1);
/*border-bottom: 1px solid rgba(255,255,255,.1);*/
}
.bs-docs-sidebar-brand:hover,
.bs-docs-sidebar-brand:focus {
......@@ -622,10 +624,6 @@ body {
.bs-docs-sidenav {
display: none;
}
.bs-docs-toc-item {
margin-right: -.75rem;
margin-left: -.75rem;
}
.bs-docs-toc-link {
display: block;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment