mirror of
https://github.com/trwnh/hugo-theme-paradox.git
synced 2024-11-15 07:41:21 +00:00
79 lines
1.7 KiB
SCSS
79 lines
1.7 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);
|
|
transition:
|
|
background var(--color-crossfade-duration) var(--color-crossfade-ease),
|
|
color var(--color-crossfade-duration) var(--color-crossfade-ease);
|
|
}
|
|
|
|
#search-results {
|
|
display: flex;
|
|
flex-flow: column;
|
|
max-width: 80ch;
|
|
}
|
|
|
|
#search-results li:not(:first-child) {
|
|
border-top: 1px solid;
|
|
border-color: var(--ui-text-muted);
|
|
transition:
|
|
border-color var(--color-crossfade-duration) var(--color-crossfade-ease);
|
|
}
|
|
|
|
#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);
|
|
transition:
|
|
background var(--color-crossfade-duration) var(--color-crossfade-ease),
|
|
color var(--color-crossfade-duration) var(--color-crossfade-ease);
|
|
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;
|
|
width: 100%;
|
|
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);
|
|
transition:
|
|
background var(--color-crossfade-duration) var(--color-crossfade-ease),
|
|
color var(--color-crossfade-duration) var(--color-crossfade-ease);
|
|
border-radius: 4px;
|
|
height: 2rem;
|
|
filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.15));
|
|
} |