Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update searchbar colors #863

Merged
merged 2 commits into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/web/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ const config = {
apiKey: "ac51a5b25842fad8a3a7b1f384496bf9",

indexName: "mephisto",
contextualSearch: false,
searchPagePath: false,
},
navbar: {
Expand Down
18 changes: 8 additions & 10 deletions docs/web/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
--mephisto-alt-purple: #f0ebf5;
--mephisto-alt-orange: #fbd6b7;
--mephisto-alt-yellow: #ffde89;
--docsearch-primary-color: var(--ifm-color-primary-darkest) !important;
--docsearch-logo-color: var(--ifm-color-primary) !important;
}

.docusaurus-highlight-code-line {
Expand Down Expand Up @@ -116,17 +118,13 @@ h6 {
}

@media (max-width: 750px) {
.DocSearch-Container {
position: fixed !important;
}
.DocSearch-Modal {
margin: 60px 0 !important;
}
}

/*
This hides the text that allows you to see all results
As of now when you try to see all results it takes you to a separate page
This page has a searchbar, but no options show.
That is why it is being hidden.
*/
.DocSearch-HitsFooter {
display: none !important;
.DocSearch-Dropdown {
padding-bottom: 20px !important;
}
}