diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-05-21 16:30:14 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-05-21 16:30:14 -0700 |
commit | b6866c2c2bbcd5501e9d3fe073adfa65e5464aa0 (patch) | |
tree | 9c52e0cb51f2b29b944753a4f6874e9ded5286c4 /fatcat_scholar/templates/search_macros.html | |
parent | 3e5a27fa17877efa9d6acfac132edb5cfa14af96 (diff) | |
download | fatcat-scholar-b6866c2c2bbcd5501e9d3fe073adfa65e5464aa0.tar.gz fatcat-scholar-b6866c2c2bbcd5501e9d3fe073adfa65e5464aa0.zip |
mobile CSS/style changes, and other small UI tweaks
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index bb96b61..b1ccc69 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -141,18 +141,18 @@ </div> </div> -<div class="three wide left aligned column" style="padding-top: 0em; padding-right: 0em;"> +<div class="three wide left aligned column" style="padding-top: 0em; padding-right: 0.5em;"> {% if paper.fulltext.access_url %} {# <img src="{{ settings.COVID19_FULLTEXT_HOST }}{{ paper.fulltext.thumbnail_url }}" style="border: 1px solid grey; max-height: 12em; max-width: 100%;"> #} {% if paper.fulltext.thumbnail_url %} - <div class="ui card" style="margin-bottom: 0.4em;"> + <div class="ui card" style="margin-bottom: 0.2em;"> <a class="image" href="{{ paper.fulltext.access_url}}"> <img src="{{ paper.fulltext.thumbnail_url }}"> </a> </div> {% endif %} <a href="{{ paper.fulltext.access_url}}"> - <div style="width: 100%; padding-left: 0.5em; padding-right: 0.5em; opacity: 0.5; text-align: center;"> + <div style="width: 100%; opacity: 0.65; text-align: center;"> {# TODO: could have other hover info, like mimetype icon and file size? #} <span> {% if paper.fulltext.access_type == "wayback" %} |