aboutsummaryrefslogtreecommitdiffstats
path: root/docs_theme/css/default.css
diff options
context:
space:
mode:
authorTom Christie2015-02-13 13:38:44 +0000
committerTom Christie2015-02-13 13:38:44 +0000
commit4248a8d3fc725d9ae3fe7aaaad7ee12479ab07ab (patch)
treec38485aec717a35de8691c3d55bd50ba3e4aae6d /docs_theme/css/default.css
parent84260b5dd66cc31858898ff11d5300a73083cca1 (diff)
parentad32e14360a23ee3e93ff54ca206c64009d184c9 (diff)
downloaddjango-rest-framework-4248a8d3fc725d9ae3fe7aaaad7ee12479ab07ab.tar.bz2
Merge pull request #2198 from tomchristie/version-3.1
Version 3.1
Diffstat (limited to 'docs_theme/css/default.css')
-rw-r--r--docs_theme/css/default.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs_theme/css/default.css b/docs_theme/css/default.css
index 8c9cd536..d998fbee 100644
--- a/docs_theme/css/default.css
+++ b/docs_theme/css/default.css
@@ -171,6 +171,25 @@ body{
background-attachment: fixed;
}
+
+#main-content h1:first-of-type {
+ margin-top: 0
+}
+
+#main-content h1, #main-content h2 {
+ font-weight: 300;
+ margin-top: 20px
+}
+
+#main-content h3, #main-content h4, #main-content h5 {
+ font-weight: 500;
+ margin-top: 15px
+}
+
+#main-content img {
+ display: block;
+ margin: 40px auto;
+}
/* custom navigation styles */
.navbar .navbar-inner{
@@ -239,6 +258,10 @@ body a:hover{
}
}
+h1 code, h2 code, h3 code, h4 code, h5 code {
+ color: #333;
+}
+
/* sticky footer and footer */
html, body {
height: 100%;