mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-21 13:56:59 +08:00
Block elements with verbatim formatting (literallayout, programlisting, screen, synopsis) should be aligned at column 0 independent of the surrounding SGML, because whitespace is significant, and indenting them creates erratic whitespace in the output. The CSS stylesheets already take care of indenting the output. Assorted markup improvements to go along with it.
97 lines
1.6 KiB
CSS
97 lines
1.6 KiB
CSS
/* $PostgreSQL: pgsql/doc/src/sgml/stylesheet.css,v 1.9.10.1 2010/07/29 19:34:37 petere Exp $ */
|
|
|
|
/* color scheme similar to www.postgresql.org */
|
|
|
|
BODY {
|
|
color: #000000;
|
|
background: #FFFFFF;
|
|
font-family: verdana, sans-serif;
|
|
}
|
|
|
|
A:link { color:#0066A2; }
|
|
A:visited { color:#004E66; }
|
|
A:active { color:#0066A2; }
|
|
A:hover { color:#000000; }
|
|
|
|
H1 {
|
|
font-size: 1.4em;
|
|
font-weight: bold;
|
|
margin-top: 0em;
|
|
margin-bottom: 0em;
|
|
color: #EC5800;
|
|
}
|
|
|
|
H2 {
|
|
font-size: 1.2em;
|
|
margin: 1.2em 0em 1.2em 0em;
|
|
font-weight: bold;
|
|
color: #666;
|
|
}
|
|
|
|
H3 {
|
|
font-size: 1.1em;
|
|
margin: 1.2em 0em 1.2em 0em;
|
|
font-weight: bold;
|
|
color: #666;
|
|
}
|
|
|
|
H4 {
|
|
font-size: 0.95em;
|
|
margin: 1.2em 0em 1.2em 0em;
|
|
font-weight: normal;
|
|
color: #666;
|
|
}
|
|
|
|
H5 {
|
|
font-size: 0.9em;
|
|
margin: 1.2em 0em 1.2em 0em;
|
|
font-weight: normal;
|
|
}
|
|
|
|
H6 {
|
|
font-size: 0.85em;
|
|
margin: 1.2em 0em 1.2em 0em;
|
|
font-weight: normal;
|
|
}
|
|
|
|
/* center some titles */
|
|
|
|
.BOOK .TITLE, .BOOK .CORPAUTHOR, .BOOK .COPYRIGHT {
|
|
text-align: center;
|
|
}
|
|
|
|
/* decoration for formal examples */
|
|
|
|
DIV.EXAMPLE {
|
|
padding-left: 15px;
|
|
border-style: solid;
|
|
border-width: 0px;
|
|
border-left-width: 2px;
|
|
border-color: black;
|
|
margin: 0.5ex;
|
|
}
|
|
|
|
/* less dense spacing of TOC */
|
|
|
|
.BOOK .TOC DL DT {
|
|
padding-top: 1.5ex;
|
|
padding-bottom: 1.5ex;
|
|
}
|
|
|
|
.BOOK .TOC DL DL DT {
|
|
padding-top: 0ex;
|
|
padding-bottom: 0ex;
|
|
}
|
|
|
|
/* miscellaneous */
|
|
|
|
PRE.LITERALLAYOUT, .SCREEN, .SYNOPSIS, .PROGRAMLISTING {
|
|
margin-left: 4ex;
|
|
}
|
|
|
|
.COMMENT { color: red; }
|
|
|
|
VAR { font-family: monospace; font-style: italic; }
|
|
/* Konqueror's standard style for ACRONYM is italic. */
|
|
ACRONYM { font-style: inherit; }
|