diff --git a/docs/website/src/css/custom.css b/docs/website/src/css/custom.css index b418bb8ef6..07498dde90 100644 --- a/docs/website/src/css/custom.css +++ b/docs/website/src/css/custom.css @@ -7,38 +7,13 @@ /* You can override the default Infima variables here. */ :root { - - /* --ifm-navbar-background-color: #F7F9FC; */ - /* --ifm-background-color: #F7F9FC; */ - --ifm-color-primary: #4C4898; - /* --ifm-link-color: #191937; */ - --ifm-link-color: #4C4898; - - /* --ifm-color-primary-dark: #191937; */ - /* --ifm-color-primary-darker: #191937; */ - /* --ifm-color-primary-darkest: #191937; */ - /* --ifm-color-primary-light:#4c4898; */ - /* --ifm-color-primary: #191937; */ - /* --ifm-code-font-size: 95%; */ - /* --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); */ - /* --ifm-heading-color: #4C4898; */ - /* --ifm-font-color-base: #4C4898; */ - /* --ifm-gradient: transparent; */ --ifm-menu-color: #191937; - --ifm-menu-color-active: #4C4898; - /* --ifm-menu-link-padding-horizontal: 0.35rem; */ --docsearch-searchbox-background: #191937 !important; --docsearch-text-color: #ffffff !important; --docsearch-searchbox-focus-background: #191937 !important; - /* --ifm-color-content-secondary: #4c4898; */ - /* --ifm-navbar-link-hover-color:#4c4898; */ - /* --ifm-navbar-link-color:#191937; */ - /* --ifm-toc-link-color: #191937; */ - /* --ifm-active-toc-link-color:#4C4898; */ - /* --docsearch-highlight-color:#191937 !important; */ - /* --docsearch-hit-color: #191937 !important; */ - /* --ifm-footer-background-color: #E4E8F0; */ + --docsearch-highlight-color:#191937 !important; + --docsearch-hit-color: #191937 !important; --doc-sidebar-width: 340px !important; } @@ -47,18 +22,13 @@ --ifm-color-primary: #C6D300; --ifm-background-color: #191937 !important; --ifm-navbar-background-color: #191937; - /* --ifm-link-color: #f3ff36; */ --ifm-link-color: var(--ifm-color-primary); --ifm-background-color: #F7F9FC; - /* --ifm-link-hover-color: var(--ifm-color-primary); - --ifm-link-decoration: underline; - --ifm-link-hover-decoration: none; */ --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); --ifm-font-color-base: #F7F9FC; --ifm-gradient: transparent; --ifm-menu-color: #FFFFFF; --ifm-menu-color-active: var(--ifm-color-primary); - --ifm-menu-color: #dadde1; --ifm-heading-color: #F7F9FC; --docsearch-searchbox-background: #ffffff !important; --docsearch-text-color: #191937 !important; @@ -82,19 +52,6 @@ --ifm-color-warning-contrast-background: #584128 !important; } -/* .navbar a{ - font-family: 'Roboto Mono', monospace; -} -.navbar__link:hover, .navbar__link--active { - font-weight: 700; -} */ - - -/* .menu__link { - font-family: 'Roboto Mono', monospace; - font-size: 15px; -} */ - .menu__link.menu__link--active, .menu__link, .menu__list-item-collapsible { @@ -113,19 +70,6 @@ color: var(--ifm-menu-color-active); } -/* .sidebarItemLink_node_modules-\@docusaurus-theme-classic-lib-theme-BlogSidebar-Desktop-styles-module:hover { - color: #4C4898 !important; -} -.sidebarItemLink_node_modules-\@docusaurus-theme-classic-lib-theme-BlogSidebar-Desktop-styles-module.sidebarItemLinkActive_node_modules-\@docusaurus-theme-classic-lib-theme-BlogSidebar-Desktop-styles-module{ - color: #4C4898 !important; -} - - .sidebarItemLink_node_modules-\@docusaurus-theme-classic-lib-theme-BlogSidebar-Desktop-styles-module { - color: #191937 !important; -} */ - - - html[data-theme='dark'] .DocSearch-Hit[aria-selected=true] a { background: var(--ifm-color-primary); color: #191937 !important; @@ -139,42 +83,17 @@ html[data-theme='dark'] .prism-code { background-color: #111127 !important; } -/* code-block-css */ -/* code { - color: #eb5963 !important; -} - -.token.builtin.class-name { - color: #eb5963 -} */ -/* -pre code { - background-color: #4C4898; - font-family: 'Roboto Mono', monospace !important; -} */ -/* -.token.plain { - color: #ffffff -} */ -/* -time{ - color: var(--ifm-toc-link-color); +/* Body link styles */ +html[data-theme='dark'] .markdown a { + color: #ffffff; + text-decoration: underline; } -.token.keyword { - font-style: normal !important; - color: #f3ff36 !important +html[data-theme='dark'] .markdown a:hover { + color: var(--ifm-link-color); + text-decoration: underline; } -.token.comment { - color: #8e92af !important; -} */ - -/* code-block-css */ -/* .theme-doc-sidebar-container { - background: var(--ifm-gradient); -} */ - .footer__title { color: #191937; } @@ -183,11 +102,6 @@ time{ color: #191937; } -/* .pagination-nav__label { - font-size: 11px; -} */ - - .details_node_modules-\@docusaurus-theme-classic-lib-theme-Details-styles-module { background: #59c1d5; color: #191937; @@ -244,67 +158,12 @@ html[data-theme='dark'] .footer--dark { font-style: normal; } -/* .table-of-contents__link:hover, -.table-of-contents__link:hover code, -.table-of-contents__link--active, -.table-of-contents__link--active code { - color: var( --ifm-active-toc-link-color); - text-decoration: none; -} */ - -/* .examples-link { - font-family: 'Karla', sans-serif !important; - background: var(--ifm-color-primary); - border-radius: 8px; - color: #fff; - margin-right: 2px; - margin-left: 10px; - padding: 6px 10px 6px 10px; - display: flex; -} - - - -html[data-theme='dark'] .examples-link:hover { - color: #191937; -} */ - -/* -.theme-admonition.theme-admonition-tip.alert svg path{ - fill: #191937; -} - -.theme-admonition-tip a { - color: #191937 !important; -} */ - - -/* .container{ - padding: 0 !important; -} */ - -/* .examples-link:hover { - background: var(--ifm-color-primary-light); - color: #fff; -} */ - -/* .col--3 { - background: var(--ifm-gradient); - position: relative; - top: 2rem; - margin-top: -50px; -} - -.blog-list-page .col--3 { - margin-top: -65px; -} */ .DocSearch-Form { border-radius: 28px !important; } - .DocSearch-Reset svg path { stroke: #ffffff; } @@ -387,24 +246,6 @@ html[data-theme='dark'] .github-navbar:after { background: url("../../static/img/GithubLight.svg") no-repeat; } -/* .theme-edit-this-page>svg { - display: none; -} - */ -/* .theme-edit-this-page { - padding-left: 20px; -} */ - -/* .theme-edit-this-page::before { - content: ''; - width: 20px; - height: 20px; - display: flex; - background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat; - position: relative; - left: -5px; - top: 2px; -} */ html[data-theme='dark'] .theme-edit-this-page::before { background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat; @@ -464,18 +305,6 @@ html[data-theme='dark'] .slack-navbar::after { } -/* tip-block-css start*/ -/* .theme-admonition-tip { - background: #f6b7b3; - border-color: #EE746D; - color: #191937; -} - -.theme-admonition-tip a { - text-decoration-color: #191937; -} */ - -/* tip-block-css end*/ .theme-doc-sidebar-menu.menu__list>li>a::before, .theme-doc-sidebar-menu.menu__list>li>div>a::before { content: ""; @@ -1009,7 +838,3 @@ and (max-height : 850px) { /* continue modal css :end */ - -/* .container a { - text-decoration: var(--ifm-link-hover-decoration); -} */