From 8a7e45d6c61b1ff0e373ac84051a11a913c48ee8 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Tue, 26 Sep 2023 14:20:05 +0200 Subject: [PATCH] docs: New default color (#1857) * docs: New default color * fix: Adjust codeblocks * highlight color --- docs/src/css/custom.css | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index cd604c3..afa8130 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -7,14 +7,10 @@ /* You can override the default Infima variables here. */ :root { - --ifm-color-primary: rgb(131, 141, 129); - --ifm-color-primary-dark: rgb(95, 102, 96); - --ifm-color-primary-darker: rgb(85, 91, 87); - --ifm-color-primary-darkest: rgb(63, 72, 67); - --ifm-color-primary-light: rgb(153, 163, 149); - --ifm-color-primary-lighter: rgb(156, 180, 173); - --ifm-color-primary-lightest: rgb(195, 207, 204); + --ifm-color-primary: rgb(132, 170, 124); + --ifm-link-color: rgb(62, 166, 41); --ifm-code-font-size: 95%; + --highlight-color: rgb(118, 228, 97); } .docusaurus-highlight-code-line { @@ -55,3 +51,13 @@ img { text-align: center; } } + +code { + border-width: 0; + padding-left: 3px; + padding-right: 3px; +} +a:hover { + text-decoration: none; + color: var(--highlight-color); +}