jan/docs/src/styles/tweaks.scss
2023-12-06 13:10:39 +07:00

95 lines
1.3 KiB
SCSS

.redocusaurus {
div[data-section-id] {
min-height: auto;
}
}
[class*="docItemCol_"] {
@apply p-4 lg:px-16 lg:py-4;
}
[class*="breadcrumbsContainer_"] {
margin-bottom: 40px !important;
}
.theme-doc-footer {
margin-top: 40px;
margin-bottom: 20px;
}
.menu.thin-scrollbar {
padding: 32px 10px;
}
[class*="iconExternalLink_"] {
display: none;
}
.breadcrumbs__item {
position: relative;
&:first-child {
.breadcrumbs__link {
vertical-align: middle;
margin-top: -2px;
}
}
}
[class*="docMainContainer_"],
[class*="docSidebarContainer_"] {
@apply bg-gray-50 dark:bg-gray-950/95;
}
.navbar-sidebar {
@apply bg-gray-50 dark:bg-gray-900;
}
.theme-doc-sidebar-container {
@apply border-gray-200 dark:border-gray-800;
}
.theme-doc-markdown {
a {
@apply text-blue-600 dark:text-blue-400;
}
ul {
list-style: revert;
}
ol {
list-style: decimal;
}
ul,
ol {
padding-left: 32px;
li {
@apply leading-loose;
line-height: 1.5;
}
+ div {
margin-top: 12px;
}
}
}
.markdown h1:first-child,
.markdown > p {
margin-bottom: 16px;
}
.theme-code-block {
font-size: 14px;
background-color: black;
}
.table-of-contents {
font-size: 14px;
}
.task-list-item {
list-style: none;
}
blockquote {
margin-bottom: 12px;
}