-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: restore docusaurus style (#2152)
Co-authored-by: Henry <150573299+hieu-jan@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
24 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,53 @@ | ||
// * Classname from Docusaurus template | ||
// * We just overide the styling with applied class from tailwind | ||
|
||
[class*="docSidebarContainer_"] { | ||
[class*='docSidebarContainer_'] { | ||
margin-top: 0 !important; | ||
@apply dark:border-gray-800 border-gray-300; | ||
} | ||
|
||
[class*="sidebar_"] { | ||
[class*='sidebar_'] { | ||
padding-top: 0px !important; | ||
} | ||
|
||
.navbar-sidebar__back { | ||
padding-top: 20px !important; | ||
} | ||
|
||
[class*="sidebarViewport_"] { | ||
[class*='sidebarViewport_'] { | ||
top: 80px !important; | ||
// height: unset !important; | ||
} | ||
|
||
[class*="docItemCol_"] { | ||
[class*='docItemCol_'] { | ||
@apply lg:px-8; | ||
} | ||
|
||
// * Including custom sidebar table of content | ||
.table-of-contents { | ||
@apply text-base py-0 dark:border-gray-800 border-gray-300; | ||
@apply text-sm py-0 dark:border-gray-800 border-gray-300; | ||
} | ||
|
||
.menu__caret:before { | ||
background: var(--ifm-menu-link-sublist-icon) 50% / 1.5rem 1.5rem; | ||
} | ||
|
||
[class*="codeBlockContainer_"] { | ||
[class*='codeBlockContainer_'] { | ||
margin: 4px; | ||
} | ||
|
||
[class*="codeBlockTitle_"] { | ||
[class*='codeBlockTitle_'] { | ||
border-bottom: 1px solid #52525a !important; | ||
} | ||
|
||
[class*="iconExternalLink_"] { | ||
[class*='iconExternalLink_'] { | ||
display: none; | ||
} | ||
|
||
[class*='docMainContainer'] { | ||
@media (min-width: 1440px) { | ||
.container { | ||
max-width: var(--ifm-container-width-xl); | ||
} | ||
} | ||
} |