diff options
| author | Arne Rief <riearn@proton.me> | 2025-12-22 14:02:07 +0100 |
|---|---|---|
| committer | Arne Rief <riearn@proton.me> | 2025-12-22 14:02:07 +0100 |
| commit | 038054b8206a9c25e84adeb0f0f355abd22d6143 (patch) | |
| tree | 47700e52b88e0db08f0ca113de22f4c0d05cc405 /assets/css/search.css | |
| parent | 32c1a5dd203435e8bef324306d1516e28ce14615 (diff) | |
CSS & JS splitting, small fix section badge
Diffstat (limited to 'assets/css/search.css')
| -rw-r--r-- | assets/css/search.css | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/assets/css/search.css b/assets/css/search.css new file mode 100644 index 0000000..7b6feab --- /dev/null +++ b/assets/css/search.css @@ -0,0 +1,51 @@ +/* Search */ +.search-form__input { + font-size: var(--font-size-default); + border: 2px solid var(--bg-special); + border-radius: var(--border-radius-minimal); + margin-right: var(--gap-small); + padding: 0.2rem; + height: var(--font-size-h1); + width: 50%; + + &:focus { + border-color: var(--link-color); + box-shadow: var(--glow); + outline: none; + } + + @media (max-width: 768px) { + width: 90%; + } +} + +.search-form__reset { + background-color: var(--bg-special); + border: none; + border-radius: var(--border-radius-max); + box-shadow: var(--shadow-default); + color: var(--text-color); + font-size: var(--font-size-default); + font-weight: bold; + padding: 0.1rem 0.5rem 0.3rem 0.5rem; + + &:hover { + background-color: var(--link-hover); + color: var(--bg-main); + cursor: pointer; + } +} + +.search-input { + width: 30vw; + + @media (max-width: 768px) { + width: 100vw; + } +} + +.search-results__count { + font-weight: bold; + margin: var(--margin-padding-Y-default); +} + |
