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 @@ ...@@ -44,7 +44,7 @@
- title: Components - title: Components
pages: pages:
- title: Scaffolding # - title: Scaffolding
- title: Typography - title: Typography
sections: sections:
- title: Scale - title: Scale
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<ul class="nav"> <ul class="nav">
{% for section in doc.sections %} {% for section in doc.sections %}
<li> <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 }} {{ section.title }}
</a> </a>
</li> </li>
......
This diff is collapsed.
...@@ -559,6 +559,7 @@ body { ...@@ -559,6 +559,7 @@ body {
// //
.bs-docs-sidebar { .bs-docs-sidebar {
padding: 0;
margin-bottom: 0; margin-bottom: 0;
background-color: #322f38; background-color: #322f38;
} }
...@@ -606,12 +607,13 @@ body { ...@@ -606,12 +607,13 @@ body {
display: block; display: block;
float: none; float: none;
height: auto; height: auto;
padding: 20px; padding: 2rem 1.25rem;
/*padding: 20px;*/
font-size: 20px; font-size: 20px;
font-weight: 500; font-weight: 500;
line-height: 1; line-height: 1;
color: #fff; 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:hover,
.bs-docs-sidebar-brand:focus { .bs-docs-sidebar-brand:focus {
...@@ -622,10 +624,6 @@ body { ...@@ -622,10 +624,6 @@ body {
.bs-docs-sidenav { .bs-docs-sidenav {
display: none; display: none;
} }
.bs-docs-toc-item {
margin-right: -.75rem;
margin-left: -.75rem;
}
.bs-docs-toc-link { .bs-docs-toc-link {
display: block; 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