diff options
author | Thomas Zander <thomas.zander@trolltech.com> | 2009-05-18 14:04:15 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-05-19 08:26:38 (GMT) |
commit | 9f9ede616079998f8ba7bf6fd446f39ce74b0400 (patch) | |
tree | 83cd04fd357883fa3b19a8b85c5b107074b01608 /tools/qdoc3 | |
parent | d6127efabb74e2004608f53d0be3b7c4a6df768d (diff) | |
download | Qt-9f9ede616079998f8ba7bf6fd446f39ce74b0400.zip Qt-9f9ede616079998f8ba7bf6fd446f39ce74b0400.tar.gz Qt-9f9ede616079998f8ba7bf6fd446f39ce74b0400.tar.bz2 |
Modernize the output of qdoc a bit.
Now we have explicit columns we cann make our docs look a bit better using
some simple css additions. This adds light backgrounds in targetted
places to make the text more readable.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r-- | tools/qdoc3/test/classic.css | 64 |
1 files changed, 62 insertions, 2 deletions
diff --git a/tools/qdoc3/test/classic.css b/tools/qdoc3/test/classic.css index 6cf7377..3704a15 100644 --- a/tools/qdoc3/test/classic.css +++ b/tools/qdoc3/test/classic.css @@ -1,7 +1,29 @@ +BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { + font-family: Geneva, Arial, Helvetica, sans-serif; +} +BODY,TD { + font-size: 90%; +} +H1 { + text-align: center; + font-size: 160%; +} +H2 { + font-size: 120%; +} +H3 { + font-size: 100%; +} + h3.fn,span.fn { - margin-left: 1cm; - text-indent: -1cm; + background-color: #d5e1e8; + border-width: 1px; + border-style: solid; + border-color: #84b0c7; + font-weight: bold; + -moz-border-radius: 8px 8px 8px 8px; + padding: 6px 0px 6px 10px; } a:link @@ -56,6 +78,44 @@ body color: black } +table td.memItemLeft { + width: 200px; + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +table td.memItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} + table tr.odd { background: #f0f0f0; color: black; |