Files
pybricks-api/doc/common/_static/css/theme_overrides.css
T

81 lines
1.8 KiB
CSS

div.disclaimer {
margin-top: 12px;
font-size: 10px;
font-style: italic;
}
div.figure p.caption {
padding-top: 0.8em;
}
span.caption-number:after {
content: ": ";
}
/*
Make the rubric look like the H3 header.
This way, we can add headings to organize classes
with many methods, without affecting how the methods
and attributes look or how they are indented.
*/
.rst-content p.rubric {
font-size: 20px;
font-weight: 700;
color: #404040;
font-family: "Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;
margin-bottom: 24px !important;
}
/* The following CSS from https://github.com/ulrobix/sphinxcontrib-contentui
which is available under the MIT License.
*/
ul.contenttab-selector {
display:block;
list-style-type: none;
margin: 0 0 10px;
padding: 0;
line-height: normal;
overflow: auto;
}
ul.contenttab-selector li {
display: block;
cursor: pointer;
font-weight: bold;
margin: 0 5px 0 0;
padding: 5px 10px;
float: left;
background-color: #999;
color: #fff;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-khtml-border-radius: 5px;
}
.rst-content .section ul.contenttab-selector,
.rst-content .toctree-wrapper ul.contenttab-selector,
article ul.contenttab-selector{
line-height: normal;
margin: 0 0 10px;
}
.rst-content .section ul.contenttab-selector li,
.rst-content .toctree-wrapper ul.contenttab-selector li,
article ul.contenttab-selector li{
margin-left: 0;
}
ul.contenttab-selector li:hover {
background-color: #777;
}
ul.contenttab-selector li.selected {
background-color: #2980b9;
}
ul.contenttab-selector li.selected:hover {
background-color: #333;
}
.content-tabs {
margin: 10px 0 20px 0;
}
.tab-content {
clear: both;
}