1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
/* Some custom CSS for Simpetus docs */
/* Indent the class docstring */
.class_docstring {
/* margin-left: 25px; */
margin-left: 25px;
}
/* And the members of the class (the methods) */
.class_members {
/* margin-left: 25px; */
margin-left: 0px;
}
/* Tweak the style of the code blocks inside of class docstrings */
.class_docstring code.python.hljs {
border: none;
background-color: #f0f0f8;
}
/* Indent the method docstrings a little more */
.method_docstring {
/* margin-left: 35px; */
margin-left: 25px;
}
/* code blocks inside of method docstrings */
.method_docstring code.python.hljs {
border: none;
background-color: #f0f0f8;
}
/* And similar settings for top-level functions */
.function_docstring {
/* margin-left: 35px; */
margin-left: 25px;
}
.function_docstring code.python.hljs {
border: none;
background-color: #f0f0f8;
}
/* Turn off the ugly boxes around inline code in paragraphs and in list items */
p code, li code, .rst-content code {
border: none;
font-size: 75%;
padding: 0 2px;
}
/* Turn the border back on for code blocks */
pre code.python {
border: solid 1px #e1e4e5;
font-size: 70%;
}
/* Align images in MarkDown without eTML or extensions
* https://msudol.com/how-to-align-images-in-markdown-without-html-or-extensions/
*/
img[src*='#left'] {
float: left;
}
img[src*='#right'] {
float: right;
}
img[src*='#center'] {
display: block;
margin: auto;
}
|