{% extends "se/base.html" %} {% load static %} {% block head %} {% endblock %} {% block css %} .res { margin: 6px 0px 6px 0px; padding: 10px 10px 10px 10px; border-radius: 10px; } .res:hover { background-color: #f4f4f4; } .res-img { height: 16px; width: 16px; display: inline; } .res-title { margin-bottom: 0px; display: inline; } .res-url { text-decoration: none; color: #080; font-size: 13px; } .res-rank { font-size: 10px; display: inline; } .res-headline { text-decoration: none; color: #000; } .res-highlight { background-color: #c6dcff; } .res-preview { float: right; width: 160px; height: 100px; } #home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: minmax(100px, auto); } #home-grid a { text-decoration: none; } .res-home { display: block; position: relative; grid-column: auto; grid-row: auto; width: 200px; height: 200px; text-align: center; overflow: hidden; } .res-home-icon { padding-top: 30%; width: 100%; } .res-home-icon > img { width: 64px; height: 64px; } .res-home-fade-text { position: absolute; bottom: 0; left: 0; margin: 0; width: 100%; height: 24px; } .res .res-home-fade-text { background-image: linear-gradient(to bottom, transparent, white); } .res:hover .res-home-fade-text { background-image: linear-gradient(to bottom, transparent, #f4f4f4); } #search_field { text-align: center; } #more { color: #000; text-decoration: none; font-size: 13px; } #adv_search { padding-top: 20px; } #stats_menu { right: 8px; width: 160px; top: 88px; } #atom_menu { right: 8px; width: 160px; top: 128px; } #word_stats { float: right; text-align: left; overflow-y: scroll; height: 300px; width: 250px; } #word_stats_list { list-style-type: none; margin: 0; padding: 0; } .word_stats_txt { width: 90%; margin-right: -8px; padding: 2px 0px 2px 8px; display: inline; } .links:hover .word_stats_txt { background-color: #e7f0ff; } .word_stats_count { width: 10%; text-align: right; display: inline; } .links:hover .word_stats_count { background-color: #e7f0ff; } .dyn_button { width: 38px; text-align: center; } #clear_button { background-size: 20px; width: 40px; height: 40px; border-left-style: none; } #clear_button:focus { border-left-style: solid; } #search_button { margin-left: 5px; width: 40px; height: 40px; } #stats_button { background-image: url('{% static "se/icon-stats.svg" %}'); } #atom_button { background-image: url('{% static "se/icon-atom.svg" %}'); } #top_bar { min-height: 157px; padding-bottom: 10px; } input[name="fv"] { min-width: 350px; } {% endblock %} {% block top_bar %}
{% for field in form.hidden_fields %} {{ field }} {% endfor %} {{ form.q }}
{% endblock %} {% block body %} {% if has_query %} {% if results_count == '0' %}
{{ animal }}
No result {{ animal }}
{% else %}
{{ animal }}
{{ results_count }} site{{ results|pluralize:"s" }} found
{% endif %} {% for r in paginated %}
{% if r.has_thumbnail or r.screenshot_count %} {% if r.has_thumbnail %} {% else %} {% endif %} {% endif %} {% if r.favicon and not r.favicon.missing %} icon {% endif %}

{{ r.title }}

{{ r.url }}
· {{ r.rank|floatformat:"1" }}
· {{ r.lang_flag }}
· {{ extra_link_txt }}

{{ r.headline }}
{% endfor %} {% include 'se/pagination.html' %} {% elif settings.SOSSE_BROWSABLE_HOME %} {% include 'se/home_browse.html' %} {% endif %} {% endblock %}