mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
start in on new headers
This commit is contained in:
parent
be3f8d9bcc
commit
daa21c3634
@ -2,14 +2,22 @@
|
|||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<div class="bd-pageheader">
|
||||||
|
<div class="container">
|
||||||
|
{% include ads.html %}
|
||||||
|
<h1 class="bd-title">{{ page.title }}</h1>
|
||||||
|
<p class="lead">
|
||||||
|
{{ page.lead }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-3 col-sm-push-9 bd-sidebar">
|
<div class="col-sm-3 col-sm-push-9 bd-sidebar">
|
||||||
{% include nav-docs.html %}
|
{% include nav-docs.html %}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-9 col-sm-pull-3 bd-content">
|
<div class="col-sm-9 col-sm-pull-3 bd-content">
|
||||||
{% include ads.html %}
|
|
||||||
<h1 class="bd-title">{{ page.title }}</h1>
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
20
docs/assets/css/docs.min.css
vendored
20
docs/assets/css/docs.min.css
vendored
@ -5,7 +5,7 @@
|
|||||||
* details, see http://creativecommons.org/licenses/by/3.0/.
|
* details, see http://creativecommons.org/licenses/by/3.0/.
|
||||||
*/
|
*/
|
||||||
.bd-docs {
|
.bd-docs {
|
||||||
padding-top: 5rem; }
|
padding-top: 3.65rem; }
|
||||||
|
|
||||||
.bd-container {
|
.bd-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -41,7 +41,23 @@
|
|||||||
.bd-container > table td:first-child > code {
|
.bd-container > table td:first-child > code {
|
||||||
white-space: nowrap; }
|
white-space: nowrap; }
|
||||||
|
|
||||||
.bd-content > h2 {
|
.bd-pageheader {
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
padding-top: 2rem;
|
||||||
|
padding-bottom: 2rem;
|
||||||
|
color: #cdbfe3;
|
||||||
|
background-color: #563d7c; }
|
||||||
|
.bd-pageheader h1 {
|
||||||
|
font-weight: normal;
|
||||||
|
color: #fff; }
|
||||||
|
@media (min-width: 34em) {
|
||||||
|
.bd-pageheader {
|
||||||
|
padding-top: 4rem;
|
||||||
|
padding-bottom: 4rem; }
|
||||||
|
.bd-pageheader .carbonad {
|
||||||
|
float: right; } }
|
||||||
|
|
||||||
|
.bd-content > h2:not(:first-child) {
|
||||||
margin-top: 3rem; }
|
margin-top: 3rem; }
|
||||||
|
|
||||||
.bd-content > h3 {
|
.bd-content > h3 {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
.bd-docs {
|
.bd-docs {
|
||||||
padding-top: 5rem;
|
padding-top: 3.65rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Custom container
|
// Custom container
|
||||||
@ -59,12 +59,34 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.bd-pageheader {
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
padding-top: 2rem;
|
||||||
|
padding-bottom: 2rem;
|
||||||
|
color: $bd-purple-light;
|
||||||
|
background-color: $bd-purple;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-weight: normal;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include media-breakpoint-up(sm) {
|
||||||
|
padding-top: 4rem;
|
||||||
|
padding-bottom: 4rem;
|
||||||
|
|
||||||
|
.carbonad {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Docs sections
|
// Docs sections
|
||||||
//
|
//
|
||||||
|
|
||||||
.bd-content {
|
.bd-content {
|
||||||
> h2 {
|
> h2:not(:first-child) {
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Getting started
|
title: Getting started
|
||||||
|
lead: Quickly add Bootstrap to your project via the Bootstrap CDN, graciously provided by the MaxCDN folks.
|
||||||
---
|
---
|
||||||
|
|
||||||
Quickly add Bootstrap to your project via the [Bootstrap CDN](http://bootstrapcdn.com), graciously provided by the [MaxCDN](http://www.maxcdn.com/) folks.
|
|
||||||
|
|
||||||
## Include CSS and JS
|
## Include CSS and JS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user