diff options
| author | Jieiku | 2023-05-22 23:12:14 -0700 |
|---|---|---|
| committer | Jieiku | 2023-05-22 23:12:14 -0700 |
| commit | f81a42045e29cc396af78b5d87ead874ba26fa18 (patch) | |
| tree | 6d73c8fcad4da03d2e8d5d7485079a38adc83a8e /sass/include/_search.scss | |
| parent | 9543caf10ffdbcc2cea462a8bcb64cee29d406d5 (diff) | |
| download | abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.tar.gz abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.tar.bz2 abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.zip | |
All Variables Easy Override
Diffstat (limited to 'sass/include/_search.scss')
| -rw-r--r-- | sass/include/_search.scss | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/sass/include/_search.scss b/sass/include/_search.scss deleted file mode 100644 index c0e3a8d..0000000 --- a/sass/include/_search.scss +++ /dev/null @@ -1,78 +0,0 @@ -/** - * Search - Zola Search - elasticlunr site-wide search - */ -@use "../variables" as variables; - -div:empty { - display: none; -} -.stork-close-button { - display: none; -} -.stork-title p { - color: var(--a1); - font-weight: var(--fh); -} -#suggestions { - z-index: 9; - background: var(--c1); - border: 2px solid var(--c3); - position: absolute; - right: 0; - margin-top: var(--s1); - width: 500px; - max-height: 500px; - overflow: auto; -} -#suggestions a, #results a { - display: block; - text-decoration: none; - padding: var(--s1); - margin: 0 var(--s1); -} -#suggestions a:hover, -#suggestions a:focus, -#results a:hover, -#results a:focus { - background: var(--c2); -} -#suggestions span, #results span { - line-height: 1.5; - display: block; -} -#suggestions span:first-child, #results span:first-child { - font-weight: var(--fh); -} -#suggestions span:nth-child(2), #results span:nth-child(2) { - color: var(--f1); -} -nav > div > form > div:last-of-type {//parent div of suggestions div - display: block; - position: relative; - width: 100%; -} -.searchd { - display: flex; - align-items: center; - white-space: nowrap; -} -.searchd > input { - max-width: 15.3rem; - padding-right:2.4rem;//inlayed search icon -} -.searchd > button { - margin-left: -2.4rem;//inlayed search icon -} -@if map-get(variables.$breakpoints, "md") { - @media (max-width: map-get(variables.$breakpoints, "md")) { - .searchd > input { - max-width: 100%; - flex-grow: 1; - } - #suggestions { - position: static; - left: 0; - width: 100%; - } - } -} |
