summaryrefslogtreecommitdiff
path: root/docutils/writers/html4css1/html4css1.css
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2012-09-14 14:27:12 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2012-09-14 14:27:12 +0000
commit1f84f50d0ac04b64d8f7b061199b6e521fef3b3a (patch)
tree2a92b846819b392682e86690a25351bc65617d21 /docutils/writers/html4css1/html4css1.css
parentfa7f004a62410c9118bc5925b5a95e73a136cf8b (diff)
downloaddocutils-1f84f50d0ac04b64d8f7b061199b6e521fef3b3a.tar.gz
Change default of "syntax highlight" option to "long",
Add basic syntax highlight styles for LaTeX and HTML. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7514 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/writers/html4css1/html4css1.css')
-rw-r--r--docutils/writers/html4css1/html4css1.css17
1 files changed, 9 insertions, 8 deletions
diff --git a/docutils/writers/html4css1/html4css1.css b/docutils/writers/html4css1/html4css1.css
index bb82b3b38..cf522b9d2 100644
--- a/docutils/writers/html4css1/html4css1.css
+++ b/docutils/writers/html4css1/html4css1.css
@@ -68,7 +68,7 @@ div.tip p.admonition-title {
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title {
+div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
@@ -244,13 +244,14 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { /* line numbers */
- color: grey;
-}
-
-.code {
- background-color: #eeeeee
-}
+pre.code .ln { color: grey; } /* line numbers */
+pre.code, code { background-color: #eeeeee }
+pre.code .comment, code .comment { color: #5C6576 }
+pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
+pre.code .literal.string, code .literal.string { color: #0C5404 }
+pre.code .name.builtin, code .name.builtin { color: #352B84 }
+pre.code .deleted, code .deleted { background-color: #DEB0A1}
+pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;