diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2018-06-05 13:37:44 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2018-06-05 13:37:44 +0000 |
| commit | 8dbeef5cdc3b72456c8d64b92c2e4e2da5b93e81 (patch) | |
| tree | 32ed85c5be857fde8f890d42d110a43624dfda42 /docutils | |
| parent | 839bad5489df0c576e74fe917b401cedcea05586 (diff) | |
| download | docutils-8dbeef5cdc3b72456c8d64b92c2e4e2da5b93e81.tar.gz | |
Tweak CSS styles for HTML5 writer.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8216 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils')
| -rw-r--r-- | docutils/writers/html5_polyglot/minimal.css | 10 | ||||
| -rw-r--r-- | docutils/writers/html5_polyglot/plain.css | 11 |
2 files changed, 7 insertions, 14 deletions
diff --git a/docutils/writers/html5_polyglot/minimal.css b/docutils/writers/html5_polyglot/minimal.css index b84fb84c4..7939c9fbf 100644 --- a/docutils/writers/html5_polyglot/minimal.css +++ b/docutils/writers/html5_polyglot/minimal.css @@ -94,9 +94,10 @@ dl.simple > dd, dl.compact > dd { /* Table of Contents */ div.topic.contents { margin: 0; } -ul.auto-toc { +div.topic.contents ul { list-style-type: none; - padding-left: 1.5em; } + padding-left: 1.5em; +} /* Enumerated Lists */ ol.arabic { list-style: decimal } @@ -227,13 +228,14 @@ div.sidebar { } /* Text Blocks */ +blockquote, div.topic, pre.literal-block, pre.doctest-block, pre.math, pre.code { - margin-right: 40px; - margin-left: 40px; + margin-left: 1.5em; + margin-right: 1.5em } pre.code .ln { color: gray; } /* line numbers */ diff --git a/docutils/writers/html5_polyglot/plain.css b/docutils/writers/html5_polyglot/plain.css index 805a0381c..be4e028e8 100644 --- a/docutils/writers/html5_polyglot/plain.css +++ b/docutils/writers/html5_polyglot/plain.css @@ -124,19 +124,9 @@ span.fn-backref { /* ============ */ /* Literal Blocks */ -pre.literal-block, pre.doctest-block, -pre.math, pre.code { - margin-left: 1.5em; - margin-right: 1.5em -} /* Block Quotes */ -blockquote, -div.topic { - margin-left: 1.5em; - margin-right: 1.5em -} blockquote > table, div.topic > table { margin-top: 0; @@ -231,6 +221,7 @@ div.sidebar { /* Code */ +pre.code { padding: 0.7ex } pre.code, code { background-color: #eeeeee } pre.code .ln { color: gray; } /* line numbers */ /* basic highlighting: for a complete scheme, see */ |
