From 003a65f0e094e59b5462fcd0607bf290d80cc5aa Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 12 Sep 2012 20:39:22 +0100 Subject: Tweaks to Token auth --- docs/static/css/default.css | 134 +++++++++++++++++++++++++++++++++++++++++ docs/static/css/drf-styles.css | 134 ----------------------------------------- 2 files changed, 134 insertions(+), 134 deletions(-) create mode 100644 docs/static/css/default.css delete mode 100644 docs/static/css/drf-styles.css (limited to 'docs/static/css') diff --git a/docs/static/css/default.css b/docs/static/css/default.css new file mode 100644 index 00000000..8e0490d3 --- /dev/null +++ b/docs/static/css/default.css @@ -0,0 +1,134 @@ +/* Set the body padding-top when above 980px to push the content down from + below the navbar, which is fixed at >980px screen widths. */ +@media (min-width: 980px) { + body { + padding-top: 71px; + } +} + +body { + padding-bottom: 40px; +} + +pre { + font-size: 12px; +} + +.dropdown .dropdown-menu { + display: none; +} + +.dropdown.open .dropdown-menu { + display: block; +} + +/* 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: -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; + white-space: pre; +} + +/* Preserve the spacing of the navbar across different screen sizes. */ +.navbar-inner { + padding: 5px 0; +} + +@media (max-width: 979px) { + .navbar .brand { + margin-left: 0; + padding-left: 0; + } + .navbar-inner .container-fluid { + padding-left: 15px; + } +} + +.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) { + #table-of-contents { + position: static; + } +} + +/* When the page is in two-column layout, give the main content some room + to breath on the left. */ +@media (min-width: 768px) { + #main-content { + padding-left: 1em; + } +} + +/* Cutesy quote styling */ +blockquote { + font-family: Georgia, serif; + font-size: 18px; + font-style: italic; + margin: 0.25em 0; + padding: 0.25em 40px; + line-height: 1.45; + position: relative; + color: #383838; + border-left: none; +} + +blockquote:before { + display: block; + content: "\201C"; + font-size: 80px; + position: absolute; + left: -10px; + top: -20px; + color: #7a7a7a; +} + +blockquote p:last-child { + color: #999999; + font-size: 14px; + display: block; + margin-top: 5px; +} + diff --git a/docs/static/css/drf-styles.css b/docs/static/css/drf-styles.css deleted file mode 100644 index 7ad9d717..00000000 --- a/docs/static/css/drf-styles.css +++ /dev/null @@ -1,134 +0,0 @@ -/* Set the body padding-top when above 980px to push the content down from - below the navbar, which is fixed at >980px screen widths. */ -@media (min-width: 980px) { - body { - padding-top: 71px; - } -} - -body { - padding-bottom: 40px; -} - -pre { - font-size: 12px; -} - -.dropdown .dropdown-menu { - display: none; -} - -.dropdown.open .dropdown-menu { - display: block; -} - -/* Header link to GitHub */ -.repo-link { - float: right; - margin-right: 10px; - margin-top: 7px; -} - -/* 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: -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; - white-space: pre; -} - -/* Preserve the spacing of the navbar across different screen sizes. */ -.navbar-inner { - padding: 5px 0; -} - -@media (max-width: 979px) { - .navbar .brand { - margin-left: 0; - padding-left: 0; - } - .navbar-inner .container-fluid { - padding-left: 15px; - } -} - -.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) { - #table-of-contents { - position: static; - } -} - -/* When the page is in two-column layout, give the main content some room - to breath on the left. */ -@media (min-width: 768px) { - #main-content { - padding-left: 1em; - } -} - -/* Cutesy quote styling */ -blockquote { - font-family: Georgia, serif; - font-size: 18px; - font-style: italic; - margin: 0.25em 0; - padding: 0.25em 40px; - line-height: 1.45; - position: relative; - color: #383838; - border-left: none; -} - -blockquote:before { - display: block; - content: "\201C"; - font-size: 80px; - position: absolute; - left: -10px; - top: -20px; - color: #7a7a7a; -} - -blockquote p:last-child { - color: #999999; - font-size: 14px; - display: block; - margin-top: 5px; -} - -- cgit v1.2.3