layout | title |
---|---|
page |
Search |
${formattedDate}
${components.Snippet({ hit, attribute: 'content' })}
`;
},
},
})
]);
search.start();
</script>
<style>
.ais-SearchBox-input {
width: 100%;
font-size: 20px;
padding: 10px;
border-radius: 7px;
border: 1px solid #aaa;
appearance: none;
}
.ais-SearchBox-input:focus {
outline: 0;
}
.ais-SearchBox-reset {
margin-left: -27px;
}
.ais-SearchBox-reset svg {
display: block;
fill: #aaa;
width: 15px;
height: 15px;
}
#search-powered-by {
margin-top: 0.3em;
margin-bottom: 2em;
}
.ais-PoweredBy-link {
margin-left: auto;
font-size: 0.8em;
}
</style>