Files
pybricks-api/doc/common/_static/css/ide.css
T
David Lechner 3418c8320c doc/common/css/ide: improve styling of field list
The default style of using a grid with two columns wastes space when
displayed in a narrow pane, like in Pybricks Code. Using flex with
column direction makes it flow from top to bottom.

Fixes: https://github.com/pybricks/support/issues/832
2022-12-07 20:21:47 +01:00

51 lines
1001 B
CSS

/* These styles only apply to the ide build */
.wy-breadcrumbs li.wy-breadcrumbs-aside {
display: none;
}
/* Scrollbar styling to match Pybricks Code. */
/* https://github.com/pybricks/pybricks-code/blob/master/src/index.scss */
::-webkit-scrollbar {
width: 16px;
}
.bp3-dark ::-webkit-scrollbar-track {
background: #293742;
}
::-webkit-scrollbar-track {
background: #e8e8e8;
}
.bp3-dark ::-webkit-scrollbar-thumb {
border-color: #293742;
background: #a7b6c2;
}
::-webkit-scrollbar-thumb {
border-width: 3px;
border-style: solid;
border-radius: 8px;
border-color: #e8e8e8;
background: #5c7080;
}
.bp3-dark ::-webkit-scrollbar-thumb:hover {
background: #f5f8fa;
}
::-webkit-scrollbar-thumb:hover {
background: #182026;
}
html.writer-html5 .rst-content dl.citation,
html.writer-html5 .rst-content dl.field-list,
html.writer-html5 .rst-content dl.footnote {
display: flex;
flex-direction: column;
grid-template-columns: unset;
}