mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Doc: reformat catalog/view description tables.
This changes our catalog and view descriptions to use a style inspired by the new format for function/operator tables: each table entry is formatted roughly like a <varlistentry>, with the column name and type on the first line and then an indented description. This provides much more room for expansive descriptions than we had before, and thereby eliminates a passel of PDF build warnings. Discussion: https://postgr.es/m/12984.1588643549@sss.pgh.pa.us
This commit is contained in:
@@ -96,6 +96,36 @@ td.func_table_entry pre.programlisting {
|
||||
padding-left: 4em;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/* 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. */
|
||||
@@ -115,6 +145,10 @@ pre.literallayout, .screen, .synopsis, .programlisting {
|
||||
margin-left: 4ex;
|
||||
}
|
||||
|
||||
ul.itemizedlist {
|
||||
margin-left: 2.5rem;
|
||||
}
|
||||
|
||||
.comment { color: red; }
|
||||
|
||||
var { font-family: monospace; font-style: italic; }
|
||||
|
||||
Reference in New Issue
Block a user