aboutsummaryrefslogtreecommitdiffstats
path: root/docs/static/css/drf-styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'docs/static/css/drf-styles.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;