2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

flip the columns, tweak some of the styles

This commit is contained in:
Mark Otto
2016-09-04 22:04:58 -07:00
parent 75232e6720
commit f235da05fd
4 changed files with 24 additions and 9 deletions
+2 -2
View File
@@ -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>
+4
View File
@@ -1,4 +1,8 @@
// scss-lint:disable ImportantRule
.anchorjs-link { .anchorjs-link {
padding-right: .25em !important;
margin-left: -.75em !important;
color: inherit; color: inherit;
} }
+14 -1
View File
@@ -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;
} }
} }
+4 -6
View File
@@ -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 @@
background-color: #fff; background-color: #fff;
} }
} }
@include media-breakpoint-up(md) {
padding-right: 1rem;
}
} }
.bd-search-results { .bd-search-results {