Commit f235da05 authored by Mark Otto's avatar Mark Otto
Browse files

flip the columns, tweak some of the styles

parent 75232e67
Showing with 24 additions and 9 deletions
+24 -9
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-xs-12 col-md-3 push-md-9 bd-sidebar"> <div class="col-xs-12 col-md-3 bd-sidebar">
{% include nav-docs.html %} {% include nav-docs.html %}
</div> </div>
<div class="col-xs-12 col-md-9 pull-md-3 bd-content"> <div class="col-xs-12 col-md-9 bd-content">
<h1 class="bd-title" id="content">{{ page.title }}</h1> <h1 class="bd-title" id="content">{{ page.title }}</h1>
{{ content }} {{ content }}
</div> </div>
......
// scss-lint:disable ImportantRule
.anchorjs-link { .anchorjs-link {
padding-right: .25em !important;
margin-left: -.75em !important;
color: inherit; color: inherit;
} }
......
...@@ -54,14 +54,27 @@ ...@@ -54,14 +54,27 @@
> ol li { > ol li {
margin-bottom: .25rem; margin-bottom: .25rem;
} }
@include media-breakpoint-up(sm) {
> ul,
> ol,
> p {
max-width: 80%;
}
}
} }
.bd-title { .bd-title {
margin-bottom: 2rem;
font-weight: 300;
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
font-size: 3rem; font-size: 3rem;
+ p { + p {
font-size: 1.25rem; max-width: 80%;
margin-bottom: 2rem;
font-size: 1.5rem;
font-weight: 300; font-weight: 300;
} }
} }
......
...@@ -2,12 +2,6 @@ ...@@ -2,12 +2,6 @@
// Side navigation // Side navigation
// //
.bd-sidebar {
@include media-breakpoint-up(md) {
padding-left: 1rem;
}
}
.bd-search { .bd-search {
position: relative; position: relative;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
...@@ -22,6 +16,10 @@ ...@@ -22,6 +16,10 @@
background-color: #fff; background-color: #fff;
} }
} }
@include media-breakpoint-up(md) {
padding-right: 1rem;
}
} }
.bd-search-results { .bd-search-results {
......
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