changed docs page to be a bit more material

This commit is contained in:
FezVrasta 2016-08-04 14:06:38 +02:00
parent 49c7c04f32
commit bc1c350320
4 changed files with 21 additions and 2 deletions

View File

@ -12,14 +12,14 @@
{% include nav-home.html %} {% include nav-home.html %}
<div class="bd-pageheader"> <div class="bd-pageheader bd-pageheader--no-bottom">
<div class="container"> <div class="container">
{% include page-headers.html %} {% include page-headers.html %}
{% include ads.html %} {% include ads.html %}
</div> </div>
</div> </div>
<div class="container"> <div class="container card-container">
<div class="row"> <div class="row">
<div class="col-md-9 col-md-pull-3 bd-content"> <div class="col-md-9 col-md-pull-3 bd-content">
<h1 class="bd-title" id="content">{{ page.title }}</h1> <h1 class="bd-title" id="content">{{ page.title }}</h1>

View File

@ -0,0 +1,14 @@
.bd-docs {
.card-container {
@extend .card;
padding-top: 1rem;
padding-bottom: 1rem;
@include media-breakpoint-up(sm) {
margin-top: -1.5rem;
}
.anchorjs-link {
margin-left: -1.5em !important;
}
}
}

View File

@ -1,4 +1,8 @@
.bd-pageheader { .bd-pageheader {
&--no-bottom {
margin-bottom: 0;
}
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
.cb { .cb {
margin: 2rem 0 0 !important; margin: 2rem 0 0 !important;

View File

@ -91,6 +91,7 @@ $bd-info: $brand-info; // #5bc0de;
@import 'bmd/booticon'; @import 'bmd/booticon';
@import 'bmd/component-examples'; @import 'bmd/component-examples';
@import 'bmd/clipboard-js'; @import 'bmd/clipboard-js';
@import 'bmd/docs';
@import 'bmd/sidebar'; @import 'bmd/sidebar';
@import 'bmd/drawer'; @import 'bmd/drawer';
@import 'bmd/masthead'; @import 'bmd/masthead';