diff options
Diffstat (limited to 'docs/assets/scss')
| -rw-r--r-- | docs/assets/scss/_component-examples.scss | 3 | ||||
| -rw-r--r-- | docs/assets/scss/_featured-sites.scss | 2 | ||||
| -rw-r--r-- | docs/assets/scss/_featurettes.scss | 19 | ||||
| -rw-r--r-- | docs/assets/scss/_skiplink.scss | 12 | ||||
| -rw-r--r-- | docs/assets/scss/docs.scss | 5 |
5 files changed, 30 insertions, 11 deletions
diff --git a/docs/assets/scss/_component-examples.scss b/docs/assets/scss/_component-examples.scss index fed899f5f..e300fff18 100644 --- a/docs/assets/scss/_component-examples.scss +++ b/docs/assets/scss/_component-examples.scss @@ -293,7 +293,8 @@ .bg-success, .bg-info, .bg-warning, - .bg-danger { + .bg-danger, + .bg-inverse { &:not(.navbar) { padding: .5rem; margin-top: .5rem; diff --git a/docs/assets/scss/_featured-sites.scss b/docs/assets/scss/_featured-sites.scss index b1671c383..2fb0839f0 100644 --- a/docs/assets/scss/_featured-sites.scss +++ b/docs/assets/scss/_featured-sites.scss @@ -5,7 +5,7 @@ .bd-featured-sites .col-xs-6 { padding: 1px; } -.bd-featured-sites .img-responsive { +.bd-featured-sites .img-fluid { margin-top: 0; } diff --git a/docs/assets/scss/_featurettes.scss b/docs/assets/scss/_featurettes.scss index 0198cdb6c..a74834387 100644 --- a/docs/assets/scss/_featurettes.scss +++ b/docs/assets/scss/_featurettes.scss @@ -12,6 +12,14 @@ text-align: left; } + .lead { + margin-right: auto; + margin-bottom: 2rem; + margin-left: auto; + font-size: 1rem; + text-align: center; + } + @include media-breakpoint-up(sm) { text-align: left; } @@ -31,12 +39,9 @@ font-size: 2rem; font-weight: normal; color: #333; - - + .lead { - font-size: 1rem; - margin-bottom: 2rem; - } + text-align: center; } + .half-rule { width: 6rem; margin: 2.5rem auto; @@ -67,7 +72,7 @@ } @media (min-width: 480px) { - .bd-featurette .img-responsive { + .bd-featurette .img-fluid { margin-top: 2rem; } } @@ -86,7 +91,7 @@ .bd-featurette .lead { max-width: 80%; } - .bd-featurette .img-responsive { + .bd-featurette .img-fluid { margin-top: 0; } } diff --git a/docs/assets/scss/_skiplink.scss b/docs/assets/scss/_skiplink.scss new file mode 100644 index 000000000..b65e6bd64 --- /dev/null +++ b/docs/assets/scss/_skiplink.scss @@ -0,0 +1,12 @@ +#skippy { + display: block; + padding: 1em; + color: #fff; + background-color: $bd-purple; + outline: 0; + + .skiplink-text { + padding: .5em; + outline: 1px dotted; + } +} diff --git a/docs/assets/scss/docs.scss b/docs/assets/scss/docs.scss index 437207d4d..35008facc 100644 --- a/docs/assets/scss/docs.scss +++ b/docs/assets/scss/docs.scss @@ -1,8 +1,8 @@ /*! * Bootstrap Docs (http://getbootstrap.com) - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under the Creative Commons Attribution 3.0 Unported License. For - * details, see http://creativecommons.org/licenses/by/3.0/. + * details, see https://creativecommons.org/licenses/by/3.0/. */ // Dev notes @@ -46,6 +46,7 @@ $bd-info: #5bc0de; @import "ads"; @import "content"; @import "page-header"; +@import "skiplink"; @import "sidebar"; @import "footer"; @import "component-examples"; |
