1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-28 05:21:27 +03:00
postgres/doc/src/sgml/stylesheet.css
Peter Eisentraut f6f9f8a24c doc: Tweak CSS
Tweak CSS a bit to match latest similar changes to web site style.  Also
move some CSS out of the HTML to the stylesheet so that the web site
stylesheet can override it.  This should ensure that notes and such are
back to being centered.
2017-04-12 15:41:41 -04:00

105 lines
1.7 KiB
CSS

/* doc/src/sgml/stylesheet.css */
/* color scheme similar to www.postgresql.org */
body {
color: #000000;
background: #FFFFFF;
font-family: verdana, sans-serif;
}
a:link { color:#0066A2; }
a:visited { color:#004E66; }
a:active { color:#0066A2; }
a:hover { color:#000000; }
h1 {
font-size: 1.4em;
font-weight: bold;
margin-top: 0em;
margin-bottom: 0em;
color: #EC5800;
}
h2 {
font-size: 1.2em;
margin: 1.2em 0em 1.2em 0em;
font-weight: bold;
color: #666;
}
.titlepage h2.title,
.refnamediv h2 {
color: #EC5800;
}
h3 {
font-size: 1.1em;
margin: 1.2em 0em 1.2em 0em;
font-weight: bold;
color: #666;
}
h4 {
font-size: 0.95em;
margin: 1.2em 0em 1.2em 0em;
font-weight: normal;
color: #666;
}
h5 {
font-size: 0.9em;
margin: 1.2em 0em 1.2em 0em;
font-weight: normal;
}
h6 {
font-size: 0.85em;
margin: 1.2em 0em 1.2em 0em;
font-weight: normal;
}
/* center some titles */
.book .title, .book .corpauthor, .book .copyright {
text-align: center;
}
/* decoration for formal examples */
div.example {
padding-left: 15px;
border-style: solid;
border-width: 0px;
border-left-width: 2px;
border-color: black;
margin: 0.5ex;
}
/* 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;
}
/* miscellaneous */
pre.literallayout, .screen, .synopsis, .programlisting {
margin-left: 4ex;
}
.comment { color: red; }
var { font-family: monospace; font-style: italic; }
/* Konqueror's standard style for ACRONYM is italic. */
acronym { font-style: inherit; }
.option { white-space: nowrap; }