diff options
author | blackbird <devnull@localhost> | 2006-10-27 23:59:07 +0200 |
---|---|---|
committer | blackbird <devnull@localhost> | 2006-10-27 23:59:07 +0200 |
commit | 0b4ae9ab3fa6057dce2833a3e34ba01511c10e44 (patch) | |
tree | f4afa530b3b9aae10144448d0aaa25bc990fb482 /docs/generate.py | |
parent | a400243228ed76501b820f2a6d0e7f924d5f9882 (diff) | |
download | pygments-0b4ae9ab3fa6057dce2833a3e34ba01511c10e44.tar.gz |
[svn] checked in changes from the last days. including:
- text in logo
- documentation update
- new `guess_lexer` method
Diffstat (limited to 'docs/generate.py')
-rw-r--r-- | docs/generate.py | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/docs/generate.py b/docs/generate.py index abdc6316..8759042b 100644 --- a/docs/generate.py +++ b/docs/generate.py @@ -27,7 +27,7 @@ from pygments.lexers import get_lexer_by_name from pygments.formatters import HtmlFormatter -PYGMENTS_FORMATTER = HtmlFormatter(style='friendly', cssclass='syntax') +PYGMENTS_FORMATTER = HtmlFormatter(style='pastie', cssclass='syntax') USAGE = '''\ Usage: %s <mode> <destination> [<source.txt> ...] @@ -91,15 +91,15 @@ body { } h1 { - font-weight: normal; - font-size: 40px; - color: #09839A; + font-weight: normal; + font-size: 40px; + color: #09839A; } h2 { - font-weight: normal; - font-size: 30px; - color: #C73F00; + font-weight: normal; + font-size: 30px; + color: #C73F00; } h1.heading { @@ -111,87 +111,87 @@ h2.subheading { } h3 { - margin-top: 30px; + margin-top: 30px; } table.docutils { - border-collapse: collapse; - border: 2px solid #aaa; - margin: 0.5em 1.5em 0.5em 1.5em; + border-collapse: collapse; + border: 2px solid #aaa; + margin: 0.5em 1.5em 0.5em 1.5em; } table.docutils td { - padding: 2px; - border: 1px solid #ddd; + padding: 2px; + border: 1px solid #ddd; } p, li, dd, dt, blockquote { - font-size: 15px; - color: #333; + font-size: 15px; + color: #333; } p { - line-height: 150%; - margin-bottom: 0; - margin-top: 10px; + line-height: 150%; + margin-bottom: 0; + margin-top: 10px; } hr { - border-top: 1px solid #ccc; - border-bottom: 0; - border-right: 0; - border-left: 0; - margin-bottom: 10px; - margin-top: 20px; + border-top: 1px solid #ccc; + border-bottom: 0; + border-right: 0; + border-left: 0; + margin-bottom: 10px; + margin-top: 20px; } dl { - margin-left: 10px; + margin-left: 10px; } li, dt { - margin-top: 5px; + margin-top: 5px; } dt { - font-weight: bold; + font-weight: bold; } th { - text-align: left; + text-align: left; } a { - color: #990000; + color: #990000; } a:hover { - color: #c73f00; + color: #c73f00; } pre { - background-color: #f0f0f0; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; - padding: 5px; - font-size: 13px; - font-family: Bitstream Vera Sans Mono,monospace; + background-color: #f9f9f9; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + padding: 5px; + font-size: 13px; + font-family: Bitstream Vera Sans Mono,monospace; } tt { - font-size: 13px; - font-family: Bitstream Vera Sans Mono,monospace; - color: black; - padding: 1px 2px 1px 2px; - background-color: #f0f0f0; + font-size: 13px; + font-family: Bitstream Vera Sans Mono,monospace; + color: black; + padding: 1px 2px 1px 2px; + background-color: #f0f0f0; } cite { - /* abusing <cite>, it's generated by ReST for `x` */ - font-size: 13px; - font-family: Bitstream Vera Sans Mono,monospace; - font-weight: bold; - font-style: normal; + /* abusing <cite>, it's generated by ReST for `x` */ + font-size: 13px; + font-family: Bitstream Vera Sans Mono,monospace; + font-weight: bold; + font-style: normal; } #backlink { |