Customize API look, up sphinx version

This commit is contained in:
Griatch 2020-06-18 23:30:11 +02:00
parent c9e9ce2f54
commit 1bf6b1672d
282 changed files with 2021 additions and 2836 deletions

View file

@ -569,7 +569,7 @@ dd {
}
dt:target, span.highlighted {
background-color: #fbe54e;
background-color: #fffbde;
}
rect.highlighted {
@ -704,7 +704,7 @@ div.literal-block-wrapper div.highlight {
code.descname {
background-color: transparent;
font-weight: bold;
font-size: 1.2em;
font-size: 0.9em;
}
code.descclassname {

View file

@ -297,7 +297,7 @@ code {
}
div.viewcode-block:target {
background-color: #f4debf;
background-color: #f4e9d9;
border-top: 1px solid #ac9;
border-bottom: 1px solid #ac9;
}
@ -328,3 +328,49 @@ div.code-block-caption {
.deprecated {
background-color: #fff3f3;
}
/* API-docs custom coloring */
.class {
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
font-size: 0.9em;
background-color: #f5ffff;
padding: 5px;
}
.method {
background-color: #e3ecec;
padding: 5px;
font-size: 1.0em;
}
.sig-param {
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
}
.property {
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
}
dl.class > dd > p {
font-style: italic;
}
dl.method > dd > p {
font-style: italic;
}
code.descname {
font-size: 0.9em;
}
.function {
background-color: #eff;
padding: 5px;
}
.exception {
background-color: #fff9f9;
padding: 5px;
}