make H3 titles center-aligned (fixes the display of the manual version for HTML docs which currently appears left-aligned)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2010-05-11 19:37:29 +00:00
parent 4290ae6a1c
commit 0f3216c8c9

View File

@@ -1,11 +1,11 @@
/***************************************************************************** /*****************************************************************************
** Name: wxwidgets.css ** Name: wxwidgets.css
** Purpose: The wxWidgets documentation CSS; a customized version of ** Purpose: The wxWidgets documentation CSS; a customized version of
** the standard Doxygen CSS ** the standard Doxygen CSS
** Author: Doxygen team ** Author: Doxygen team
** RCS-ID: $Id$ ** RCS-ID: $Id$
** Licence: wxWindows license ** Licence: wxWindows license
*****************************************************************************/ *****************************************************************************/
/* /*
@@ -14,178 +14,179 @@
*/ */
BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV {
font-family: Geneva, Arial, Helvetica, sans-serif; font-family: Geneva, Arial, Helvetica, sans-serif;
} }
BODY,TD { BODY,TD {
font-size: 90%; font-size: 90%;
} }
H1 { H1 {
text-align: center; text-align: center;
font-size: 160%; font-size: 160%;
border-top: 1em; border-top: 1em;
} }
H2 { H2 {
font-size: 120%; font-size: 120%;
padding-top: 1em; padding-top: 1em;
border-top: 3px solid #AAA; border-top: 3px solid #AAA;
} }
H3 { H3 {
font-size: 100%; text-align: center;
font-size: 100%;
} }
CAPTION { CAPTION {
font-weight: bold font-weight: bold
} }
DIV.qindex { DIV.qindex {
width: 100%; width: 100%;
background-color: #e8eef2; background-color: #e8eef2;
border: 1px solid #84b0c7; border: 1px solid #84b0c7;
text-align: center; text-align: center;
margin: 2px; margin: 2px;
padding: 2px; padding: 2px;
line-height: 140%; line-height: 140%;
} }
DIV.navpath { DIV.navpath {
width: 100%; width: 100%;
background-color: #e8eef2; background-color: #e8eef2;
border: 1px solid #84b0c7; border: 1px solid #84b0c7;
text-align: center; text-align: center;
margin: 2px; margin: 2px;
padding: 2px; padding: 2px;
line-height: 140%; line-height: 140%;
} }
DIV.navtab { DIV.navtab {
background-color: #e8eef2; background-color: #e8eef2;
border: 1px solid #84b0c7; border: 1px solid #84b0c7;
text-align: center; text-align: center;
margin: 2px; margin: 2px;
margin-right: 15px; margin-right: 15px;
padding: 2px; padding: 2px;
} }
TD.navtab { TD.navtab {
font-size: 70%; font-size: 70%;
} }
A.qindex { A.qindex {
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
color: #1A419D; color: #1A419D;
} }
A.qindex:visited { A.qindex:visited {
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
color: #1A419D color: #1A419D
} }
A.qindex:hover { A.qindex:hover {
text-decoration: none; text-decoration: none;
background-color: #ddddff; background-color: #ddddff;
} }
A.qindexHL { A.qindexHL {
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
background-color: #6666cc; background-color: #6666cc;
color: #ffffff; color: #ffffff;
border: 1px double #9295C2; border: 1px double #9295C2;
} }
A.qindexHL:hover { A.qindexHL:hover {
text-decoration: none; text-decoration: none;
background-color: #6666cc; background-color: #6666cc;
color: #ffffff; color: #ffffff;
} }
A.qindexHL:visited { A.qindexHL:visited {
text-decoration: none; text-decoration: none;
background-color: #6666cc; background-color: #6666cc;
color: #ffffff color: #ffffff
} }
A.el { A.el {
text-decoration: none; text-decoration: none;
font-weight: bold font-weight: bold
} }
A.elRef { A.elRef {
font-weight: bold font-weight: bold
} }
A.code:link { A.code:link {
text-decoration: none; text-decoration: none;
font-weight: normal; font-weight: normal;
color: #0000FF color: #0000FF
} }
A.code:visited { A.code:visited {
text-decoration: none; text-decoration: none;
font-weight: normal; font-weight: normal;
color: #0000FF color: #0000FF
} }
A.codeRef:link { A.codeRef:link {
font-weight: normal; font-weight: normal;
color: #0000FF color: #0000FF
} }
A.codeRef:visited { A.codeRef:visited {
font-weight: normal; font-weight: normal;
color: #0000FF color: #0000FF
} }
A:hover { A:hover {
text-decoration: none; text-decoration: none;
background-color: #f2f2ff background-color: #f2f2ff
} }
DL.el { DL.el {
margin-left: -1cm margin-left: -1cm
} }
.fragment { .fragment {
font-family: monospace, fixed; font-family: monospace, fixed;
font-size: 95%; font-size: 95%;
} }
PRE.fragment { PRE.fragment {
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;
background-color: #f5f5f5; background-color: #f5f5f5;
margin: 4px 8px 4px 2px; margin: 4px 8px 4px 2px;
padding: 4px 6px; padding: 4px 6px;
} }
DIV.ah { DIV.ah {
background-color: black; background-color: black;
font-weight: bold; font-weight: bold;
color: #ffffff; color: #ffffff;
margin-bottom: 3px; margin-bottom: 3px;
margin-top: 3px margin-top: 3px
} }
DIV.groupHeader { DIV.groupHeader {
margin-left: 16px; margin-left: 16px;
margin-top: 12px; margin-top: 12px;
margin-bottom: 6px; margin-bottom: 6px;
font-weight: bold; font-weight: bold;
} }
DIV.groupText { DIV.groupText {
margin-left: 16px; margin-left: 16px;
font-style: italic; font-style: italic;
font-size: 90% font-size: 90%
} }
BODY { BODY {
background: white; background: white;
color: black; color: black;
margin-right: 20px; margin-right: 20px;
margin-left: 20px; margin-left: 20px;
} }
TD.indexkey { TD.indexkey {
background-color: #e8eef2; background-color: #e8eef2;
font-weight: bold; font-weight: bold;
padding: 2px 10px; padding: 2px 10px;
margin: 2px 0px; margin: 2px 0px;
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;
} }
TD.indexvalue { TD.indexvalue {
background-color: #e8eef2; background-color: #e8eef2;
font-style: italic; font-style: italic;
padding: 2px 10px; padding: 2px 10px;
margin: 2px 0px; margin: 2px 0px;
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;
} }
TR.memlist { TR.memlist {
background-color: #f0f0f0; background-color: #f0f0f0;
} }
P.formulaDsp { P.formulaDsp {
text-align: center; text-align: center;
} }
IMG.formulaDsp { IMG.formulaDsp {
} }
IMG.formulaInl { IMG.formulaInl {
vertical-align: middle; vertical-align: middle;
} }
SPAN.keyword { color: #008000 } SPAN.keyword { color: #008000 }
SPAN.keywordtype { color: #604020 } SPAN.keywordtype { color: #604020 }
@@ -204,124 +205,124 @@ SPAN.vhdllogic { color: #ff0000 }
.mdescLeft, .mdescRight, .mdescLeft, .mdescRight,
.memItemLeft, .memItemRight, .memItemLeft, .memItemRight,
.memTemplItemLeft, .memTemplItemRight, .memTemplParams { .memTemplItemLeft, .memTemplItemRight, .memTemplParams {
background-color: #FAFAFA; background-color: #FAFAFA;
border: none; border: none;
margin: 4px; margin: 4px;
padding: 1px 0 0 8px; padding: 1px 0 0 8px;
} }
.mdescLeft, .mdescRight { .mdescLeft, .mdescRight {
padding: 0px 8px 4px 8px; padding: 0px 8px 4px 8px;
color: #555; color: #555;
} }
.memItemLeft, .memItemRight, .memTemplParams { .memItemLeft, .memItemRight, .memTemplParams {
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
} }
.memTemplParams { .memTemplParams {
color: #606060; color: #606060;
} }
/*******************************************/ /*******************************************/
TD.tiny { TD.tiny {
font-size: 75%; font-size: 75%;
} }
a { a {
color: #1A41A8; color: #1A41A8;
} }
a:visited { a:visited {
color: #2A3798; color: #2A3798;
} }
.dirtab { .dirtab {
padding: 4px; padding: 4px;
border-collapse: collapse; border-collapse: collapse;
border: 1px solid #84b0c7; border: 1px solid #84b0c7;
} }
TH.dirtab { TH.dirtab {
background: #e8eef2; background: #e8eef2;
font-weight: bold; font-weight: bold;
} }
HR { HR {
/* /*
height: 3px; height: 3px;
margin-top: 1.5em; margin-top: 1.5em;
margin-bottom: 1.5em; margin-bottom: 1.5em;
*/ */
height: 0px; height: 0px;
margin: 0; margin: 0;
border: 0px; border: 0px;
} }
/* Style for detailed member documentation */ /* Style for detailed member documentation */
.memtemplate { .memtemplate {
font-size: 80%; font-size: 80%;
color: #606060; color: #606060;
font-weight: normal; font-weight: normal;
margin-left: 3px; margin-left: 3px;
} }
.memnav { .memnav {
background-color: #e8eef2; background-color: #e8eef2;
border: 1px solid #84b0c7; border: 1px solid #84b0c7;
text-align: center; text-align: center;
margin: 2px; margin: 2px;
margin-right: 15px; margin-right: 15px;
padding: 2px; padding: 2px;
} }
.memitem { .memitem {
padding: 0; padding: 0;
} }
.memname { .memname {
white-space: nowrap; white-space: nowrap;
font-weight: bold; font-weight: bold;
padding: 2px 2px; padding: 2px 2px;
} }
.memproto, .memdoc { .memproto, .memdoc {
border: 1px solid #84b0c7; border: 1px solid #84b0c7;
} }
.memproto { .memproto {
padding: 0; padding: 0;
background-color: #d5e1e8; background-color: #d5e1e8;
font-weight: bold; font-weight: bold;
-webkit-border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px; -webkit-border-top-right-radius: 8px;
-moz-border-radius-topleft: 8px; -moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px; -moz-border-radius-topright: 8px;
} }
.memdoc { .memdoc {
padding: 5px 8px; padding: 5px 8px;
background-color: #eef3f5; background-color: #eef3f5;
border-top-width: 0; border-top-width: 0;
-webkit-border-bottom-left-radius: 8px; -webkit-border-bottom-left-radius: 8px;
-webkit-border-bottom-right-radius: 8px; -webkit-border-bottom-right-radius: 8px;
-moz-border-radius-bottomleft: 8px; -moz-border-radius-bottomleft: 8px;
-moz-border-radius-bottomright: 8px; -moz-border-radius-bottomright: 8px;
} }
.memdoc p, .memdoc dl, .memdoc ul { .memdoc p, .memdoc dl, .memdoc ul {
margin: 6px 0; margin: 6px 0;
} }
.paramkey { .paramkey {
text-align: right; text-align: right;
} }
.paramtype { .paramtype {
white-space: nowrap; white-space: nowrap;
} }
.paramname { .paramname {
color: #602020; color: #602020;
white-space: nowrap; white-space: nowrap;
} }
.paramname em { .paramname em {
font-style: normal; font-style: normal;
} }
/* End Styling for detailed member documentation */ /* End Styling for detailed member documentation */
@@ -329,62 +330,62 @@ HR {
/* for the tree view */ /* for the tree view */
.ftvtree { .ftvtree {
font-family: sans-serif; font-family: sans-serif;
margin:0.5em; margin:0.5em;
} }
.directory { .directory {
font-size: 9pt; font-size: 9pt;
font-weight: bold; font-weight: bold;
} }
.directory h3 { .directory h3 {
margin: 0px; margin: 0px;
margin-top: 1em; margin-top: 1em;
font-size: 11pt; font-size: 11pt;
} }
.directory > h3 { .directory > h3 {
margin-top: 0; margin-top: 0;
} }
.directory p { .directory p {
margin: 0px; margin: 0px;
white-space: nowrap; white-space: nowrap;
} }
.directory div { .directory div {
display: none; display: none;
margin: 0px; margin: 0px;
} }
.directory img { .directory img {
vertical-align: -30%; vertical-align: -30%;
} }
/* these are for tree view when not used as main index */ /* these are for tree view when not used as main index */
.directory-alt { .directory-alt {
font-size: 100%; font-size: 100%;
font-weight: bold; font-weight: bold;
} }
.directory-alt h3 { .directory-alt h3 {
margin: 0px; margin: 0px;
margin-top: 1em; margin-top: 1em;
font-size: 11pt; font-size: 11pt;
} }
.directory-alt > h3 { .directory-alt > h3 {
margin-top: 0; margin-top: 0;
} }
.directory-alt p { .directory-alt p {
margin: 0px; margin: 0px;
white-space: nowrap; white-space: nowrap;
} }
.directory-alt div { .directory-alt div {
display: none; display: none;
margin: 0px; margin: 0px;
} }
.directory-alt img { .directory-alt img {
vertical-align: -30%; vertical-align: -30%;
} }
@@ -395,9 +396,9 @@ HR {
*/ */
H2 > A.anchor { H2 > A.anchor {
text-decoration: none; text-decoration: none;
background-color: none; background-color: none;
color: black; color: black;
} }
H3 > A.anchor { H3 > A.anchor {
@@ -417,12 +418,12 @@ IMG {
} }
IMG.logo { IMG.logo {
float: right; float: right;
margin: 20px; margin: 20px;
} }
IMG.appearance { IMG.appearance {
margin: 20px; margin: 20px;
} }
.dynheader IMG { .dynheader IMG {
@@ -430,11 +431,11 @@ IMG.appearance {
} }
TABLE.appearance { TABLE.appearance {
width: 100%; width: 100%;
text-align: center; text-align: center;
font-style: italic; font-style: italic;
font-size: 90%; font-size: 90%;
/*font-weight: bold;*/ /*font-weight: bold;*/
} }
TD.green { color: green; } TD.green { color: green; }
@@ -442,49 +443,49 @@ TD.orange { color: #ff8000; }
TD.red { color: red; } TD.red { color: red; }
SPAN.literal { SPAN.literal {
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-family: monospace, fixed; font-family: monospace, fixed;
} }
/* we make all the following <span> tags render the text just like /* we make all the following <span> tags render the text just like
the standard Doxygen @remarks, @see tags do, to obtain a uniform the standard Doxygen @remarks, @see tags do, to obtain a uniform
look and feel */ look and feel */
SPAN.itemdef, SPAN.lib, SPAN.category, SPAN.stdobj, SPAN.styles, SPAN.events, SPAN.flags, SPAN.appearance, SPAN.impl, SPAN.avail { SPAN.itemdef, SPAN.lib, SPAN.category, SPAN.stdobj, SPAN.styles, SPAN.events, SPAN.flags, SPAN.appearance, SPAN.impl, SPAN.avail {
font-weight: bold; font-weight: bold;
line-height: 130%; line-height: 130%;
} }
SPAN.style, SPAN.event, SPAN.flag { SPAN.style, SPAN.event, SPAN.flag {
font-weight: bold; font-weight: bold;
color: #880000; color: #880000;
} }
DIV.styleDesc, DIV.eventDesc, DIV.flagDesc { DIV.styleDesc, DIV.eventDesc, DIV.flagDesc {
margin-left: 3%; margin-left: 3%;
margin-bottom: 1ex; margin-bottom: 1ex;
} }
DIV.eventHandler { DIV.eventHandler {
margin: 1em; margin: 1em;
text-indent: 3%; text-indent: 3%;
} }
DIV.eventHandler SPAN { DIV.eventHandler SPAN {
padding: 5px; padding: 5px;
background-color: #eeeeee; background-color: #eeeeee;
font-family: monospace, fixed; font-family: monospace, fixed;
} }
/* Doxygen defaults the top navigation tabs to a small, bold font, /* Doxygen defaults the top navigation tabs to a small, bold font,
so we reset it here to a larger, normal font. */ so we reset it here to a larger, normal font. */
DIV.navigation A SPAN { DIV.navigation A SPAN {
font-size: 100%; font-size: 100%;
font-weight: normal; font-weight: normal;
} }
LI { LI {
line-height: 115%; line-height: 115%;
} }
CODE { CODE {