diff options
| author | Mark Otto <[email protected]> | 2015-01-06 16:06:06 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-01-06 16:06:06 -0800 |
| commit | 20cdb62200164c8e1c8c2b19dc7c62922b477a6f (patch) | |
| tree | 8522a28873ed84ba13145c304934d6ffb05900b9 /docs/assets/css/src/docs.css | |
| parent | b542137dd5bf39d6b9bfa7aef23dbbd5f04b1c43 (diff) | |
| parent | b361dacff13d0f410ddd15fdf343887c15134318 (diff) | |
| download | bootstrap-20cdb62200164c8e1c8c2b19dc7c62922b477a6f.tar.xz bootstrap-20cdb62200164c8e1c8c2b19dc7c62922b477a6f.zip | |
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
Diffstat (limited to 'docs/assets/css/src/docs.css')
| -rw-r--r-- | docs/assets/css/src/docs.css | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css index b4eed3817..346726ebd 100644 --- a/docs/assets/css/src/docs.css +++ b/docs/assets/css/src/docs.css @@ -528,14 +528,10 @@ body { /* * Side navigation * - * Scrollspy and affixed enhanced navigation to highlight sections and secondary + * Scrollspy and enhanced navigation to highlight sections and secondary * sections of docs content. */ -/* By default it's not affixed in mobile views, so undo that */ -.bs-docs-sidebar.affix { - position: static; -} @media (min-width: 768px) { .bs-docs-sidebar { padding-left: 20px; @@ -618,35 +614,11 @@ body { } } -/* Show and affix the side nav when space allows it */ +/* Show the side nav when space allows it */ @media (min-width: 992px) { .bs-docs-sidebar .nav > .active > ul { display: block; } - /* Widen the fixed sidebar */ - .bs-docs-sidebar.affix, - .bs-docs-sidebar.affix-bottom { - width: 213px; - } - .bs-docs-sidebar.affix { - position: fixed; /* Undo the static from mobile first approach */ - top: 20px; - } - .bs-docs-sidebar.affix-bottom { - position: absolute; /* Undo the static from mobile first approach */ - } - .bs-docs-sidebar.affix-bottom .bs-docs-sidenav, - .bs-docs-sidebar.affix .bs-docs-sidenav { - margin-top: 0; - margin-bottom: 0; - } -} -@media (min-width: 1200px) { - /* Widen the fixed sidebar again */ - .bs-docs-sidebar.affix-bottom, - .bs-docs-sidebar.affix { - width: 263px; - } } |
