0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01: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

View File

@ -21,10 +21,10 @@
<div class="container">
<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 %}
</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>
{{ content }}
</div>

View File

@ -1,4 +1,8 @@
// scss-lint:disable ImportantRule
.anchorjs-link {
padding-right: .25em !important;
margin-left: -.75em !important;
color: inherit;
}

View File

@ -54,14 +54,27 @@
> ol li {
margin-bottom: .25rem;
}
@include media-breakpoint-up(sm) {
> ul,
> ol,
> p {
max-width: 80%;
}
}
}
.bd-title {
margin-bottom: 2rem;
font-weight: 300;
@include media-breakpoint-up(sm) {
font-size: 3rem;
+ p {
font-size: 1.25rem;
max-width: 80%;
margin-bottom: 2rem;
font-size: 1.5rem;
font-weight: 300;
}
}

View File

@ -2,12 +2,6 @@
// Side navigation
//
.bd-sidebar {
@include media-breakpoint-up(md) {
padding-left: 1rem;
}
}
.bd-search {
position: relative;
margin-bottom: 1.5rem;
@ -22,6 +16,10 @@
background-color: #fff;
}
}
@include media-breakpoint-up(md) {
padding-right: 1rem;
}
}
.bd-search-results {