trwnh.com/profile.test.hugo/assets/styles/features/search.scss
2024-09-29 20:32:51 -05:00

66 lines
No EOL
1.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);
filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.15));
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;
filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.15));
}