From 128995861e788eed6b79fc2ca4476f81a7a09d47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 7 Nov 2002 23:25:58 +0000 Subject: [PATCH] added MSDN-like stylesheet for wxWindows documentation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/tex2rtf.ini | 2 +- docs/latex/wx/wx.css | 180 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 181 insertions(+), 1 deletion(-) create mode 100644 docs/latex/wx/wx.css diff --git a/docs/latex/wx/tex2rtf.ini b/docs/latex/wx/tex2rtf.ini index cbb9b01c42..1a9ca1223e 100644 --- a/docs/latex/wx/tex2rtf.ini +++ b/docs/latex/wx/tex2rtf.ini @@ -25,7 +25,7 @@ htmlWorkshopFiles = true htmlIndex = true ; Finally, a way to specify face names -htmlFaceName = "Arial, Lucida, Helvetica" +;htmlFaceName = "Arial, Lucida, Helvetica" \textasciitilde [0]{{\tt\~}} \textasciicircum [0]{{\tt\^}} diff --git a/docs/latex/wx/wx.css b/docs/latex/wx/wx.css new file mode 100644 index 0000000000..56240ba5ce --- /dev/null +++ b/docs/latex/wx/wx.css @@ -0,0 +1,180 @@ +body +{ + padding: 0px 0px 0px 26px; + background: #ffffff; + color: #000000; + font-family: Verdana, Arial, Helvetica, sans-serif; +} + +div +{ + width: 90%; + border: 2px solid #999999; + padding: 4px 8px; + background: #cccccc; +} + +h1, h2, h3, h4 +{ + font-family: Verdana, Arial, Helvetica, sans-serif; + margin-left: -26px; +} + +h1 +{ + font-size: 200%; + margin-top: 1em; + margin-bottom: .6em; +} + +h2 +{ + font-size: 150%; + margin-top: 1em; + margin-bottom: .6em; +} + +h3 +{ + font-size: 120%; + margin-left: 0px; + margin-bottom: 0.2em; + margin-top: 1.5em; +} + +h4 +{ + margin-top: 1em; + margin-bottom: .6em; +} + +h5 +{ + margin-bottom: 1em; + margin-top: 1.5em; +} + + +ul p, ol p, dl p +{ + margin-left: 0em; +} + +p +{ + margin-top: .6em; + margin-bottom: .6em; +} + +dl +{ + margin-top: 0em; +} + +dd +{ + margin-bottom: 0em; + margin-left: 1.5em; +} + +dt +{ + margin-top: .6em; +} + +ul, ol +{ + margin-top: .6em; + margin-bottom: 0em; +} + +ol +{ + margin-left: 3.6em; +} + +ul +{ + list-style-type: disc; + margin-left: 1.9em; +} + +li +{ + margin-bottom: .6em; +} + +tt +{ + font-family: Andale Mono, Courier New, Courier, mono; +} + +pre +{ + margin-top: .6em; + margin-bottom: .6em; + margin-left: 2em; + margin-right: 2em; + font-family: Andale Mono, Courier New, Courier, mono; + color: #550000; + background: #eeeeee; +} + +table +{ + width: 90%; + background: #999999; + margin-top: 0em; + margin-bottom: .3em; + background: #ffffff; +} + +th +{ + padding: 2px 4px; + background: #dddddd; + text-align: left; + vertical-align: top; + margin: .25em; +} + +td +{ + margin: .25em; + padding: 2px 4px; + background: #eeeeee; + vertical-align: top; +} + +tr +{ + margin: .25em; + vertical-align: top; +} + +a:link +{ + color: #0066ff; +} + +a:visited +{ + color: #996600; +} + +a:hover +{ + color: #cc9900; +} + + + +body, td, pre, tt +{ + font-size: 100%; +} + +h4, th +{ + font-size: 120%; +}