From 87f40d0f8d15f16020964773e75d35ea22da049f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 2 Apr 2020 17:37:35 -0700 Subject: basic fulltext search highlighting --- fatcat_covid19/templates/base.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fatcat_covid19/templates/base.html') diff --git a/fatcat_covid19/templates/base.html b/fatcat_covid19/templates/base.html index 07632dc..3193619 100644 --- a/fatcat_covid19/templates/base.html +++ b/fatcat_covid19/templates/base.html @@ -17,6 +17,10 @@ @media only screen and (max-width: 479px) { .mobile-hide{ display: none !important; } } + {# for fulltext search result highlighting #} + .search_highlights em { + background-color: #FFFFBB; {# yellow #} + } {% block extra_head %}{% endblock %} -- cgit v1.2.3