docusaurus/packages/docusaurus-plugin-content-docs/src/theme/DocItem/styles.module.css

30 lines
582 B
CSS

/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.docBody {
min-height: calc(100vh - 50px);
}
.container {
padding-top: 2rem !important;
}
@media (min-width: 996px) {
.container {
padding-left: 2rem;
}
}
@media only screen and (min-width: 996px) {
.tableOfContents {
max-height: calc(100vh - (var(--ifm-navbar-height) + 2rem));
overflow-y: auto;
position: sticky;
top: calc(var(--ifm-navbar-height) + 2rem);
}
}