diff options
| author | Chris Rebert <[email protected]> | 2014-12-17 17:56:08 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-01-05 11:36:51 -0800 |
| commit | 00e6fae8fbecab9be20de67815a1e0f19a9c3ae3 (patch) | |
| tree | de1a469dc6e27689991cbce9625e2640ad02a779 /docs/assets/css/src/docs.css | |
| parent | 6cb417616ca9524d364742c0e32e374416ef2fec (diff) | |
| download | bootstrap-00e6fae8fbecab9be20de67815a1e0f19a9c3ae3.tar.xz bootstrap-00e6fae8fbecab9be20de67815a1e0f19a9c3ae3.zip | |
Remove affix from docs & CSS; add migration guidance
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; - } } |
