diff options
author | Kira <kira.eva@protonmail.com> | 2023-05-17 02:26:05 +0100 |
---|---|---|
committer | Kira <kira.eva@protonmail.com> | 2023-05-17 02:26:05 +0100 |
commit | f2bd84f516654fd7d8bdd34199842abefb0e3b24 (patch) | |
tree | 09bf02a2c7f9ed7b5733f39ddc37854dbba49c51 /src/static/style.css | |
parent | 218b301505bfa295b9f5cfc4bef92669ed36d936 (diff) | |
download | UKGenderPayGap-f2bd84f516654fd7d8bdd34199842abefb0e3b24.tar.gz UKGenderPayGap-f2bd84f516654fd7d8bdd34199842abefb0e3b24.zip |
Make search bar stick to the top center of the page on mobile
Diffstat (limited to 'src/static/style.css')
-rw-r--r-- | src/static/style.css | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/static/style.css b/src/static/style.css index d2d46f1..ee35cae 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -112,7 +112,44 @@ aside form p { @media screen and (max-width: 1200px) { #multicharts ul li { width: 100%; + min-height: 500px; + height: 100%; } + + aside { + float: none; + margin: auto; + width: 25%; + display: block; + justify-content: center; + text-align: center; + } + + #searchform { + width: 100%; + margin: auto; + } + + aside form input[type="submit"] { + margin-top: 3px; + margin: auto; + background-color: black; + color: white; + border-radius: 5px; + border: 2px solid black; + } + + +input[type="search"] { + padding: 3px 5px; + box-sizing: border-box; + border: 2px solid black; + margin: auto; +} + + + + /* input[type="search"] {} */ } .minichart { |