docs: Add some style and color to the HTML documentation

Signed-off-by: Claudio Bley <cbley@av-test.de>
This commit is contained in:
Claudio Bley 2013-01-17 16:00:12 +01:00 committed by Jiri Denemark
parent cb022b6bc7
commit 25feed14db
2 changed files with 67 additions and 5 deletions

View File

@ -4,7 +4,7 @@ body {
padding: 0px; padding: 0px;
color: rgb(0,0,0); color: rgb(0,0,0);
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 80%; font-size: smaller;
background: #ffffff; background: #ffffff;
} }
@ -64,8 +64,6 @@ h6 {
dl dt { dl dt {
margin-left: 1em; margin-left: 1em;
margin-right: 2em; margin-right: 2em;
font-weight: bold;
font-size: larger;
} }
dl dd { dl dd {

View File

@ -184,23 +184,25 @@ div.api {
border: 1px solid #999999; border: 1px solid #999999;
background: #eeeeee; background: #eeeeee;
color: black; color: black;
padding: 3px;
} }
div.api pre { div.api pre {
margin: 0px; margin: 0px;
border: 0px; border: 0px;
background: inherit; background: inherit;
padding: inherit;
} }
div.api table { div.api table {
margin: 0px; margin: 0px;
padding-left: 2em; padding-left: 2em;
font-family: fixed; border-spacing: 0px;
whitespace: pre;
} }
div.api table td, div.variablelist table td { div.api table td, div.variablelist table td {
vertical-align: top; vertical-align: top;
padding-left: 1em;
} }
@ -412,3 +414,65 @@ table.data tbody td.n {
background: rgb(255,220,220); background: rgb(255,220,220);
text-align: center; text-align: center;
} }
.api {
font-family: monospace;
}
.api .type {
font-weight: bold;
white-space: nowrap;
color: darkslateblue;
}
.api .keyword {
font-weight: bold;
color: #A2F;
}
.api .comment {
color: #080;
margin-left: 2em;
position: relative;
}
.api .comment:before {
content: ": ";
position: absolute;
left: -1.3em;
}
.api .undisclosed {
font-style: italic;
letter-spacing: .3ex;
font-weight: bolder;
text-transform: uppercase;
}
.api .directive {
color: teal;
}
.api :link:hover, .api :link:focus {
color: blue;
border-color: blue;
}
.api :link {
text-decoration: none;
}
dl.variablelist > dt {
display: block;
float: left;
font-style: italic;
font-weight: inherit;
}
.variablelist dd {
padding-left: 10em;
}
dl.variablelist > dt:after {
content: ": ";
}