hugo-theme-paradox/assets/styles/features/search.scss
2022-10-16 18:04:05 -05:00

64 lines
1 KiB
SCSS

.search-results__title {
display: block;
font-size: 2em;
line-height: 1;
margin-bottom: 1em;
}
.search-results strong {
font-weight: 900;
background: var(--primary-accent-transparent);
color: var(--ui-text-bold);
}
#search-results {
display: flex;
flex-flow: column;
max-width: 80ch;
}
#search-results li:not(:first-child) {
border-top: 1px solid var(--ui-text-muted);
}
#search-results li {
padding: 1em 0;
}
.search-result-page-title {
font-size: 1.25em;
display: block;
margin-bottom: 1rem;
}
.search-result-item p {
line-height: 1.5;
}
#search-form {
display: flex;
justify-content: center;
align-items: center;
max-width: 100%;
}
#search-input {
background: var(--ui-overlay);
color: var(--ui-overlay-text);
border-radius: 100rem;
border: 0;
padding: 0.5rem 1rem;
margin-right: 0.5rem;
flex-shrink: 1;
height: 2rem;
box-sizing: border-box;
}
#search-submit {
padding: 0.5rem 1rem;
border: 0;
background: var(--primary-accent);
color: var(--primary-accent-text);
border-radius: 4px;
height: 2rem;
}