mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 09:05:07 +00:00
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
51 lines
1001 B
CSS
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;
|
|
}
|