From cbd8d09849fbbd8ccd8f5cbe29f09949fc344767 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 3 Aug 2011 20:28:52 +1200 Subject: Miscelaneous doc updates. - Make typography less hideous. - Stub out the docs I'm about to write. --- doc-src/02-docstyle.css | 35 ++++++++++++++++++++-------------- doc-src/index.html | 27 +++++++++++++++++++------- doc-src/index.py | 7 +++++-- doc-src/interception.html | 38 ------------------------------------- doc-src/mitmdump.html | 0 doc-src/mitmproxy.html | 0 doc-src/mitmproxy/encodings.html | 0 doc-src/mitmproxy/eventlog.html | 0 doc-src/mitmproxy/index.py | 7 +++++++ doc-src/mitmproxy/interception.html | 38 +++++++++++++++++++++++++++++++++++++ doc-src/scripts/api.html | 0 doc-src/scripts/flows.html | 0 doc-src/scripts/index.py | 6 ++++++ 13 files changed, 97 insertions(+), 61 deletions(-) delete mode 100644 doc-src/interception.html create mode 100644 doc-src/mitmdump.html create mode 100644 doc-src/mitmproxy.html create mode 100644 doc-src/mitmproxy/encodings.html create mode 100644 doc-src/mitmproxy/eventlog.html create mode 100644 doc-src/mitmproxy/index.py create mode 100644 doc-src/mitmproxy/interception.html create mode 100644 doc-src/scripts/api.html create mode 100644 doc-src/scripts/flows.html create mode 100644 doc-src/scripts/index.py diff --git a/doc-src/02-docstyle.css b/doc-src/02-docstyle.css index a971799f..7a7f49a4 100644 --- a/doc-src/02-docstyle.css +++ b/doc-src/02-docstyle.css @@ -8,7 +8,7 @@ a { #hd.doc { -x-system-font:none; font-family: Helvetica,Arial,Tahoma,Verdana,Sans-Serif; - color: #555555; + color: #444444; margin: 0; margin-bottom: 1em; } @@ -16,7 +16,6 @@ a { #hd.doc h1 { letter-spacing: 3px; font-size: 2.5em; - line-height: 100%; margin: 0.3em 0; font-weight: normal; } @@ -27,32 +26,34 @@ a { #bd { - -x-system-font:none; - font-family: Helvetica,Arial,Tahoma,Verdana,Sans-Serif; - font-size: 1.6em; - color: #555555; + font: 16px/21px "HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif; + line-height: 1.5; + color: #444444; +} + +#bd h1, #bd h2 { + font-family: "Georgia","Times New Roman",Helvetica,Arial,sans-serif; + font-weight: normal; } #bd h1 { - font-size: 1.4em; - border-bottom: 5px solid #ff7033; + font-size: 1.8em; + border-bottom: 2px solid #ff7033; margin-top: 5px; margin-bottom: 5px; - color: #000000; + color: #181818; } #bd h2 { - font-size: 1.1em; + font-size: 1.3em; border-bottom: 1px solid #cccccc; margin-top: 5px; margin-bottom: 5px; - color: #000000; + color: #181818; } #bd p { margin: 1em 0; - - } #ft.doc { @@ -70,6 +71,8 @@ a { } pre { + font-size: 0.9em; + line-height: 1.4; padding: 10px; background-color: #dddddd; margin: 1em 0; @@ -82,7 +85,9 @@ pre { } -.docindex, .docindex ul { +.docindex { + font-size: 1.3em; + line-height: 1.3; margin-top: 0.1em; margin-bottom: 0; margin-left: 0px; @@ -95,6 +100,8 @@ pre { .docindex ul { margin-left: 2em; + margin-top: 0.1em; + margin-bottom: 0.1em; } li a { diff --git a/doc-src/index.html b/doc-src/index.html index 7f9df3d6..27bcc896 100644 --- a/doc-src/index.html +++ b/doc-src/index.html @@ -1,14 +1,27 @@