[Python-checkins] r56741 - in doctools/trunk: Doc-26/library/functions.rst Doc-3k/library/functions.rst sphinx/style/default.css sphinx/style/traditional.css
georg.brandl
python-checkins at python.org
Sat Aug 4 20:17:52 CEST 2007
Author: georg.brandl
Date: Sat Aug 4 20:17:51 2007
New Revision: 56741
Modified:
doctools/trunk/Doc-26/library/functions.rst
doctools/trunk/Doc-3k/library/functions.rst
doctools/trunk/sphinx/style/default.css
doctools/trunk/sphinx/style/traditional.css
Log:
Update traditional stylesheet, fix a markup glitch.
Modified: doctools/trunk/Doc-26/library/functions.rst
==============================================================================
--- doctools/trunk/Doc-26/library/functions.rst (original)
+++ doctools/trunk/Doc-26/library/functions.rst Sat Aug 4 20:17:51 2007
@@ -298,13 +298,13 @@
objects, as it attempts to produce the most relevant, rather than complete,
information:
-* If the object is a module object, the list contains the names of the module's
+ * If the object is a module object, the list contains the names of the module's
attributes.
-* If the object is a type or class object, the list contains the names of its
+ * If the object is a type or class object, the list contains the names of its
attributes, and recursively of the attributes of its bases.
-* Otherwise, the list contains the object's attributes' names, the names of its
+ * Otherwise, the list contains the object's attributes' names, the names of its
class's attributes, and recursively of the attributes of its class's base
classes.
Modified: doctools/trunk/Doc-3k/library/functions.rst
==============================================================================
--- doctools/trunk/Doc-3k/library/functions.rst (original)
+++ doctools/trunk/Doc-3k/library/functions.rst Sat Aug 4 20:17:51 2007
@@ -297,13 +297,13 @@
objects, as it attempts to produce the most relevant, rather than complete,
information:
-* If the object is a module object, the list contains the names of the module's
+ * If the object is a module object, the list contains the names of the module's
attributes.
-* If the object is a type or class object, the list contains the names of its
+ * If the object is a type or class object, the list contains the names of its
attributes, and recursively of the attributes of its bases.
-* Otherwise, the list contains the object's attributes' names, the names of its
+ * Otherwise, the list contains the object's attributes' names, the names of its
class's attributes, and recursively of the attributes of its class's base
classes.
Modified: doctools/trunk/sphinx/style/default.css
==============================================================================
--- doctools/trunk/sphinx/style/default.css (original)
+++ doctools/trunk/sphinx/style/default.css Sat Aug 4 20:17:51 2007
@@ -268,6 +268,7 @@
div#comments {
border: 1px solid #2eabb0;
+ margin-top: 20px;
}
div#comments div.nocomments {
@@ -577,6 +578,21 @@
font-weight: bold;
}
+/* "Topics" */
+
+div.topic {
+ background-color: #eee;
+ border: 1px solid #ccc;
+ padding: 0 7px 0 7px;
+ margin: 10px 0 10px 0;
+}
+
+p.topic-title {
+ font-size: 1.1em;
+ font-weight: bold;
+ margin-top: 10px;
+}
+
/* Admonitions */
div.admonition {
@@ -618,12 +634,16 @@
display: inline;
}
+p.admonition-title:after {
+ content: ":";
+}
+
table.docutils {
border: 0;
}
table.docutils td, table.docutils th {
- margin: 2px;
+ padding: 0 8px 2px 0;
border-top: 0;
border-left: 0;
border-right: 0;
Modified: doctools/trunk/sphinx/style/traditional.css
==============================================================================
--- doctools/trunk/sphinx/style/traditional.css (original)
+++ doctools/trunk/sphinx/style/traditional.css Sat Aug 4 20:17:51 2007
@@ -483,12 +483,27 @@
font-weight: bold;
}
+/* "Topics" */
+
+div.topic {
+ background-color: #eee;
+ border: 1px solid #ccc;
+ padding: 0 7px 0 7px;
+ margin: 10px 0 10px 0;
+}
+
+p.topic-title {
+ font-size: 1.1em;
+ font-weight: bold;
+ margin-top: 10px;
+}
+
/* Admonitions */
div.admonition {
margin-top: 10px;
margin-bottom: 10px;
- padding: 10px 10px 0px 10px;
+ padding: 7px;
}
div.admonition dt {
@@ -499,6 +514,14 @@
margin-bottom: 10px;
}
+div.admonition dl {
+ margin-bottom: 0;
+}
+
+div.admonition p {
+ display: inline;
+}
+
div.seealso {
background-color: #ffc;
border: 1px solid #ff6;
@@ -515,9 +538,13 @@
}
p.admonition-title {
- margin: 0px 0px 5px 0px;
+ margin: 0px 10px 5px 0px;
font-weight: bold;
- font-size: 1.1em;
+ display: inline;
+}
+
+p.admonition-title:after {
+ content: ":";
}
table.docutils {
@@ -525,7 +552,7 @@
}
table.docutils td, table.docutils th {
- margin: 2px;
+ padding: 0 8px 2px 0;
border-top: 0;
border-left: 0;
border-right: 0;
More information about the Python-checkins
mailing list