| 1 |
/* doc/src/sgml/stylesheet.css */ |
| 2 |
|
| 3 |
/* color scheme similar to www.postgresql.org */ |
| 4 |
|
| 5 |
body { |
| 6 |
color: #000000; |
| 7 |
background: #FFFFFF; |
| 8 |
font-family: verdana, sans-serif; |
| 9 |
} |
| 10 |
|
| 11 |
a:link { color:#0066A2; } |
| 12 |
a:visited { color:#004E66; } |
| 13 |
a:active { color:#0066A2; } |
| 14 |
a:hover { color:#000000; } |
| 15 |
|
| 16 |
h1 { |
| 17 |
font-size: 1.4em; |
| 18 |
font-weight: bold; |
| 19 |
margin-top: 0em; |
| 20 |
margin-bottom: 0em; |
| 21 |
color: #EC5800; |
| 22 |
} |
| 23 |
|
| 24 |
h2 { |
| 25 |
font-size: 1.2em; |
| 26 |
margin: 1.2em 0em 1.2em 0em; |
| 27 |
font-weight: bold; |
| 28 |
color: #666; |
| 29 |
} |
| 30 |
|
| 31 |
.titlepage h2.title, |
| 32 |
.refnamediv h2 { |
| 33 |
color: #EC5800; |
| 34 |
} |
| 35 |
|
| 36 |
h3 { |
| 37 |
font-size: 1.1em; |
| 38 |
margin: 1.2em 0em 1.2em 0em; |
| 39 |
font-weight: bold; |
| 40 |
color: #666; |
| 41 |
} |
| 42 |
|
| 43 |
h4 { |
| 44 |
font-size: 0.95em; |
| 45 |
margin: 1.2em 0em 1.2em 0em; |
| 46 |
font-weight: normal; |
| 47 |
color: #666; |
| 48 |
} |
| 49 |
|
| 50 |
h5 { |
| 51 |
font-size: 0.9em; |
| 52 |
margin: 1.2em 0em 1.2em 0em; |
| 53 |
font-weight: normal; |
| 54 |
} |
| 55 |
|
| 56 |
h6 { |
| 57 |
font-size: 0.85em; |
| 58 |
margin: 1.2em 0em 1.2em 0em; |
| 59 |
font-weight: normal; |
| 60 |
} |
| 61 |
|
| 62 |
/* center some titles */ |
| 63 |
|
| 64 |
.book .title, .book .corpauthor, .book .copyright { |
| 65 |
text-align: center; |
| 66 |
} |
| 67 |
|
| 68 |
/* decoration for formal examples */ |
| 69 |
|
| 70 |
div.example { |
| 71 |
padding-left: 15px; |
| 72 |
border-style: solid; |
| 73 |
border-width: 0px; |
| 74 |
border-left-width: 2px; |
| 75 |
border-color: black; |
| 76 |
margin: 0.5ex; |
| 77 |
} |
| 78 |
|
| 79 |
/* Additional formatting for "simplelist" structures */ |
| 80 |
table.simplelist td { |
| 81 |
padding-left: 2em; |
| 82 |
padding-right: 2em; |
| 83 |
} |
| 84 |
|
| 85 |
/* formatting for entries in tables of functions: indent all but first line */ |
| 86 |
|
| 87 |
th.func_table_entry p, |
| 88 |
td.func_table_entry p { |
| 89 |
margin-top: 0.1em; |
| 90 |
margin-bottom: 0.1em; |
| 91 |
padding-left: 4em; |
| 92 |
text-align: left; |
| 93 |
} |
| 94 |
|
| 95 |
p.func_signature { |
| 96 |
text-indent: -3.5em; |
| 97 |
} |
| 98 |
|
| 99 |
td.func_table_entry pre.programlisting { |
| 100 |
margin-top: 0.1em; |
| 101 |
margin-bottom: 0.1em; |
| 102 |
padding-left: 4em; |
| 103 |
} |
| 104 |
|
| 105 |
/* formatting for entries in tables of catalog/view columns */ |
| 106 |
|
| 107 |
th.catalog_table_entry p, |
| 108 |
td.catalog_table_entry p { |
| 109 |
margin-top: 0.1em; |
| 110 |
margin-bottom: 0.1em; |
| 111 |
padding-left: 4em; |
| 112 |
text-align: left; |
| 113 |
} |
| 114 |
|
| 115 |
th.catalog_table_entry p.column_definition { |
| 116 |
text-indent: -3.5em; |
| 117 |
word-spacing: 0.25em; |
| 118 |
} |
| 119 |
|
| 120 |
td.catalog_table_entry p.column_definition { |
| 121 |
text-indent: -3.5em; |
| 122 |
} |
| 123 |
|
| 124 |
p.column_definition code.type { |
| 125 |
padding-left: 0.25em; |
| 126 |
padding-right: 0.25em; |
| 127 |
} |
| 128 |
|
| 129 |
td.catalog_table_entry pre.programlisting { |
| 130 |
margin-top: 0.1em; |
| 131 |
margin-bottom: 0.1em; |
| 132 |
padding-left: 4em; |
| 133 |
} |
| 134 |
|
| 135 |
/* Put these here instead of inside the HTML (see unsetting of |
| 136 |
admon.style in XSL) so that the web site stylesheet can set its own |
| 137 |
style. */ |
| 138 |
|
| 139 |
.tip, |
| 140 |
.note, |
| 141 |
.important, |
| 142 |
.caution, |
| 143 |
.warning { |
| 144 |
margin-left: 0.5in; |
| 145 |
margin-right: 0.5in; |
| 146 |
} |
| 147 |
|
| 148 |
/* miscellaneous */ |
| 149 |
|
| 150 |
pre.literallayout, .screen, .synopsis, .programlisting { |
| 151 |
margin-left: 4ex; |
| 152 |
} |
| 153 |
|
| 154 |
ul.itemizedlist { |
| 155 |
margin-left: 2.5rem; |
| 156 |
} |
| 157 |
|
| 158 |
.comment { color: red; } |
| 159 |
|
| 160 |
var { font-family: monospace; font-style: italic; } |
| 161 |
/* Konqueror's standard style for ACRONYM is italic. */ |
| 162 |
acronym { font-style: inherit; } |
| 163 |
|
| 164 |
.option { white-space: nowrap; } |
| 165 |
|
| 166 |
/* make images not too wide on larger screens */ |
| 167 |
@media (min-width: 800px) { |
| 168 |
.mediaobject { |
| 169 |
width: 75%; |
| 170 |
} |
| 171 |
} |
| 172 |
|
| 173 |
/* links to ids of headers and definition terms */ |
| 174 |
|
| 175 |
a.id_link { |
| 176 |
color: inherit; |
| 177 |
visibility: hidden; |
| 178 |
} |
| 179 |
|
| 180 |
*:hover > a.id_link { |
| 181 |
visibility: visible; |
| 182 |
} |