doc/ide: styling to match Pybricks Code

We were injecting this from Pybricks code, but it caused the scroll bars
to flash when loading a page.
This commit is contained in:
David Lechner
2021-01-28 12:31:19 -06:00
parent 2a1640f7dc
commit 8a5e5c3fb4
+36
View File
@@ -4,3 +4,39 @@
.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;
}