{% 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; } body.light-mode .res:hover { background-color: #f4f4f4; } body.dark-mode .res:hover { background-color: #1a1a1a; } .res-img { height: 16px; width: 16px; display: inline; } .res-title { margin-bottom: 0px; display: inline; } .res-title > a:visited { color: #9e4efe; } .res-url { color: #080; font-size: 13px; } .res-url:visited { color: #080; font-size: 13px; } .res-rank { font-size: 10px; display: inline; } .res-rank > a:visited { color: #9e4efe; } a.res-headline { color: var(--text); } a.res-headline:visited { color: var(--text); } .res-highlight { background-color: #c6dcff; } .res .tag { min-height: 15px; } #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.res-home-icon-img { width: 64px; height: 64px; } img.res-home-title-icon { width: 16px; height: 16px; } .res-home-fade-text { position: absolute; bottom: 0; left: 0; margin: 0; width: 100%; height: 24px; } body.light-mode .res .res-home-fade-text { background-image: linear-gradient(to bottom, transparent, white); } body.light-mode .res:hover .res-home-fade-text { background-image: linear-gradient(to bottom, transparent, #f4f4f4); } body.dark-mode .res .res-home-fade-text { background-image: linear-gradient(to bottom, #00000000, #000000ff); } body.dark-mode .res:hover .res-home-fade-text { background-image: linear-gradient(to bottom, #00000000, #1a1a1a); } #search_field { text-align: center; } #more { text-decoration: none; font-size: 13px; color: var(--text); } #adv_search { padding-top: 20px; } #atom_menu { right: 8px; width: 160px; top: 88px; } .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; } #atom_button { background-image: url('{% static "se/icon-atom.svg" %}'); } #top_bar { min-height: 157px; padding-bottom: 10px; } input[name="fv"] { min-width: 350px; } #previous_search { background-color: var(--bg); border-bottom: 1px solid var(--border); padding: 10px; padding-left: 29%; width: 30%; } .quick-history-link { color: var(--text); display: inline-block; margin-right: 10px; overflow: hidden; text-align: left; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; width: 143%; } .quick-history-link:visited { color: var(--text); } {% endblock %} {% block js %} {{ block.super }} document.addEventListener("DOMContentLoaded", function() { console.log('sosseArchiveLinks', localStorage.getItem('sosseArchiveLinks')); if (localStorage.getItem('sosseArchiveLinks') === 'true') { const links = document.querySelectorAll("#home-grid a"); links.forEach(link => { link.href = `/archive/${link.href}`; }); } }); {% endblock %} {% block top_bar %}
{% endblock %} {% block body %} {% include "se/components/modal.html" with id="tags" title="⭐ Filtering" %} {% if has_query %} {% if results_count == '0' %}