tvl-depot/doc/manual/style.css

268 lines
4.4 KiB
CSS
Raw Normal View History

/* Copied from http://bakefile.sourceforge.net/, which appears
licensed under the GNU GPL. */
2003-12-02 16:36:49 +01:00
/***************************************************************************
Basic headers and text:
***************************************************************************/
body
{
font-family: sans-serif;
background: white;
margin: 2em 1em 2em 1em;
}
h1,h2,h3
{
color: #005aa0;
text-align: left;
}
h1 /* title */
2003-12-02 16:36:49 +01:00
{
font-size: 200%;
2003-12-02 16:36:49 +01:00
}
h2 /* chapters, appendices, subtitle */
{
font-size: 180%;
}
/* Extra space between chapters, appendices. */
div.chapter > div.titlepage h2, div.appendix > div.titlepage h2
{
margin-top: 1.5em;
}
div.section > div.titlepage h2 /* sections */
2003-12-02 16:36:49 +01:00
{
font-size: 150%;
margin-top: 1.5em;
}
div.refnamediv h2, div.refsynopsisdiv h2, div.refsection h2 /* refentry parts */
{
margin-top: 1.4em;
font-size: 125%;
}
div.refsection h3
{
font-size: 110%;
}
h3 /* subsections */
2003-12-02 16:36:49 +01:00
{
font-size: 125%;
2003-12-02 16:36:49 +01:00
}
/***************************************************************************
Program listings:
***************************************************************************/
div.example
{
border: 1px solid #6185a0;
padding: 6px 6px;
margin-left: 0em;
margin-right: 0em;
background: #f4f4f8;
2003-12-02 16:36:49 +01:00
}
pre.programlisting
{
color: #600000;
font-family: monospace;
}
/***************************************************************************
Screen dumps:
***************************************************************************/
pre.screen, pre.programlisting
2003-12-02 16:36:49 +01:00
{
border: 1px solid #6185a0;
padding: 3px 3px;
margin-left: 1.5em;
margin-right: 1.5em;
2003-12-02 16:36:49 +01:00
color: #600000;
background: #f4f4f8;
2003-12-02 16:36:49 +01:00
font-family: monospace;
/* font-size: 90%; */
}
/***************************************************************************
Notes, warnings etc:
***************************************************************************/
.note, .warning
2003-12-02 16:36:49 +01:00
{
border: 1px solid #6185a0;
padding: 3px 3px;
margin-left: 1.5em;
margin-right: 1.5em;
margin-bottom: 1em;
padding: 0.3em 0.3em 0.3em 0.3em;
2003-12-02 16:36:49 +01:00
background: #fffff5;
}
div.note, div.warning
2003-12-02 16:36:49 +01:00
{
font-style: italic;
}
div.note h3, div.warning h3
2003-12-02 16:36:49 +01:00
{
color: red;
font-size: 100%;
// margin: 0 0 0 0;
padding-right: 0.5em;
display: inline;
}
div.note p, div.warning p
{
margin-bottom: 0em;
}
div.note h3 + p, div.warning h3 + p
{
display: inline;
}
div.note h3
{
color: blue;
font-size: 100%;
2003-12-02 16:36:49 +01:00
}
div.navfooter *
{
font-size: 90%;
}
/***************************************************************************
Links colors and highlighting:
***************************************************************************/
a:link { color: #0048b3; }
a:visited { color: #002a6a; }
a:hover { background: #ffffcd; }
/***************************************************************************
Table of contents:
***************************************************************************/
.toc
{
font-size: 90%;
}
/***************************************************************************
Special elements:
***************************************************************************/
2005-03-17 11:30:53 +01:00
tt, code
2003-12-02 16:36:49 +01:00
{
color: #400000;
}
.term
{
font-weight: bold;
}
div.variablelist dd p
{
margin-top: 0em;
}
2003-12-02 16:36:49 +01:00
div.variablelist dd
{
margin-left: 1.5em;
2003-12-02 16:36:49 +01:00
}
.default
{
font-style: italic;
}
.availability
{
font-style: italic;
}
.varname
{
color: #400000;
}
div.informaltable table
{
border: 1px solid #6185a0;
width: 100%;
}
div.informaltable td
{
border: 0;
padding: 5px;
}
div.informaltable td.default
{
text-align: right;
}
div.informaltable th
{
text-align: left;
color: #005aa0;
border: 0;
padding: 5px;
background: #fffff5;
font-weight: normal;
font-style: italic;
}
td.varname, td.tagname, td.paramname
{
font-weight: bold;
vertical-align: top;
}
2003-12-02 17:29:41 +01:00
div.epigraph
{
font-style: italic;
text-align: right;
2004-04-08 17:51:26 +02:00
}
table.productionset table.productionset
{
font-family: monospace;
}
strong.command
{
// font-family: monospace;
// font-style: italic;
// font-weight: normal;
color: #400000;
}
div.calloutlist td
{
padding-bottom: 1em;
}