Update traditional stylesheet, fix a markup glitch.

This commit is contained in:
Georg Brandl
2007-08-04 18:17:51 +00:00
parent 2aa14f1180
commit 8809f4163c
4 changed files with 58 additions and 11 deletions

View File

@@ -298,13 +298,13 @@ available. They are listed here in alphabetical order.
objects, as it attempts to produce the most relevant, rather than complete, objects, as it attempts to produce the most relevant, rather than complete,
information: 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. 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. 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 class's attributes, and recursively of the attributes of its class's base
classes. classes.

View File

@@ -297,13 +297,13 @@ available. They are listed here in alphabetical order.
objects, as it attempts to produce the most relevant, rather than complete, objects, as it attempts to produce the most relevant, rather than complete,
information: 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. 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. 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 class's attributes, and recursively of the attributes of its class's base
classes. classes.

View File

@@ -268,6 +268,7 @@ div.inlinecomments div.comments {
div#comments { div#comments {
border: 1px solid #2eabb0; border: 1px solid #2eabb0;
margin-top: 20px;
} }
div#comments div.nocomments { div#comments div.nocomments {
@@ -577,6 +578,21 @@ p.rubric {
font-weight: bold; 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 */ /* Admonitions */
div.admonition { div.admonition {
@@ -618,12 +634,16 @@ p.admonition-title {
display: inline; display: inline;
} }
p.admonition-title:after {
content: ":";
}
table.docutils { table.docutils {
border: 0; border: 0;
} }
table.docutils td, table.docutils th { table.docutils td, table.docutils th {
margin: 2px; padding: 0 8px 2px 0;
border-top: 0; border-top: 0;
border-left: 0; border-left: 0;
border-right: 0; border-right: 0;

View File

@@ -483,12 +483,27 @@ p.rubric {
font-weight: bold; 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 */ /* Admonitions */
div.admonition { div.admonition {
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
padding: 10px 10px 0px 10px; padding: 7px;
} }
div.admonition dt { div.admonition dt {
@@ -499,6 +514,14 @@ div.admonition dd {
margin-bottom: 10px; margin-bottom: 10px;
} }
div.admonition dl {
margin-bottom: 0;
}
div.admonition p {
display: inline;
}
div.seealso { div.seealso {
background-color: #ffc; background-color: #ffc;
border: 1px solid #ff6; border: 1px solid #ff6;
@@ -515,9 +538,13 @@ div.note {
} }
p.admonition-title { p.admonition-title {
margin: 0px 0px 5px 0px; margin: 0px 10px 5px 0px;
font-weight: bold; font-weight: bold;
font-size: 1.1em; display: inline;
}
p.admonition-title:after {
content: ":";
} }
table.docutils { table.docutils {
@@ -525,7 +552,7 @@ table.docutils {
} }
table.docutils td, table.docutils th { table.docutils td, table.docutils th {
margin: 2px; padding: 0 8px 2px 0;
border-top: 0; border-top: 0;
border-left: 0; border-left: 0;
border-right: 0; border-right: 0;