Update doc styles for catalog tables

As part of the ongoing effort to make the documentation
both easier to read visually and more friendly for the
PDF building, there have been improvements to the layout
of the reference tables.

This set of changes focuses on the catalog tables that
detail the information in the different PostgreSQL catalogs.
There is also a small adjustment for the function tables, as
one of the CSS classes was renamed in the SGML source.

Author: Tom Lane <tgl@sss.pgh.pa.us>
This commit is contained in:
Jonathan S. Katz
2020-05-13 22:23:46 -04:00
parent de449f2169
commit 93716f2a81

View File

@ -791,14 +791,6 @@ code,
word-break: unset;
}
/** Formatting for entries in tables of functions: indent all but first line **/
#docContent table.table th.functableentry,
#docContent table.table td.functableentry {
padding-left: 4em;
text-indent: -3.5em;
text-align: left;
}
#docContent table.table th.func_table_entry p,
#docContent table.table td.func_table_entry p {
margin-top: 0.1em;
@ -807,6 +799,38 @@ code,
text-align: left;
}
/** Formatting for entries in tables of catalog/view columns **/
#docContent table.table th.catalog_table_entry p,
#docContent table.table td.catalog_table_entry p {
margin-top: 0.1em;
margin-bottom: 0.1em;
padding-left: 4em;
text-align: left;
}
#docContent table.table th.catalog_table_entry p.column_definition {
text-indent: -3.5em;
word-spacing: 0.25em;
}
#docContent table.table td.catalog_table_entry p.column_definition {
text-indent: -3.5em;
}
#docContent table.table p.column_definition code.type {
padding-left: 0.25em;
padding-right: 0.25em;
}
#docContent table.table td.catalog_table_entry pre.programlisting {
background-color: inherit;
border: 0;
margin-bottom: 0.1em;
margin-top: 0.1em;
padding: 0;
padding-left: 4em;
}
#docContent table.table p.func_signature {
text-indent: -3.5em;
}