Clean up package list search CSS

This commit is contained in:
rubenwardy 2018-05-21 14:56:00 +01:00
parent e5f61f2dc6
commit 47432ea7e4
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
4 changed files with 20 additions and 2 deletions

@ -72,3 +72,13 @@
.pkg_wiz_1, .pkg_wiz_2 {
display: none;
}
.plsearchform {
padding: 0.5em;
}
.plsearchform p {
display: inline-block;
padding: 0;
margin: 0 0.75em;
}

@ -20,6 +20,10 @@ main {
box-sizing: border-box;
}
.clearboth {
clear: both;
}
header h1, header p, header form {
padding: 0 5px;
margin-left: 0;

@ -70,7 +70,7 @@
<li><a href="{{ url_for('user.login') }}">Sign in</a></li>
{% endif %}
</ul>
<div style="clear:both;"></div>
<div class="clearboth"></div>
</div>
</nav>

@ -5,10 +5,14 @@
{% endblock %}
{% block content %}
<form method="get" action="">
<form method="get" action="" class="plsearchform">
{% if type %}<input type="hidden" name="type" value="{{ type }}" />{% endif %}
<input type="text" name="q" value="{{ query or ''}}" />
<input type="submit" value="Search" />
<p>
Found {{ packages | count }} packages.
</p>
</form>
<aside class="box box_grey outsidecontainer">