2010-09-20 22:08:53 +02:00
|
|
|
/* doc/src/sgml/stylesheet.css */
|
2001-09-14 22:37:55 +02:00
|
|
|
|
|
|
|
/* color scheme similar to www.postgresql.org */
|
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
body {
|
2001-09-14 22:37:55 +02:00
|
|
|
color: #000000;
|
|
|
|
background: #FFFFFF;
|
2009-08-26 15:56:24 +02:00
|
|
|
font-family: verdana, sans-serif;
|
2001-09-14 22:37:55 +02:00
|
|
|
}
|
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
a:link { color:#0066A2; }
|
|
|
|
a:visited { color:#004E66; }
|
|
|
|
a:active { color:#0066A2; }
|
|
|
|
a:hover { color:#000000; }
|
2009-08-26 15:56:24 +02:00
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
h1 {
|
2009-08-26 15:56:24 +02:00
|
|
|
font-size: 1.4em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 0em;
|
|
|
|
margin-bottom: 0em;
|
|
|
|
color: #EC5800;
|
|
|
|
}
|
2001-09-14 22:37:55 +02:00
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
h2 {
|
2009-08-26 15:56:24 +02:00
|
|
|
font-size: 1.2em;
|
|
|
|
margin: 1.2em 0em 1.2em 0em;
|
|
|
|
font-weight: bold;
|
2017-04-12 21:37:03 +02:00
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.titlepage h2.title,
|
|
|
|
.refnamediv h2 {
|
2016-11-08 18:00:00 +01:00
|
|
|
color: #EC5800;
|
2009-08-26 15:56:24 +02:00
|
|
|
}
|
2001-09-14 22:37:55 +02:00
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
h3 {
|
2009-08-26 15:56:24 +02:00
|
|
|
font-size: 1.1em;
|
|
|
|
margin: 1.2em 0em 1.2em 0em;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #666;
|
2001-09-14 22:37:55 +02:00
|
|
|
}
|
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
h4 {
|
2009-08-26 15:56:24 +02:00
|
|
|
font-size: 0.95em;
|
|
|
|
margin: 1.2em 0em 1.2em 0em;
|
2001-09-14 22:37:55 +02:00
|
|
|
font-weight: normal;
|
2009-08-26 15:56:24 +02:00
|
|
|
color: #666;
|
2001-09-14 22:37:55 +02:00
|
|
|
}
|
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
h5 {
|
2009-08-26 15:56:24 +02:00
|
|
|
font-size: 0.9em;
|
|
|
|
margin: 1.2em 0em 1.2em 0em;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
h6 {
|
2009-08-26 15:56:24 +02:00
|
|
|
font-size: 0.85em;
|
|
|
|
margin: 1.2em 0em 1.2em 0em;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* center some titles */
|
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
.book .title, .book .corpauthor, .book .copyright {
|
2001-09-14 22:37:55 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* decoration for formal examples */
|
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
div.example {
|
2001-09-14 22:37:55 +02:00
|
|
|
padding-left: 15px;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 0px;
|
|
|
|
border-left-width: 2px;
|
|
|
|
border-color: black;
|
2001-09-15 02:48:59 +02:00
|
|
|
margin: 0.5ex;
|
2001-09-14 22:37:55 +02:00
|
|
|
}
|
|
|
|
|
Doc: revise formatting of function/operator tables.
The table layout ideas proposed in commit e894c6183 were not as widely
popular as I'd hoped. After discussion, we've settled on a layout
that's effectively a single-column table with cell contents much like a
<varlistentry> description of the function or operator; though we're not
actually using <varlistentry>, because it'd add way too much vertical
space. Instead the effect is accomplished using line-break processing
instructions to separate the description and example(s), plus CSS or FO
customizations to produce indentation of all but the first line in each
cell. While technically this is a bit grotty, it does have the
advantage that we won't need to write nearly as much boilerplate markup.
This patch updates tables 9.30, 9.31, and 9.33 (which were touched by
the previous patch) to the revised style, and additionally converts
table 9.10. A lot of work still remains to do, but hopefully it won't
be too controversial.
Thanks to Andrew Dunstan, Pierre Giraud, Robert Haas, Alvaro Herrera,
David Johnston, Jonathan Katz, Isaac Morland for valuable ideas.
Discussion: https://postgr.es/m/8691.1586798003@sss.pgh.pa.us
2020-04-18 02:50:26 +02:00
|
|
|
/* formatting for entries in tables of functions: indent all but first line */
|
|
|
|
|
2020-04-30 06:34:05 +02:00
|
|
|
th.func_table_entry p,
|
|
|
|
td.func_table_entry p {
|
|
|
|
margin-top: 0.1em;
|
|
|
|
margin-bottom: 0.1em;
|
2020-04-18 21:36:43 +02:00
|
|
|
padding-left: 4em;
|
Doc: revise formatting of function/operator tables.
The table layout ideas proposed in commit e894c6183 were not as widely
popular as I'd hoped. After discussion, we've settled on a layout
that's effectively a single-column table with cell contents much like a
<varlistentry> description of the function or operator; though we're not
actually using <varlistentry>, because it'd add way too much vertical
space. Instead the effect is accomplished using line-break processing
instructions to separate the description and example(s), plus CSS or FO
customizations to produce indentation of all but the first line in each
cell. While technically this is a bit grotty, it does have the
advantage that we won't need to write nearly as much boilerplate markup.
This patch updates tables 9.30, 9.31, and 9.33 (which were touched by
the previous patch) to the revised style, and additionally converts
table 9.10. A lot of work still remains to do, but hopefully it won't
be too controversial.
Thanks to Andrew Dunstan, Pierre Giraud, Robert Haas, Alvaro Herrera,
David Johnston, Jonathan Katz, Isaac Morland for valuable ideas.
Discussion: https://postgr.es/m/8691.1586798003@sss.pgh.pa.us
2020-04-18 02:50:26 +02:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2020-04-30 06:34:05 +02:00
|
|
|
p.func_signature {
|
|
|
|
text-indent: -3.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.func_table_entry pre.programlisting {
|
|
|
|
margin-top: 0.1em;
|
|
|
|
margin-bottom: 0.1em;
|
|
|
|
padding-left: 4em;
|
|
|
|
}
|
|
|
|
|
2020-05-14 05:03:39 +02:00
|
|
|
/* formatting for entries in tables of catalog/view columns */
|
|
|
|
|
|
|
|
th.catalog_table_entry p,
|
|
|
|
td.catalog_table_entry p {
|
|
|
|
margin-top: 0.1em;
|
|
|
|
margin-bottom: 0.1em;
|
|
|
|
padding-left: 4em;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
th.catalog_table_entry p.column_definition {
|
|
|
|
text-indent: -3.5em;
|
|
|
|
word-spacing: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.catalog_table_entry p.column_definition {
|
|
|
|
text-indent: -3.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.column_definition code.type {
|
|
|
|
padding-left: 0.25em;
|
|
|
|
padding-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.catalog_table_entry pre.programlisting {
|
|
|
|
margin-top: 0.1em;
|
|
|
|
margin-bottom: 0.1em;
|
|
|
|
padding-left: 4em;
|
|
|
|
}
|
|
|
|
|
2017-04-12 21:37:03 +02:00
|
|
|
/* Put these here instead of inside the HTML (see unsetting of
|
|
|
|
admon.style in XSL) so that the web site stylesheet can set its own
|
|
|
|
style. */
|
|
|
|
|
|
|
|
.tip,
|
|
|
|
.note,
|
|
|
|
.important,
|
|
|
|
.caution,
|
|
|
|
.warning {
|
|
|
|
margin-left: 0.5in;
|
|
|
|
margin-right: 0.5in;
|
|
|
|
}
|
|
|
|
|
2009-08-26 15:56:24 +02:00
|
|
|
/* miscellaneous */
|
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
pre.literallayout, .screen, .synopsis, .programlisting {
|
2002-10-12 18:33:43 +02:00
|
|
|
margin-left: 4ex;
|
|
|
|
}
|
|
|
|
|
2020-05-14 05:03:39 +02:00
|
|
|
ul.itemizedlist {
|
|
|
|
margin-left: 2.5rem;
|
|
|
|
}
|
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
.comment { color: red; }
|
2003-12-16 00:58:12 +01:00
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
var { font-family: monospace; font-style: italic; }
|
2003-12-16 00:58:12 +01:00
|
|
|
/* Konqueror's standard style for ACRONYM is italic. */
|
2016-11-08 18:00:00 +01:00
|
|
|
acronym { font-style: inherit; }
|
2016-02-20 05:00:22 +01:00
|
|
|
|
2016-11-08 18:00:00 +01:00
|
|
|
.option { white-space: nowrap; }
|
2019-04-16 14:27:56 +02:00
|
|
|
|
|
|
|
/* make images not too wide on larger screens */
|
|
|
|
@media (min-width: 800px) {
|
|
|
|
.mediaobject {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
}
|