aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/static
diff options
context:
space:
mode:
authorAlec Perkins2012-09-07 19:05:42 -0400
committerAlec Perkins2012-09-07 19:05:59 -0400
commit94029acd28d058a0daf748de3cc7be482ceb06b9 (patch)
treef85e1f23f37073c07d2d0a6de7210b75fc106c2b /djangorestframework/static
parent27598fc5f424903d14bd23e3e736483b1da6a9cd (diff)
downloaddjango-rest-framework-94029acd28d058a0daf748de3cc7be482ceb06b9.tar.bz2
Add information about the request.
Add link in footer for some visual balance. Tighten up styling.
Diffstat (limited to 'djangorestframework/static')
-rw-r--r--djangorestframework/static/djangorestframework/css/style.css27
1 files changed, 26 insertions, 1 deletions
diff --git a/djangorestframework/static/djangorestframework/css/style.css b/djangorestframework/static/djangorestframework/css/style.css
index b299cb3c..8ab89510 100644
--- a/djangorestframework/static/djangorestframework/css/style.css
+++ b/djangorestframework/static/djangorestframework/css/style.css
@@ -1,8 +1,33 @@
body {
padding-top: 1em;
+ padding-bottom: 1em;
}
-h2 {
+h1 {
+ font-weight: 500;
+}
+
+h2, h3 {
font-weight: 300;
}
+.resource-description, .response-info {
+ margin-bottom: 2em;
+}
+
+#footer {
+ border-top: 1px solid #eee;
+ margin-top: 2em;
+ padding-top: 1em;
+ text-align: right;
+}
+
+.version:before {
+ content: "v";
+ opacity: 0.6;
+ padding-right: 0.25em;
+}
+
+.format-option {
+ font-family: Menlo, Consolas, "Andale Mono", "Lucida Console", monospace;
+} \ No newline at end of file