Documentation: Prettify warning/note boxes, class headers
Sphinx 1.3 includes class constructor's signature in the class header; reduced font size slightly to accommodate this change.
This commit is contained in:
parent
c3b9a5b18f
commit
8f68e52ecc
|
@ -325,7 +325,7 @@ cite, code, tt {
|
|||
code, tt {
|
||||
background-color: rgb(51,51,51); /*#f2f2f2*/
|
||||
border: 1px solid rgb(32,32,32); /*#ddd*/
|
||||
border-radius: 2px;
|
||||
border-radius: 3px;
|
||||
color: white; /*#333*/
|
||||
padding: 1px;
|
||||
}
|
||||
|
@ -406,8 +406,8 @@ table td, table th {
|
|||
div.admonition, div.warning {
|
||||
font-size: 0.9em;
|
||||
margin: 1em 0 1em 0;
|
||||
border: 1px solid rgb(32,32,32); /*#86989B*/
|
||||
border-radius: 2px;
|
||||
border: 1px dashed rgb(32,32,32); /*#86989B*/
|
||||
border-radius: 12px;
|
||||
background-color: rgb(51,51,51); /*#f7f7f7*/
|
||||
padding: 0;
|
||||
}
|
||||
|
@ -429,7 +429,7 @@ div.warning p.admonition-title {
|
|||
}
|
||||
|
||||
div.warning {
|
||||
border: 1px solid rgb(101,16,16); /*#940000*/
|
||||
border-color: rgb(101,16,16); /*#940000*/
|
||||
background-color: rgb(101,51,51); /*#FFCCCF*/
|
||||
}
|
||||
|
||||
|
@ -506,11 +506,15 @@ dl.class {
|
|||
}
|
||||
|
||||
dl.class > dt {
|
||||
font-size: 20px;
|
||||
font-size: 1.2em;
|
||||
background-color: #333;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
dl.class > dt em {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
dl.class dt{
|
||||
border-bottom: 1px solid #333;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue