Collapsing menu, travis and github badges, horizontal scrolling code on overflow

This commit is contained in:
Tom Christie 2012-09-09 16:56:34 +01:00
parent fbf40fbadb
commit 14c5c9a1a5
26 changed files with 58 additions and 26 deletions

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="authentication">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="contentnegotiation">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="exceptions">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="parsers">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="permissions">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="renderers">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="requests">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="responses">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="reverse">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="serializers">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="settings">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="status-codes">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="throttling">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="views">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -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;

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="index">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
@ -103,6 +103,9 @@
</div>
<div id="main-content" class="span9">
<iframe src="http://ghbtns.com/github-btn.html?user=tomchristie&amp;repo=django-rest-framework&amp;type=watch&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
<p><a href="http://travis-ci.org/tomchristie/django-rest-framework?branch=restframework2"><img alt="Build Status" src="https://secure.travis-ci.org/tomchristie/django-rest-framework.png?branch=restframework2" /></a></p>
<h1 id="django-rest-framework">Django REST framework</h1>
<p><strong>A toolkit for building well-connected, self-describing Web APIs.</strong></p>
<p><strong>WARNING: This documentation is for the 2.0 redesign of REST framework. It is a work in progress.</strong></p>

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="contributing">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="credits">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="csrf">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="formoverloading">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="1-serialization">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="2-requests-and-responses">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="3-class-based-views">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="4-authentication-permissions-and-throttling">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="5-relationships-and-hyperlinked-apis">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

View File

@ -16,7 +16,7 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<body onload="prettyPrint()">
<body onload="prettyPrint()" class="6-resource-orientated-projects">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">