diff options
author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2018-11-20 17:47:12 +0000 |
---|---|---|
committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2018-11-20 17:47:12 +0000 |
commit | 886c8b45f4ca87b979ed9de8618e9f8a2a1583cf (patch) | |
tree | ec0bd166a882e256b2d78e06d3c68f7f2fca4f3a | |
parent | 73dae3d182ac81279a93167d63e45e4a0df9f053 (diff) | |
download | docutils-886c8b45f4ca87b979ed9de8618e9f8a2a1583cf.tar.gz |
HTML5 styling: grey out margins left/rigth of the document text area.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8229 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r-- | docutils/docutils/writers/html5_polyglot/plain.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docutils/docutils/writers/html5_polyglot/plain.css b/docutils/docutils/writers/html5_polyglot/plain.css index be4e028e8..49cf9accb 100644 --- a/docutils/docutils/writers/html5_polyglot/plain.css +++ b/docutils/docutils/writers/html5_polyglot/plain.css @@ -22,8 +22,8 @@ /* "page layout" */ body { - padding: 0 5%; - margin: 8px 0; + margin: 0; + background-color: #dbdbdb; } div.document { line-height:1.3; @@ -32,7 +32,9 @@ div.document { /* avoid long lines --> better reading */ /* OTOH: lines should not be too short because of missing hyphenation, */ max-width: 50em; + padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */ margin: auto; + background-color: white; } /* Sections */ |