aboutsummaryrefslogtreecommitdiffstats
path: root/docs_theme
diff options
context:
space:
mode:
authorTom Christie2015-01-13 12:21:03 +0000
committerTom Christie2015-01-13 12:21:03 +0000
commit564f845e21cd55669311db9491b85dc86a5ff628 (patch)
treead185a0cd3cf0d50f99e36d2d0e6788eca536aae /docs_theme
parent8e2dc6b26dd546f6b31aa6d1feb881b181f3ea21 (diff)
downloaddjango-rest-framework-564f845e21cd55669311db9491b85dc86a5ff628.tar.bz2
Lower header font weights for nicer docs style
Diffstat (limited to 'docs_theme')
-rw-r--r--docs_theme/css/default.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs_theme/css/default.css b/docs_theme/css/default.css
index 48d00366..3feff0ba 100644
--- a/docs_theme/css/default.css
+++ b/docs_theme/css/default.css
@@ -171,6 +171,21 @@ 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
+}
+
/* custom navigation styles */
.navbar .navbar-inner{