aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-14 03:30:12 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-14 03:30:15 -0700
commite111a4ed212a974bfe1700a2e724d65f435b7c1e (patch)
treea6394a178c8db0587c109ef579dfa5f0f39b8d11 /fatcat_scholar/templates/search.html
parentcb89a5f0ff3ee88e0bff48f3fe5f0837cd2eb32c (diff)
downloadfatcat-scholar-e111a4ed212a974bfe1700a2e724d65f435b7c1e.tar.gz
fatcat-scholar-e111a4ed212a974bfe1700a2e724d65f435b7c1e.zip
accessibility: style tweaks for constract
Includes swapping the <head> CSS block to follow the CSS file link, so that file-local styles have precedence. Not sure I like all these changes, for example the link color and blue box colors. Blue "Show XYZ additional hits" message should probably be larger font for readability, not contrast.
Diffstat (limited to 'fatcat_scholar/templates/search.html')
-rw-r--r--fatcat_scholar/templates/search.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html
index d4f3952..49af012 100644
--- a/fatcat_scholar/templates/search.html
+++ b/fatcat_scholar/templates/search.html
@@ -35,7 +35,7 @@
{% if hits %}
<span style="font-size: 1.5em;">{{ "{:,}".format(hits.count_found) }}</span>
Hits
- <span style="color: rgba(0,0,0,0.4);">in {{ format_query_time(hits.query_time_ms) }}</span>
+ <span style="color: rgba(0,0,0,0.55);">in {{ format_query_time(hits.query_time_ms) }}</span>
{% else %}
&nbsp;
{% endif %}
@@ -50,7 +50,7 @@
{{ _("Hits") }}
</div>
<div style="text-align: end;">
- <span style="color: rgba(0,0,0,0.4);">in {{ format_query_time(hits.query_time_ms) }}</span>
+ <span style="color: rgba(0,0,0,0.55);">in {{ format_query_time(hits.query_time_ms) }}</span>
</div>
<div class="ui clearing divider"></div>
{% endif %}