docs: improve search styling

This commit is contained in:
Philipp Kühn
2021-04-20 11:43:37 +02:00
parent 6a188d4055
commit 6a03ed217c
3 changed files with 28 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
:root {
--docsearch-primary-color: #{$colorBlack};
--docsearch-logo-color: #{rgba($colorBlack, 0.3)};
--docsearch-container-background: #{rgba($colorBlack, 0.7)};
}
*,
*::before,
*::after {
@@ -91,11 +97,6 @@ code {
color: white;
}
.DocSearch,
.DocSearch-Container {
filter: saturate(0);
}
.DocSearch-Container {
position: fixed !important;
height: 100vh !important;