diff options
| author | Tom Christie | 2012-09-12 10:12:13 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-09-12 10:12:13 +0100 |
| commit | c85f799ade0710dd27838e8bfc78989c80213d6a (patch) | |
| tree | 39ffc44c768c1b24d9e06e64393eb2194216b571 /docs/static/css/drf-styles.css | |
| parent | d4f8b4cf0683923fe85652f8fd572d2931eb3074 (diff) | |
| download | django-rest-framework-c85f799ade0710dd27838e8bfc78989c80213d6a.tar.bz2 | |
Updating docs
Diffstat (limited to 'docs/static/css/drf-styles.css')
| -rw-r--r-- | docs/static/css/drf-styles.css | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/docs/static/css/drf-styles.css b/docs/static/css/drf-styles.css index bb31b07c..a5f0b97a 100644 --- a/docs/static/css/drf-styles.css +++ b/docs/static/css/drf-styles.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,38 @@ a.github:hover { display: block; } +/* GitHub 'Star' badge */ body.index #main-content iframe { float: right; -} - -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 +75,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 +95,7 @@ pre { } } - +/* Cutesy quote styling */ blockquote { font-family: Georgia, serif; font-size: 18px; |
