diff options
| author | Mark Otto <[email protected]> | 2015-08-14 22:45:55 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-08-14 22:45:55 -0700 |
| commit | c064eef67b168e2f6c61e575f0e99988eceac6f9 (patch) | |
| tree | c8dccd538370f75f7c257f377196f4b375122237 /docs/_layouts | |
| parent | b388778f1ff7b9d15305caa9a29805ae9a64c505 (diff) | |
| download | bootstrap-c064eef67b168e2f6c61e575f0e99988eceac6f9.tar.xz bootstrap-c064eef67b168e2f6c61e575f0e99988eceac6f9.zip | |
Massive cleanup
- Simpler main nav on all pages
- Back to purple masthead on homepage instead of dark graphite
- Active link styles on the main nav
- Cleaned up sidebar nav
- New docs layout name
- Homepage copy edits
- Updated bright purple docs color
Diffstat (limited to 'docs/_layouts')
| -rw-r--r-- | docs/_layouts/docs.html | 36 | ||||
| -rw-r--r-- | docs/_layouts/page.html | 22 | ||||
| -rw-r--r-- | docs/_layouts/simple.html | 12 |
3 files changed, 46 insertions, 24 deletions
diff --git a/docs/_layouts/docs.html b/docs/_layouts/docs.html new file mode 100644 index 000000000..a01a85097 --- /dev/null +++ b/docs/_layouts/docs.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + {% include header.html %} + </head> + <body class="bd-docs" data-spy="scroll" data-target=".bd-sidenav-active"> + <a id="skippy" class="sr-only sr-only-focusable" href="#content"> + <div class="container"> + <span class="skiplink-text">Skip to main content</span> + </div> + </a> + + {% include nav-home.html %} + + <div class="bd-pageheader text-xs-center text-sm-left"> + <div class="container"> + {% include page-headers.html %} + {% include ads.html %} + </div> + </div> + + <div class="container"> + <div class="row"> + <div class="col-md-3 col-md-push-9 bd-sidebar"> + {% include nav-docs.html %} + </div> + <div class="col-md-9 col-md-pull-3 bd-content"> + <h1 class="bd-title">{{ page.title }}</h1> + {{ content }} + </div> + </div> + </div> + + {% include footer.html %} + </body> +</html> diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html deleted file mode 100644 index ed4179a37..000000000 --- a/docs/_layouts/page.html +++ /dev/null @@ -1,22 +0,0 @@ ---- -layout: default ---- - -<div class="bd-pageheader text-xs-center text-sm-left"> - <div class="container"> - {% include page-headers.html %} - {% include ads.html %} - </div> -</div> - -<div class="container"> - <div class="row"> - <div class="col-md-3 col-md-push-9 bd-sidebar"> - {% include nav-docs.html %} - </div> - <div class="col-md-9 col-md-pull-3 bd-content"> - <h1 class="bd-title">{{ page.title }}</h1> - {{ content }} - </div> - </div> -</div> diff --git a/docs/_layouts/simple.html b/docs/_layouts/simple.html index 27fd78813..df9bb6048 100644 --- a/docs/_layouts/simple.html +++ b/docs/_layouts/simple.html @@ -2,8 +2,16 @@ layout: default --- +<div class="bd-pageheader text-xs-center text-sm-left"> + <div class="container"> + <h1>{{ page.title }}</h1> + <p class="lead"> + Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts. + </p> + {% include ads.html %} + </div> +</div> + <div class="container bd-content"> - {% include ads.html %} - <h1 class="bd-title">{{ page.title }}</h1> {{ content }} </div> |
