Merge from trunk
[plcapi.git] / trunk / psycopg2 / doc / api-screen.css
diff --git a/trunk/psycopg2/doc/api-screen.css b/trunk/psycopg2/doc/api-screen.css
new file mode 100644 (file)
index 0000000..22e8f7e
--- /dev/null
@@ -0,0 +1,138 @@
+/* Based on the Epydoc "default.css"\r
+** with some missing reST-related classes\r
+** and Python syntax support (from SilverCity)\r
+*/\r
+\r
+/* Body color */ \r
+body               { background: #ffffff; color: #000000; } \r
\r
+/* Tables */ \r
+table.summary, table.details, table.index\r
+                   { background: #e8f0f8; color: #000000; } \r
+tr.summary, tr.details, tr.index\r
+                   { background: #70b0f0; color: #000000;  \r
+                     text-align: left; font-size: 120%; } \r
+tr.group           { background: #c0e0f8; color: #000000;\r
+                     text-align: left; font-size: 120%;\r
+                     font-style: italic; } \r
+\r
+/* Documentation page titles */\r
+h2.module          { margin-top: 0.2em; }\r
+h2.class           { margin-top: 0.2em; }\r
\r
+/* Headings */\r
+h1.heading         { font-size: +140%; font-style: italic;\r
+                     font-weight: bold; }\r
+h2.heading         { font-size: +125%; font-style: italic;\r
+                     font-weight: bold; }\r
+h3.heading         { font-size: +110%; font-style: italic;\r
+                     font-weight: normal; }\r
+                    \r
+/* Base tree */\r
+pre.base-tree      { font-size: 80%; margin: 0; }\r
+\r
+/* TOC */\r
+p.toc { margin: 0; }\r
+\r
+/* Details Sections */\r
+table.func-details { background: #e8f0f8; color: #000000;\r
+                     border: 2px groove #c0d0d0;\r
+                     padding: 0 1em 0 1em; margin: 0.4em 0 0 0; }\r
+h3.func-detail     { background: transparent; color: #000000;\r
+                     margin: 0 0 1em 0; }\r
+\r
+table.var-details  { background: #e8f0f8; color: #000000;\r
+                     border: 2px groove #c0d0d0;\r
+                     padding: 0 1em 0 1em; margin: 0.4em 0 0 0; }\r
+h3.var-details     { background: transparent; color: #000000;\r
+                     margin: 0 0 1em 0; }\r
+\r
+/* Function signatures */\r
+.sig               { background: transparent; color: #000000;\r
+                     font-weight: bold; }  \r
+.sig-name          { background: transparent; color: #006080; }  \r
+.sig-arg, .sig-kwarg, .sig-vararg\r
+                   { background: transparent; color: #008060; }  \r
+.sig-default       { background: transparent; color: #602000; }  \r
+.summary-sig       { background: transparent; color: #000000; }  \r
+.summary-sig-name  { background: transparent; color: #204080; }\r
+.summary-sig-arg, .summary-sig-kwarg, .summary-sig-vararg\r
+                   { background: transparent; color: #008060; }  \r
+\r
+/* Doctest blocks */\r
+.py-src            { background: transparent; color: #000000; }\r
+.py-prompt         { background: transparent; color: #005050;\r
+                     font-weight: bold;}\r
+.py-string         { background: transparent; color: #006030; }\r
+.py-comment        { background: transparent; color: #003060; }\r
+.py-keyword        { background: transparent; color: #600000; }\r
+.py-output         { background: transparent; color: #404040; }\r
+div.code-block,\r
+pre.literal-block,\r
+pre.doctestblock   { background: #f4faff; color: #000000; \r
+                     padding: .5em; margin: 1em;\r
+                     border: 1px solid #708890; }\r
+table pre.doctestblock\r
+                   { background: #dce4ec; color: #000000; \r
+                     padding: .5em; margin: 1em;\r
+                     border: 1px solid #708890; }\r
+div.code-block     { font-family: monospace; }\r
+\r
+/* Variable values */\r
+pre.variable       { background: #dce4ec; color: #000000;\r
+                     padding: .5em; margin: 0;\r
+                     border: 1px solid #708890; }\r
+.variable-linewrap { background: transparent; color: #604000; }\r
+.variable-ellipsis { background: transparent; color: #604000; }\r
+.variable-quote    { background: transparent; color: #604000; }\r
+.re                { background: transparent; color: #000000; }\r
+.re-char           { background: transparent; color: #006030; }\r
+.re-op             { background: transparent; color: #600000; }\r
+.re-group          { background: transparent; color: #003060; }\r
+.re-ref            { background: transparent; color: #404040; }\r
+\r
+/* Navigation bar */ \r
+table.navbar       { background: #a0c0ff; color: #0000ff;\r
+                     border: 2px groove #c0d0d0; }\r
+th.navbar          { background: #a0c0ff; color: #0000ff; } \r
+th.navselect       { background: #70b0ff; color: #000000; } \r
+.nomargin          { margin: 0; }\r
+\r
+/* Links */ \r
+a:link             { background: transparent; color: #0000ff; }  \r
+a:visited          { background: transparent; color: #204080; }  \r
+a.navbar:link      { background: transparent; color: #0000ff; \r
+                     text-decoration: none; }  \r
+a.navbar:visited   { background: transparent; color: #204080; \r
+                     text-decoration: none; }  \r
+\r
+/* Admonitions */\r
+div.warning,\r
+div.note                { background-color: #c0e0f8;\r
+                          border: thin solid black;\r
+                          padding: 1em;\r
+                          margin-left: 1em;\r
+                          margin-right: 1em; }\r
+div.warning .first,\r
+div.note .first      { font-family: sans-serif;\r
+                          font-size: 110%;\r
+                          margin-right: 0.5em; }\r
+\r
+/* Lists */\r
+ul { margin-top: 0; }\r
+\r
+/* Python syntax */\r
+.p_character { color: olive; }\r
+.p_classname { color: blue; font-weight: bold; }\r
+.p_commentblock {color: gray; font-style: italic; }\r
+.p_commentline { color: green; font-style: italic; }\r
+.p_default {}\r
+.p_defname { color: #009999; font-weight: bold; }\r
+.p_identifier { color: black; }\r
+.p_number { color: #009999; }\r
+.p_operator { color: black; }\r
+.p_string { color: #7F007F; }\r
+.p_stringeol { color: #7F007F; }\r
+.p_triple { color: #7F0000; }\r
+.p_tripledouble { color: #7F0000; }\r
+.p_word { color: navy; font-weight: bold; }\r