diff --git a/_config.yml b/_config.yml index 8e758f69047..f23e43763f3 100644 --- a/_config.yml +++ b/_config.yml @@ -84,7 +84,7 @@ collections: #Search algolia: - api_key: "ae96d94b201c5444c8a443093edf3efb" + api_key: "ba6f7e6d97b3d3d2f778978c742a47c6" # Twitter twitter_user: balloob diff --git a/sass/custom/_paulus.scss b/sass/custom/_paulus.scss index 5b2958aa176..e273a58769a 100644 --- a/sass/custom/_paulus.scss +++ b/sass/custom/_paulus.scss @@ -12,33 +12,27 @@ $primary-color: #1abcf2; } } -.search-container { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: white; - padding-top: 19px; - padding-right: 15%; - - .search { - max-width: 500px; - width: 100%; - border-bottom: 2px solid $primary-color; - float: right; - - .algolia-autocomplete { - width: calc(100% - 64px); - margin: 0 10px; - } - - input { - border: 0; - width: 100%; - outline: none; +.docsearch { + .DocSearch-Button { + padding: 0px; + margin-top: 16px; + margin-left: 0px; + margin-right: 0px; + background: none; + &:hover { + box-shadow: none; } } + .DocSearch-Button-Placeholder { + display: none; + } + .DocSearch-Button-Keys { + display: none; + } + .DocSearch-Search-Icon { + margin-right: 8px; + color: $primary-color; + } } .integration-alert-container { @@ -75,12 +69,6 @@ a.integration-alert { } @media only screen and (max-width: $menu-collapse) { - .search-container { - z-index: 20; - padding-right: 5px; - padding-left: 5px; - } - .feedback { margin-bottom: 32px; } @@ -895,6 +883,12 @@ code { .search404-container { margin-bottom: 32px; + display: grid; + + #search404 { + display: flex; + justify-self: center; + } } } } @@ -908,9 +902,11 @@ code { .search404-container { margin-bottom: 32px; + display: grid; #search404 { - width: 420px; + display: flex; + justify-self: center; } } } diff --git a/source/404.html b/source/404.html index 2be0d311b63..d9c9f946a9b 100644 --- a/source/404.html +++ b/source/404.html @@ -8,24 +8,15 @@ body_id: not_found