aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-05 17:47:45 -0700
committerMark Otto <[email protected]>2015-08-05 17:47:45 -0700
commitfed0d8a2d405fded61bd2b7c4c70744fafd58d06 (patch)
tree8bc067365b2a9731e8e2cfd6e9ef11a64d304bf8 /docs/assets/scss
parentbe3f8d9bcce6818d7f9430fa94f1d6869c62d00a (diff)
downloadbootstrap-fed0d8a2d405fded61bd2b7c4c70744fafd58d06.tar.xz
bootstrap-fed0d8a2d405fded61bd2b7c4c70744fafd58d06.zip
restore page headers, use partial and page frontmatter to organize it
Diffstat (limited to 'docs/assets/scss')
-rw-r--r--docs/assets/scss/_layout.scss35
1 files changed, 31 insertions, 4 deletions
diff --git a/docs/assets/scss/_layout.scss b/docs/assets/scss/_layout.scss
index 281acbc8b..a794be069 100644
--- a/docs/assets/scss/_layout.scss
+++ b/docs/assets/scss/_layout.scss
@@ -1,6 +1,6 @@
.bd-docs {
- padding-top: 5rem;
+ padding-top: 3.65rem;
}
// Custom container
@@ -59,12 +59,39 @@
}
+.bd-pageheader {
+ margin-bottom: 3rem;
+ padding-top: 2rem;
+ padding-bottom: 2rem;
+ color: $bd-purple-light;
+ background-color: $bd-purple;
+
+ h1 {
+ font-size: 4rem;
+ font-weight: normal;
+ color: #fff;
+ }
+
+ p {
+ font-size: 1.5rem;
+ }
+
+ @include media-breakpoint-up(sm) {
+ padding-top: 4rem;
+ padding-bottom: 4rem;
+
+ .carbonad {
+ float: right;
+ }
+ }
+}
+
//
// Docs sections
//
.bd-content {
- > h2 {
+ > h2:not(:first-child) {
margin-top: 3rem;
}
@@ -80,10 +107,10 @@
.bd-title {
@include media-breakpoint-up(sm) {
- font-size: 4rem;
+ font-size: 3rem;
+ p {
- font-size: 1.5rem;
+ font-size: 1.25rem;
font-weight: 300;
}
}