mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 18:20:55 +00:00
61 lines
No EOL
1.3 KiB
HTML
61 lines
No EOL
1.3 KiB
HTML
<style>
|
|
#search-input {
|
|
width: 100%;
|
|
border: 1px solid #B3B3B3;
|
|
border-radius: 3px;
|
|
padding: 5px;
|
|
}
|
|
|
|
#search-input:focus {
|
|
border-color: #F04A9C;
|
|
}
|
|
|
|
/* Search result wrapper */
|
|
.algolia-autocomplete {
|
|
width: 100%;
|
|
}
|
|
|
|
/* List of search results */
|
|
.aa-dropdown-menu {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
background-color: #FFFFFF;
|
|
border: 1px solid #B3B3B3;
|
|
padding: 0;
|
|
font-size: 16px;
|
|
margin: 4 0 4 0;
|
|
}
|
|
|
|
/* Highlight terms in search result headers */
|
|
.algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight {
|
|
background-color: #F04A9C;
|
|
}
|
|
|
|
/* Highlight terms in search result body */
|
|
.algolia-docsearch-suggestion--highlight {
|
|
color: #F04A9C;
|
|
font-weight: 900;
|
|
}
|
|
|
|
/* Currently selected search result */
|
|
.aa-cursor .algolia-docsearch-suggestion--content {
|
|
color: inherit;
|
|
}
|
|
|
|
.aa-cursor .algolia-docsearch-suggestion {
|
|
background: #EFEFEF;
|
|
color: #353B44;
|
|
}
|
|
|
|
.algolia-docsearch-suggestion {
|
|
font-size: 16px;
|
|
color: #9AA2AB;
|
|
}
|
|
|
|
.algolia-docsearch-suggestion--category-header,
|
|
.algolia-docsearch-suggestion--subcategory-column {
|
|
display: none !important;
|
|
}
|
|
</style>
|
|
|
|
<input type="search" id="search-input" placeholder="Search..."> |