From 56a6240bf700ac307342ed494d8bfbabe5c822dc Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Wed, 19 Apr 2023 17:50:02 +0800 Subject: ✨docs init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/assets/css/main.css | 86 ------------------------------------------------ 1 file changed, 86 deletions(-) delete mode 100644 docs/assets/css/main.css (limited to 'docs/assets') diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css deleted file mode 100644 index 00b6a16..0000000 --- a/docs/assets/css/main.css +++ /dev/null @@ -1,86 +0,0 @@ -/* Base */ - -:root { - /* DocSearch */ - --docsearch-primary-color: $dt('color.primary.500') !important; -} - -.dark:root { - color-scheme: dark; - /* DocSearch */ - --docsearch-primary-color: $dt('color.primary.500') !important; - --docsearch-text-color: rgb(245, 246, 247); - --docsearch-container-background: rgba(9, 10, 17, 0.8); - --docsearch-modal-background: rgb(21, 23, 42); - --docsearch-modal-shadow: inset 1px 1px 0 0 rgb(44, 46, 64), - 0 3px 8px 0 rgb(0, 3, 9); - --docsearch-searchbox-background: rgb(9, 10, 17); - --docsearch-searchbox-focus-background: #000; - --docsearch-hit-color: rgb(190, 195, 201); - --docsearch-hit-shadow: none; - --docsearch-hit-background: rgb(9, 10, 17); - --docsearch-key-gradient: linear-gradient( - -26.5deg, - rgb(86, 88, 114) 0%, - rgb(49, 53, 91) 100% - ); - --docsearch-key-shadow: inset 0 -2px 0 0 rgb(40, 45, 85), - inset 0 0 1px 1px rgb(81, 87, 125), 0 2px 2px 0 rgba(3, 4, 9, 0.3); - --docsearch-footer-background: rgb(30, 33, 54); - --docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5), - 0 -4px 8px 0 rgba(0, 0, 0, 0.2); - --docsearch-logo-color: rgb(255, 255, 255); - --docsearch-muted-color: rgb(127, 132, 151); -} -.DocSearch-Input:focus { - box-shadow: none !important; -} - -body { - overflow-y: scroll; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - background-color: $dt('docus.body.backgroundColor'); - color: $dt('docus.body.color'); - font-family: $dt('docus.body.fontFamily'); - min-width: $dt('size.xs'); -} - -.docus-scrollbars { - & ::-webkit-scrollbar { - width: 0.6em; - height: 0.6em; - background: transparent; - } - - & ::-webkit-scrollbar-track { - background: $dt('color.gray.100'); - } - - & ::-webkit-scrollbar-thumb { - border-radius: 0.6em; - background: $dt('color.gray.300'); - &:hover { - background: $dt('color.gray.400'); - } - &:active { - background: $dt('color.gray.500'); - } - } - - &.dark { - & ::-webkit-scrollbar-track { - background: $dt('color.gray.800'); - } - - & ::-webkit-scrollbar-thumb { - background: $dt('color.gray.700'); - &:hover { - background: $dt('color.gray.600'); - } - &:active { - background: $dt('color.gray.500'); - } - } - } -} -- cgit v1.2.3-70-g09d2