summaryrefslogtreecommitdiff
path: root/docs/_theme/djangodocs
diff options
context:
space:
mode:
authorDavid Smith <39445562+smithdc1@users.noreply.github.com>2020-06-22 20:05:13 +0100
committerGitHub <noreply@github.com>2020-06-22 21:05:13 +0200
commitbe534348f55823093bf7a78bee78ee2d3bb18fdf (patch)
treeb66c178d6202206286212b1ca9926db98b23ebc0 /docs/_theme/djangodocs
parent258c88a913fe1e7704cdb6f61c6ceb7493f6092a (diff)
Fixed #16300 -- Improved singlehtml docs formatting with headers CSS.
Diffstat (limited to 'docs/_theme/djangodocs')
-rw-r--r--docs/_theme/djangodocs/static/djangodocs.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/_theme/djangodocs/static/djangodocs.css b/docs/_theme/djangodocs/static/djangodocs.css
index 1a397f44c0..02504d67a4 100644
--- a/docs/_theme/djangodocs/static/djangodocs.css
+++ b/docs/_theme/djangodocs/static/djangodocs.css
@@ -43,12 +43,13 @@ div.nav { margin: 0; font-size: 11px; text-align: right; color: #487858;}
/*** basic styles ***/
dd { margin-left:15px; }
-h1,h2,h3,h4,h5 { margin-top:1em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
+h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12 { margin-top:1em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
h1 { font-size:218%; margin-top:0.6em; margin-bottom:.4em; line-height:1.1em; }
h2 { font-size:175%; margin-bottom:.6em; line-height:1.2em; color:#092e20; }
h3 { font-size:150%; font-weight:bold; margin-bottom:.2em; color:#487858; }
h4 { font-size:125%; font-weight:bold; margin-top:1.5em; margin-bottom:3px; }
h5 { font-size:110%; font-weight:bold; margin-top:1em; margin-bottom:3px; }
+h6,h7,h8,h9,h10,h11,h12 { font-weight:bold; margin-bottom:3px; }
div.figure { text-align: center; }
div.figure p.caption { font-size:1em; margin-top:0; margin-bottom:1.5em; color: #555;}
hr { color:#ccc; background-color:#ccc; height:1px; border:0; }