aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2012-10-06 20:05:36 +0100
committerTom Christie2012-10-06 20:05:36 +0100
commit6b6c945d4e71bb70cb76c85cc675cc252a6ede2b (patch)
treede8155d386042407182059b76cbfb573bbfe4891
parentfd1b660e06abe31840615e6f728caab24bdeeced (diff)
downloaddjango-rest-framework-6b6c945d4e71bb70cb76c85cc675cc252a6ede2b.tar.bz2
Fix up media-specific doc styling issues
-rw-r--r--docs/static/css/default.css24
1 files changed, 22 insertions, 2 deletions
diff --git a/docs/static/css/default.css b/docs/static/css/default.css
index 742a4147..c1d2e885 100644
--- a/docs/static/css/default.css
+++ b/docs/static/css/default.css
@@ -200,11 +200,13 @@ body a:hover{
max-width: 240px;
}
+ .navbar {
+ position: fixed;
+ }
.navbar .navbar-inner .container-fluid{
max-width: 1110px;
}
- }
-
+}
/* sticky footer and footer */
html, body {
@@ -222,6 +224,24 @@ html, body {
padding-bottom: 70px;
}
+@media (max-width: 979px) {
+ .navbar-fixed-top .navbar-inner {
+ padding: 0px;
+ }
+}
+
+@media (max-width: 767px) {
+ .body-content{
+ padding-top: 0px;
+ }
+}
+
+@media (min-width: 768px) {
+ footer.span12 {
+ width: 95%;
+ }
+}
+
footer, .push {
height: 60px; /* .push must be the same height as .footer */
}