mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-04 23:44:07 +03:00
Fix up media-specific doc styling issues
This commit is contained in:
parent
0711fa9aa2
commit
6f9f2720c9
|
@ -200,11 +200,13 @@ body a:hover{
|
||||||
max-width: 240px;
|
max-width: 240px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
.navbar .navbar-inner .container-fluid{
|
.navbar .navbar-inner .container-fluid{
|
||||||
max-width: 1110px;
|
max-width: 1110px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* sticky footer and footer */
|
/* sticky footer and footer */
|
||||||
html, body {
|
html, body {
|
||||||
|
@ -222,6 +224,24 @@ html, body {
|
||||||
padding-bottom: 70px;
|
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 {
|
footer, .push {
|
||||||
height: 60px; /* .push must be the same height as .footer */
|
height: 60px; /* .push must be the same height as .footer */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user