diff options
Diffstat (limited to 'docutils')
-rw-r--r-- | docutils/docutils/writers/html5_polyglot/minimal.css | 10 | ||||
-rw-r--r-- | docutils/docutils/writers/html5_polyglot/plain.css | 11 |
2 files changed, 7 insertions, 14 deletions
diff --git a/docutils/docutils/writers/html5_polyglot/minimal.css b/docutils/docutils/writers/html5_polyglot/minimal.css index b84fb84c4..7939c9fbf 100644 --- a/docutils/docutils/writers/html5_polyglot/minimal.css +++ b/docutils/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/docutils/writers/html5_polyglot/plain.css b/docutils/docutils/writers/html5_polyglot/plain.css index 805a0381c..be4e028e8 100644 --- a/docutils/docutils/writers/html5_polyglot/plain.css +++ b/docutils/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 */ |