mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update traditional stylesheet, fix a markup glitch.
This commit is contained in:
@@ -298,13 +298,13 @@ available. They are listed here in alphabetical order.
|
||||
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.
|
||||
|
||||
|
||||
@@ -297,13 +297,13 @@ available. They are listed here in alphabetical order.
|
||||
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.
|
||||
|
||||
|
||||
@@ -268,6 +268,7 @@ div.inlinecomments div.comments {
|
||||
|
||||
div#comments {
|
||||
border: 1px solid #2eabb0;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
div#comments div.nocomments {
|
||||
@@ -577,6 +578,21 @@ p.rubric {
|
||||
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 @@ p.admonition-title {
|
||||
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;
|
||||
|
||||
@@ -483,12 +483,27 @@ p.rubric {
|
||||
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 @@ div.admonition dd {
|
||||
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 @@ div.note {
|
||||
}
|
||||
|
||||
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 {
|
||||
}
|
||||
|
||||
table.docutils td, table.docutils th {
|
||||
margin: 2px;
|
||||
padding: 0 8px 2px 0;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
|
||||
Reference in New Issue
Block a user