From 7704b8df5dd381c64356116b2c3cb1c2912e0626 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 6 Aug 2020 18:33:45 -0700 Subject: basic placeholder thumbnail image --- fatcat_scholar/static/document-icon.svg | 179 ++++++++++++++++++++++++++++ fatcat_scholar/templates/base.html | 3 + fatcat_scholar/templates/search_macros.html | 12 +- 3 files changed, 191 insertions(+), 3 deletions(-) create mode 100644 fatcat_scholar/static/document-icon.svg diff --git a/fatcat_scholar/static/document-icon.svg b/fatcat_scholar/static/document-icon.svg new file mode 100644 index 0000000..59fda86 --- /dev/null +++ b/fatcat_scholar/static/document-icon.svg @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index 17e61ee..77bbb0f 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -55,6 +55,9 @@ .ui.serp.card { max-width: 180px !important; } + div.fulltext-link { + width: 180px !important; + } } {# for fulltext search result highlighting #} diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index d9f66dd..a0352a0 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -180,9 +180,15 @@ + {% else %} +
+ + + +
{% endif %} -
+ -- cgit v1.2.3