diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-07-21 17:19:59 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-07-21 17:19:59 -0700 |
commit | d8a714d703623bbdd7f2834349f89547ed9ba91c (patch) | |
tree | 2db4ca8845ff572e7f512b81f90772901f6ab412 | |
parent | 621283101c3ad95826d68cbf149d184d60a751c3 (diff) | |
download | fatcat-scholar-d8a714d703623bbdd7f2834349f89547ed9ba91c.tar.gz fatcat-scholar-d8a714d703623bbdd7f2834349f89547ed9ba91c.zip |
differentiate SERP card size from other card divs
-rw-r--r-- | fatcat_scholar/templates/base.html | 2 | ||||
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index c5eef9a..26c18e7 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -52,7 +52,7 @@ font-size: 16px; line-height: 20px; } - .ui.card { + .ui.serp.card { max-width: 180px !important; } } diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 0555a07..acbf534 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -168,7 +168,7 @@ <div class="three wide left aligned column" style="padding-top: 0.5em; padding-right: 0.5em;"> {% if paper.fulltext.access_url %} {% if paper.fulltext.thumbnail_url %} - <div class="ui card" style="margin-bottom: 0.2em;"> + <div class="ui serp card" style="margin-bottom: 0.2em;"> <a class="image" target="_blank" href="{{ paper.fulltext.access_url}}"> <img src="{{ paper.fulltext.thumbnail_url }}"> </a> |