mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
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.
This commit is contained in:
@@ -25,3 +25,14 @@ span.caption-number:after {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user