aboutsummaryrefslogtreecommitdiffstats
path: root/docs/static/css
diff options
context:
space:
mode:
Diffstat (limited to 'docs/static/css')
-rw-r--r--docs/static/css/default.css (renamed from docs/static/css/drf-styles.css)44
1 files changed, 29 insertions, 15 deletions
diff --git a/docs/static/css/drf-styles.css b/docs/static/css/default.css
index bb31b07c..213a700e 100644
--- a/docs/static/css/drf-styles.css
+++ b/docs/static/css/default.css
@@ -14,15 +14,6 @@ pre {
font-size: 12px;
}
-a.github {
- float: right;
- margin-top: -12px;
-}
-
-a.github:hover {
- text-decoration: none;
-}
-
.dropdown .dropdown-menu {
display: none;
}
@@ -31,25 +22,51 @@ a.github:hover {
display: block;
}
-body.index #main-content iframe {
+@media (max-width: 480px) {
+ .repo-link {
+ display: none;
+ }
+}
+
+/* Header link to GitHub */
+.repo-link {
float: right;
+ margin-right: 10px;
+ margin-top: 9px;
}
+/* GitHub 'Star' badge */
body.index #main-content iframe {
float: right;
+ margin-top: -12px;
margin-right: -15px;
}
+/* Travis CI badge */
body.index #main-content p:first-of-type {
float: right;
margin-right: 8px;
- margin-top: -1px;
+ margin-top: -14px;
+ margin-bottom: 0px;
}
+/* Github source file badges */
+a.github {
+ float: right;
+ margin-top: -12px;
+ margin-right: 12px;
+}
+
+a.github:hover {
+ text-decoration: none;
+}
+
+/* Force TOC text to not overrun */
#table-of-contents {
overflow: hidden;
}
+/* Code blocks should scroll horizontally */
pre {
overflow: auto;
word-wrap: normal;
@@ -71,13 +88,10 @@ pre {
}
}
-
.nav-list li.main {
font-weight: bold;
}
-
-
/* Set the table of contents to static so it flows back into the content when
viewed on tablets and smaller. */
@media (max-width: 767px) {
@@ -94,7 +108,7 @@ pre {
}
}
-
+/* Cutesy quote styling */
blockquote {
font-family: Georgia, serif;
font-size: 18px;