mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Clean up package list search CSS
This commit is contained in:
parent
e5f61f2dc6
commit
47432ea7e4
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user