doc: restore original stylesheet for now

This commit is contained in:
Ian Barwick
2019-05-09 16:14:13 +09:00
parent 255623004c
commit edf3aa6687
3 changed files with 548 additions and 107 deletions

View File

@@ -1,21 +1,20 @@
/* PostgreSQL.org Documentation Style */
/*
* Documentation generated by XSL stylesheets has lower-case class
* names, older documentation generated by DSSSL stylesheets has
* upper-case class names, so we need to support both for a while. In
* some cases, the elements and classes differ further between the two
* stylesheets.
*/
/* requires global.css, table.css and text.css to be loaded before this file! */
body {
font-family: verdana, sans-serif;
font-size: 76%;
background: url("/resources/background.png") repeat-x scroll left top transparent;
padding: 15px 4%;
margin: 0;
}
/* monospace font size fix */
pre, code, kbd, samp, tt {
font-family: monospace,monospace;
font-size: 1em;
}
div.NAVHEADER table {
.navheader table,
.NAVHEADER table {
margin-left: 0;
}
@@ -99,7 +98,7 @@ div.NAVHEADER table {
#docSearch form input {
font-size: 0.95em;
}
#docSearch form #submit {
font-size: 0.95em;
background: #7A7A7A;
@@ -107,7 +106,7 @@ div.NAVHEADER table {
border: 1px solid #7A7A7A;
padding: 1px 4px;
}
#docSearch form #q {
width: 170px;
font-size: 0.95em;
@@ -138,9 +137,9 @@ div.NAVHEADER table {
#docFooter {
position: relative;
font-size: 0.9em;
color: #666;
line-height: 1.3em;
font-size: 0.9em;
color: #666;
line-height: 1.3em;
margin-left: 10px;
margin-right: 10px;
}
@@ -160,7 +159,6 @@ div.NAVHEADER table {
h1, h2, h3 {
font-weight: bold;
margin-top: 2ex;
color: #444;
}
h1 {
@@ -175,20 +173,35 @@ h3 {
font-size: 1.1em;
}
h1 a:hover,
h1 a:hover {
color: #EC5800;
text-decoration: none;
}
h2 a:hover,
h3 a:hover,
h4 a:hover {
color: #444;
color: #666666;
text-decoration: none;
}
/*
* Change color of h2 chunk titles in XSL build. (In DSSSL build,
* these will be h1, which is already handled elsewhere.)
*/
.titlepage h2.title,
.refnamediv h2 {
color: #EC5800;
}
/* Text Styles */
div.sect2,
div.SECT2 {
margin-top: 4ex;
}
div.sect3,
div.SECT3 {
margin-top: 3ex;
margin-left: 3ex;
@@ -203,7 +216,7 @@ p, ol, ul, li {
}
.txtCommentsWrap {
border: 2px solid #F5F5F5;
border: 2px solid #F5F5F5;
width: 100%;
}
@@ -233,6 +246,17 @@ p, ol, ul, li {
font-size: 1em;
}
pre.literallayout,
.screen,
.synopsis,
.programlisting,
.refsynopsisdiv p,
.caution,
.warning,
.note,
.tip,
.table table,
.informaltable table,
pre.LITERALLAYOUT,
.SCREEN,
.SYNOPSIS,
@@ -250,6 +274,15 @@ table.CALSTABLE {
box-shadow: 3px 3px 5px #DFDFDF;
}
pre.literallayout,
.screen,
.synopsis,
.programlisting,
.refsynopsisdiv p,
.caution,
.warning,
.note,
.tip,
pre.LITERALLAYOUT,
.SCREEN,
.SYNOPSIS,
@@ -271,6 +304,11 @@ blockquote.TIP {
border-radius: 8px;
}
pre.literallayout,
pre.synopsis,
pre.programlisting,
.refsynopsisdiv p,
.screen,
pre.LITERALLAYOUT,
pre.SYNOPSIS,
pre.PROGRAMLISTING,
@@ -280,6 +318,8 @@ pre.PROGRAMLISTING,
background-color: #F7F7F7;
}
.note,
.tip,
blockquote.NOTE,
blockquote.TIP {
border-color: #DBDBCC;
@@ -288,6 +328,10 @@ blockquote.TIP {
width: 572px;
}
.note,
.tip,
.caution,
.warning,
blockquote.NOTE,
blockquote.TIP,
table.CAUTION,
@@ -295,11 +339,17 @@ table.WARNING {
margin: 4ex auto;
}
.note p,
.tip p,
blockquote.NOTE p,
blockquote.TIP p {
margin: 0;
}
.note pre,
.note code,
.tip pre,
.tip code,
blockquote.NOTE pre,
blockquote.NOTE code,
blockquote.TIP pre,
@@ -313,11 +363,24 @@ blockquote.TIP code {
box-shadow: none;
}
.caution,
.warning {
max-width: 600px;
}
.tip h3,
.note h3,
.caution h3,
.warning h3 {
text-align: center;
}
.emphasis,
.c2 {
font-weight: bold;
}
.replaceable,
.REPLACEABLE {
font-style: italic;
}
@@ -328,6 +391,10 @@ table {
margin-left: 2ex;
}
.table table td,
.table table th,
.informaltable table td,
.informaltable table th,
table.CALSTABLE td,
table.CALSTABLE th,
table.CAUTION td,
@@ -337,6 +404,8 @@ table.WARNING th {
border-style: solid;
}
.table table,
.informaltable table,
table.CALSTABLE,
table.CAUTION,
table.WARNING {
@@ -344,6 +413,8 @@ table.WARNING {
border-collapse: collapse;
}
.table table,
.informaltable table,
table.CALSTABLE
{
margin: 2ex 0 2ex 2ex;
@@ -351,15 +422,23 @@ table.CALSTABLE
border: 2px solid #A7C6DF;
}
.table table tr:hover td,
.informaltable table tr:hover td,
table.CALSTABLE tr:hover td
{
background-color: #EFEFEF;
}
.table table td,
.informaltable table td,
table.CALSTABLE td {
background-color: #FFF;
}
.table table td,
.table table th,
.informaltable table td,
.informaltable table th,
table.CALSTABLE td,
table.CALSTABLE th {
border: 1px solid #A7C6DF;
@@ -374,11 +453,13 @@ table.WARNING {
max-width: 600px;
}
.caution,
table.CAUTION {
background-color: #F5F5DC;
border-color: #DEDFA7;
}
.warning,
table.WARNING {
background-color: #FFD7D7;
border-color: #DF421E;
@@ -447,23 +528,7 @@ a:hover {
color:#666;
}
#docContainer code.function tt,
#docContainer code.FUNCTION tt {
font-size: 1em;
}
div.header {
color: #444;
margin-top: 5px;
}
div.footer {
text-align: center;
background-image: url("/resources/footerl.png"), url("/resources/footerr.png"), url("/resources/footerc.png");
background-position: left top, right top, center top;
background-repeat: no-repeat, no-repeat, repeat-x;
padding-top: 45px;
}
img {
border-style: none;
}