aboutsummaryrefslogtreecommitdiffstats
path: root/docs/static/css
diff options
context:
space:
mode:
authorTom Christie2012-09-09 16:56:04 +0100
committerTom Christie2012-09-09 16:56:04 +0100
commitd4f8b4cf0683923fe85652f8fd572d2931eb3074 (patch)
tree0bdf405a6c67d2f62f6670e749b72bf9be0fafe6 /docs/static/css
parentbaa6e2c18b94345e8f00f28a34817abdbdb437dc (diff)
downloaddjango-rest-framework-d4f8b4cf0683923fe85652f8fd572d2931eb3074.tar.bz2
Collapsing menu, travis and github badges, horizontal scrolling code on overflow
Diffstat (limited to 'docs/static/css')
-rw-r--r--docs/static/css/drf-styles.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/static/css/drf-styles.css b/docs/static/css/drf-styles.css
index 49740aab..bb31b07c 100644
--- a/docs/static/css/drf-styles.css
+++ b/docs/static/css/drf-styles.css
@@ -23,10 +23,39 @@ a.github:hover {
text-decoration: none;
}
+.dropdown .dropdown-menu {
+ display: none;
+}
+
+.dropdown.open .dropdown-menu {
+ display: block;
+}
+
+body.index #main-content iframe {
+ float: right;
+}
+
+body.index #main-content iframe {
+ float: right;
+ margin-right: -15px;
+}
+
+body.index #main-content p:first-of-type {
+ float: right;
+ margin-right: 8px;
+ margin-top: -1px;
+}
+
#table-of-contents {
overflow: hidden;
}
+pre {
+ overflow: auto;
+ word-wrap: normal;
+ white-space: pre;
+}
+
/* Preserve the spacing of the navbar across different screen sizes. */
.navbar-inner {
padding: 5px 0;