Files
pybricks-api/doc/common/_static/css/theme_overrides.css
T
Laurens Valk 5991fb544b config: fix contentui css
The contentui sets the page with to be infinite in order to add a second column.

We do not use this feature, so we set the width back to normal.  Also make sure our theme_overrides are last in conf.py to make sure they override the contentui css.
2020-01-13 14:44:11 +01:00

39 lines
859 B
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;
}
/*
sphinx-contrib contentui sets max-width to none,
giving a very wide page which makes text hard to
read. This sets it to a finite value.
*/
@media screen and (min-width: 1300px) {
.wy-nav-content {
max-width: 800px;
}
}