aboutsummaryrefslogtreecommitdiff
path: root/assets/css/docs.css
diff options
context:
space:
mode:
authorfat <[email protected]>2013-07-25 23:30:13 -0700
committerfat <[email protected]>2013-07-25 23:30:13 -0700
commitf5f04ae4a0cd57c59c782a45cca28220d5dbb3ea (patch)
tree9fc1b6e0bfdc5f42d505c2b26282fb1e8760de6e /assets/css/docs.css
parent124d7e6279e34cfd6480a9f33f934aaba93b9dde (diff)
downloadbootstrap-f5f04ae4a0cd57c59c782a45cca28220d5dbb3ea.tar.xz
bootstrap-f5f04ae4a0cd57c59c782a45cca28220d5dbb3ea.zip
fix affix…
Diffstat (limited to 'assets/css/docs.css')
-rw-r--r--assets/css/docs.css18
1 files changed, 14 insertions, 4 deletions
diff --git a/assets/css/docs.css b/assets/css/docs.css
index d1240bcb0..4b4150e57 100644
--- a/assets/css/docs.css
+++ b/assets/css/docs.css
@@ -737,7 +737,6 @@ input.focused {
right: 15px;
bottom: 15px;
}
-
.bs-header {
font-size: 21px;
text-align: left;
@@ -793,12 +792,22 @@ input.focused {
@media screen and (min-width: 992px) {
/* Widen the fixed sidebar */
+ .bs-sidebar.affix,
+ .bs-sidebar.affix-bottom {
+ width: 213px;
+ }
.bs-sidebar.affix {
position: fixed; /* Undo the static from mobile-first approach */
- top: 50px;
- width: 213px;
+ top: 80px;
+ }
+ .bs-sidebar.affix-bottom {
+ position: absolute; /* Undo the static from mobile-first approach */
+ }
+ .bs-sidebar.affix-bottom .bs-sidenav,
+ .bs-sidebar.affix .bs-sidenav {
+ margin-top: 0;
+ margin-bottom: 0;
}
-
.bs-header h1,
.bs-header p {
margin-right: 380px;
@@ -818,6 +827,7 @@ input.focused {
@media screen and (min-width: 1200px) {
/* Widen the fixed sidebar again */
+ .bs-sidebar.affix-bottom,
.bs-sidebar.affix {
width: 270px;
}