aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_covid19/templates/base.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-02 17:37:35 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-02 17:37:35 -0700
commit87f40d0f8d15f16020964773e75d35ea22da049f (patch)
treebb1bae721bc9249bea7a4f994201c0ef0b730962 /fatcat_covid19/templates/base.html
parent7c5d51190cb8e58dea6231b48dc942fb35ef54a9 (diff)
downloadfatcat-covid19-87f40d0f8d15f16020964773e75d35ea22da049f.tar.gz
fatcat-covid19-87f40d0f8d15f16020964773e75d35ea22da049f.zip
basic fulltext search highlighting
Diffstat (limited to 'fatcat_covid19/templates/base.html')
-rw-r--r--fatcat_covid19/templates/base.html4
1 files changed, 4 insertions, 0 deletions
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 #}
+ }
</style>
{% block extra_head %}{% endblock %}
</head>