diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-03-31 08:52:36 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-03-31 08:52:36 +0200 |
commit | 11f9757875b0c55d707ab3036ffbb057bb365405 (patch) | |
tree | be0475cfa89f9a157ae5c57763a267ff4b1d40b5 /assets | |
parent | 5739667998d9ed5611cdeb915f145b9afb50d00f (diff) |
css: Expand search bar only on wide screens.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/screen.css | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/assets/css/screen.css b/assets/css/screen.css index c7a151e..4aedb40 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -88,8 +88,16 @@ tr.important td:nth-child(1) { padding: 0; } -#search input:focus { - width: 500px; +@media (min-width: 576px) { + #search input:focus { + width: 400px; + } +} + +@media (min-width: 768px) { + #search input:focus { + width: 500px; + } } footer { |