From e111a4ed212a974bfe1700a2e724d65f435b7c1e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 14 Oct 2020 03:30:12 -0700 Subject: accessibility: style tweaks for constract Includes swapping the 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. --- fatcat_scholar/templates/base.html | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'fatcat_scholar/templates/base.html') diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index 0e61a7e..119160e 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -31,8 +31,23 @@ */ #} + + {%- if settings.SCHOLAR_ENV != "prod" -%}[{{ settings.SCHOLAR_ENV|upper }}] {% endif -%} + {%- block title -%}scholar.archive.org{%- endblock %} + + - - {%- if settings.SCHOLAR_ENV != "prod" -%}[{{ settings.SCHOLAR_ENV|upper }}] {% endif -%} - {%- block title -%}scholar.archive.org{%- endblock %} - - -- cgit v1.2.3