1/* PostgreSQL.org Documentation Style */ 2 3/* 4 * Documentation generated by XSL stylesheets has lower-case class 5 * names, older documentation generated by DSSSL stylesheets has 6 * upper-case class names, so we need to support both for a while. In 7 * some cases, the elements and classes differ further between the two 8 * stylesheets. 9 */ 10 11/* requires global.css, table.css and text.css to be loaded before this file! */ 12body { 13 font-size: 76%; 14} 15 16.navheader table, 17.NAVHEADER table { 18 margin-left: 0; 19} 20 21/* Container Definitions */ 22 23#docContainerWrap { 24 text-align: center; /* Win IE5 */ 25} 26 27#docContainer { 28 margin: 0 auto; 29 width: 90%; 30 padding-bottom: 2em; 31 display: block; 32 text-align: left; /* Win IE5 */ 33} 34 35#docHeader { 36 background-image: url("/media/img/docs/bg_hdr.png"); 37 height: 83px; 38 margin: 0px; 39 padding: 0px; 40 display: block; 41} 42 43#docHeaderLogo { 44 position: relative; 45 width: 206px; 46 height: 83px; 47 border: 0px; 48 padding: 0px; 49 margin: 0 0 0 20px; 50} 51 52#docHeaderLogo img { 53 border: 0px; 54} 55 56#docNavSearchContainer { 57 padding-bottom: 2px; 58} 59 60#docNav, #docVersions { 61 position: relative; 62 text-align: left; 63 margin-left: 10px; 64 margin-top: 5px; 65 color: #666; 66 font-size: 0.95em; 67} 68 69#docSearch { 70 position: relative; 71 text-align: right; 72 padding: 0; 73 margin: 0; 74 color: #666; 75} 76 77#docTextSize { 78 text-align: right; 79 white-space: nowrap; 80 margin-top: 7px; 81 font-size: 0.95em; 82} 83 84#docSearch form { 85 position: relative; 86 top: 5px; 87 right: 0; 88 margin: 0; /* need for IE 5.5 OSX */ 89 text-align: right; /* need for IE 5.5 OSX */ 90 white-space: nowrap; /* for Opera */ 91} 92 93#docSearch form label { 94 color: #666; 95 font-size: 0.95em; 96} 97 98#docSearch form input { 99 font-size: 0.95em; 100} 101 102#docSearch form #submit { 103 font-size: 0.95em; 104 background: #7A7A7A; 105 color: #fff; 106 border: 1px solid #7A7A7A; 107 padding: 1px 4px; 108} 109 110#docSearch form #q { 111 width: 170px; 112 font-size: 0.95em; 113 border: 1px solid #7A7A7A; 114 background: #E1E1E1; 115 color: #000000; 116 padding: 2px; 117} 118 119.frmDocSearch { 120 padding: 0; 121 margin: 0; 122 display: inline; 123} 124 125.inpDocSearch { 126 padding: 0; 127 margin: 0; 128 color: #000; 129} 130 131#docContent { 132 position: relative; 133 margin-left: 10px; 134 margin-right: 10px; 135 margin-top: 40px; 136} 137 138#docFooter { 139 position: relative; 140 font-size: 0.9em; 141 color: #666; 142 line-height: 1.3em; 143 margin-left: 10px; 144 margin-right: 10px; 145} 146 147#docComments { 148 margin-top: 10px; 149} 150 151#docClear { 152 clear: both; 153 margin: 0; 154 padding: 0; 155} 156 157/* Heading Definitions */ 158 159h1, h2, h3 { 160 font-weight: bold; 161 margin-top: 2ex; 162} 163 164h1 { 165 font-size: 1.4em; 166} 167 168h2 { 169 font-size: 1.2em !important; 170} 171 172h3 { 173 font-size: 1.1em; 174} 175 176h1 a:hover { 177 color: #EC5800; 178 text-decoration: none; 179} 180 181h2 a:hover, 182h3 a:hover, 183h4 a:hover { 184 color: #666666; 185 text-decoration: none; 186} 187 188/* 189 * Change color of h2 chunk titles in XSL build. (In DSSSL build, 190 * these will be h1, which is already handled elsewhere.) 191 */ 192.titlepage h2.title, 193.refnamediv h2 { 194 color: #EC5800; 195} 196 197/* Text Styles */ 198 199div.sect2, 200div.SECT2 { 201 margin-top: 4ex; 202} 203 204div.sect3, 205div.SECT3 { 206 margin-top: 3ex; 207 margin-left: 3ex; 208} 209 210.txtCurrentLocation { 211 font-weight: bold; 212} 213 214p, ol, ul, li { 215 line-height: 1.5em; 216} 217 218.txtCommentsWrap { 219 border: 2px solid #F5F5F5; 220 width: 100%; 221} 222 223.txtCommentsContent { 224 background: #F5F5F5; 225 padding: 3px; 226} 227 228.txtCommentsPoster { 229 float: left; 230} 231 232.txtCommentsDate { 233 float: right; 234} 235 236.txtCommentsComment { 237 padding: 3px; 238} 239 240#docContainer pre code, 241#docContainer pre tt, 242#docContainer pre pre, 243#docContainer tt tt, 244#docContainer tt code, 245#docContainer tt pre { 246 font-size: 1em; 247} 248 249pre.literallayout, 250.screen, 251.synopsis, 252.programlisting, 253.refsynopsisdiv p, 254.caution, 255.warning, 256.note, 257.tip, 258.table table, 259.informaltable table, 260pre.LITERALLAYOUT, 261.SCREEN, 262.SYNOPSIS, 263.PROGRAMLISTING, 264.REFSYNOPSISDIV p, 265table.CAUTION, 266table.WARNING, 267blockquote.NOTE, 268blockquote.TIP, 269table.CALSTABLE { 270 -moz-box-shadow: 3px 3px 5px #DFDFDF; 271 -webkit-box-shadow: 3px 3px 5px #DFDFDF; 272 -khtml-box-shadow: 3px 3px 5px #DFDFDF; 273 -o-box-shadow: 3px 3px 5px #DFDFDF; 274 box-shadow: 3px 3px 5px #DFDFDF; 275} 276 277pre.literallayout, 278.screen, 279.synopsis, 280.programlisting, 281.refsynopsisdiv p, 282.caution, 283.warning, 284.note, 285.tip, 286pre.LITERALLAYOUT, 287.SCREEN, 288.SYNOPSIS, 289.PROGRAMLISTING, 290.REFSYNOPSISDIV p, 291table.CAUTION, 292table.WARNING, 293blockquote.NOTE, 294blockquote.TIP { 295 color: black; 296 border-width: 1px; 297 border-style: solid; 298 padding: 2ex; 299 margin: 2ex 0 2ex 2ex; 300 overflow: auto; 301 -moz-border-radius: 8px; 302 -webkit-border-radius: 8px; 303 -khtml-border-radius: 8px; 304 border-radius: 8px; 305} 306 307pre.literallayout, 308pre.synopsis, 309pre.programlisting, 310.refsynopsisdiv p, 311.screen, 312pre.LITERALLAYOUT, 313pre.SYNOPSIS, 314pre.PROGRAMLISTING, 315.REFSYNOPSISDIV p, 316.SCREEN { 317 border-color: #CFCFCF; 318 background-color: #F7F7F7; 319} 320 321.note, 322.tip, 323blockquote.NOTE, 324blockquote.TIP { 325 border-color: #DBDBCC; 326 background-color: #EEEEDD; 327 padding: 14px; 328 width: 572px; 329} 330 331.note, 332.tip, 333.caution, 334.warning, 335blockquote.NOTE, 336blockquote.TIP, 337table.CAUTION, 338table.WARNING { 339 margin: 4ex auto; 340} 341 342.note p, 343.tip p, 344blockquote.NOTE p, 345blockquote.TIP p { 346 margin: 0; 347} 348 349.note pre, 350.note code, 351.tip pre, 352.tip code, 353blockquote.NOTE pre, 354blockquote.NOTE code, 355blockquote.TIP pre, 356blockquote.TIP code { 357 margin-left: 0; 358 margin-right: 0; 359 -moz-box-shadow: none; 360 -webkit-box-shadow: none; 361 -khtml-box-shadow: none; 362 -o-box-shadow: none; 363 box-shadow: none; 364} 365 366.caution, 367.warning { 368 max-width: 600px; 369} 370 371.tip h3, 372.note h3, 373.caution h3, 374.warning h3 { 375 text-align: center; 376} 377 378.emphasis, 379.c2 { 380 font-weight: bold; 381} 382 383.replaceable, 384.REPLACEABLE { 385 font-style: italic; 386} 387 388/* Table Styles */ 389 390table { 391 margin-left: 2ex; 392} 393 394.table table td, 395.table table th, 396.informaltable table td, 397.informaltable table th, 398table.CALSTABLE td, 399table.CALSTABLE th, 400table.CAUTION td, 401table.CAUTION th, 402table.WARNING td, 403table.WARNING th { 404 border-style: solid; 405} 406 407.table table, 408.informaltable table, 409table.CALSTABLE, 410table.CAUTION, 411table.WARNING { 412 border-spacing: 0; 413 border-collapse: collapse; 414} 415 416.table table, 417.informaltable table, 418table.CALSTABLE 419{ 420 margin: 2ex 0 2ex 2ex; 421 background-color: #E0ECEF; 422 border: 2px solid #A7C6DF; 423} 424 425.table table tr:hover td, 426.informaltable table tr:hover td, 427table.CALSTABLE tr:hover td 428{ 429 background-color: #EFEFEF; 430} 431 432.table table td, 433.informaltable table td, 434table.CALSTABLE td { 435 background-color: #FFF; 436} 437 438.table table td, 439.table table th, 440.informaltable table td, 441.informaltable table th, 442table.CALSTABLE td, 443table.CALSTABLE th { 444 border: 1px solid #A7C6DF; 445 padding: 0.5ex 0.5ex; 446} 447 448table.CAUTION, 449table.WARNING { 450 border-collapse: separate; 451 display: block; 452 padding: 0; 453 max-width: 600px; 454} 455 456.caution, 457table.CAUTION { 458 background-color: #F5F5DC; 459 border-color: #DEDFA7; 460} 461 462.warning, 463table.WARNING { 464 background-color: #FFD7D7; 465 border-color: #DF421E; 466} 467 468table.CAUTION td, 469table.CAUTION th, 470table.WARNING td, 471table.WARNING th { 472 border-width: 0; 473 padding-left: 2ex; 474 padding-right: 2ex; 475} 476 477table.CAUTION td, 478table.CAUTION th { 479 border-color: #F3E4D5 480} 481 482table.WARNING td, 483table.WARNING th { 484 border-color: #FFD7D7; 485} 486 487td.c1, 488td.c2, 489td.c3, 490td.c4, 491td.c5, 492td.c6 { 493 font-size: 1.1em; 494 font-weight: bold; 495 border-bottom: 0px solid #FFEFEF; 496 padding: 1ex 2ex 0; 497} 498 499/* Link Styles */ 500 501#docNav a { 502 font-weight: bold; 503} 504 505a:link, 506a:visited, 507a:active, 508a:hover { 509 text-decoration: underline; 510} 511 512a:link, 513a:active { 514 color:#0066A2; 515} 516 517a:visited { 518 color:#004E66; 519} 520 521a:hover { 522 color:#000000; 523} 524 525#docFooter a:link, 526#docFooter a:visited, 527#docFooter a:active { 528 color:#666; 529} 530 531#docContainer code.function tt, 532#docContainer code.FUNCTION tt { 533 font-size: 1em; 534} 535