Add search support

This commit is contained in:
Sodbileg Gansukh
2022-07-10 15:24:22 +08:00
parent 3e7ca9cb36
commit eff8d360ba
5 changed files with 34 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -413,6 +413,36 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
}
/* Search
/* ---------------------------------------------------------- */
.gh-search {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
padding: 0;
cursor: pointer;
background-color: transparent;
border: 0;
outline: none;
}
.gh-search:hover {
opacity: 0.9;
}
@media (max-width: 991px) {
.gh-search {
position: fixed;
top: 16px;
left: 16px;
z-index: 10;
}
}
/* Mobile Menu Trigger
/* ---------------------------------------------------------- */