kb: minor style changes

This commit is contained in:
Frédéric Péters 2015-07-14 12:48:13 +02:00
parent e8d566c296
commit cd43b27423
2 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{% load i18n %}
<div data-page-fragment-url="{% url 'kb-zone' %}/">
<div class="search">
<input autocomplete="off" data-autocomplete-json="{% url 'kb-page-search-json' %}" name="q"/>
<input type="text" autocomplete="off" placeholder="{% trans 'Keywords...' %}" data-autocomplete-json="{% url 'kb-page-search-json' %}" name="q"/>
<ul class="result">
</ul>
</div>

View File

@ -148,8 +148,20 @@ form#kb-search {
margin: 0 1ex;
}
.kb ul.result {
margin: 2ex 0 0 0;
padding: 0;
list-style: circle;
}
.kb ul.result li {
margin-left: 2em;
margin-bottom: 1ex;
}
.kb div.page {
padding: 1ex;
line-height: 120%;
}
.kb div.page h3 {