aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2015-01-13 12:21:03 +0000
committerTom Christie2015-01-13 12:21:03 +0000
commit564f845e21cd55669311db9491b85dc86a5ff628 (patch)
treead185a0cd3cf0d50f99e36d2d0e6788eca536aae
parent8e2dc6b26dd546f6b31aa6d1feb881b181f3ea21 (diff)
downloaddjango-rest-framework-564f845e21cd55669311db9491b85dc86a5ff628.tar.bz2
Lower header font weights for nicer docs style
-rw-r--r--docs/topics/3.1-announcement.md7
-rw-r--r--docs_theme/css/default.css15
2 files changed, 22 insertions, 0 deletions
diff --git a/docs/topics/3.1-announcement.md b/docs/topics/3.1-announcement.md
new file mode 100644
index 00000000..a0ad9829
--- /dev/null
+++ b/docs/topics/3.1-announcement.md
@@ -0,0 +1,7 @@
+# Versioning
+
+# Pagination
+
+# Internationalization
+
+# ModelSerializer API
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{