diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-22 11:12:23 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-22 11:12:23 -0800 |
commit | a38b226a03010e055d7d1d6c5928827adefc5a04 (patch) | |
tree | e61e59644bdfac24cbfab859e40a2f83da604969 | |
parent | 0b4b5114285ea0484006eea8ac6d25403f081135 (diff) | |
download | fatcat-scholar-a38b226a03010e055d7d1d6c5928827adefc5a04.tar.gz fatcat-scholar-a38b226a03010e055d7d1d6c5928827adefc5a04.zip |
html: small UI tweaks
-rw-r--r-- | fatcat_scholar/static/scholar.css | 5 | ||||
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 14 |
2 files changed, 9 insertions, 10 deletions
diff --git a/fatcat_scholar/static/scholar.css b/fatcat_scholar/static/scholar.css index fcf0349..d7a9818 100644 --- a/fatcat_scholar/static/scholar.css +++ b/fatcat_scholar/static/scholar.css @@ -66,8 +66,7 @@ nav.ui.menu { display: flex; justify-content: center; column-gap: 0.3em; - min-width: 14em; - max-width: 15em; + width: 12.5em; } @media only screen and (max-width: 767px) { @@ -248,7 +247,7 @@ details.serp-action-menu > .citation-menu { z-index: 11; min-width: 30em; border-radius: .28571429rem; - right: 50%; + right: 55%; margin-top: -2em; margin-right: 1.5em; padding: 1em; diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 2f8ddc7..fb7068e 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -454,7 +454,7 @@ <details class="serp-action-menu"> <summary> - <div class="circular ui icon compact basic button"> + <div class="circular ui icon compact basic button" title="{{ _('cite this work') }}"> <i class="quote left icon"></i> </div> </summary> @@ -464,22 +464,22 @@ {% if paper.doc_type == "work" %} <div class="ui divider"></div> <ul class="ui horizontal list"> - <li class="item"><a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}/citeproc?style=modern-language-association" target="_blank" rel="noopener">MLA</a></li> - <li class="item"><a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}/citeproc?style=elsevier-harvard" target="_blank" rel="noopener">Harvard</a></li> - <li class="item"><a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}/citeproc?style=csl-json" target="_blank" rel="noopener">CSL-JSON</a></li> - <li class="item"><a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}.bib" target="_blank" rel="noopener">BibTeX</a></li> + <li class="item"><a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}/citeproc?style=modern-language-association" target="_blank" rel="noopener"><i class="external icon"></i>MLA</a></li> + <li class="item"><a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}/citeproc?style=elsevier-harvard" target="_blank" rel="noopener"><i class="external icon"></i>Harvard</a></li> + <li class="item"><a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}/citeproc?style=csl-json" target="_blank" rel="noopener"><i class="external icon"></i>CSL-JSON</a></li> + <li class="item"><a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}.bib" target="_blank" rel="noopener"><i class="external icon"></i>BibTeX</a></li> </ul> {% endif %} </div> </details> - <a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}" rel="noopener" title="{{ _('edit on fatcat wiki') }}"> + <a href="https://fatcat.wiki/release/{{ paper.biblio.release_ident }}" rel="noopener" title="{{ _('edit metadata on fatcat wiki') }}"> <div class="circular ui icon compact basic button"> <i class="edit icon"></i> </div> </a> - <a href="{{ lang_prefix }}/search?q=key:{{ paper.key }}" rel="noopener" title="{{ _('permalink') }}"> + <a href="{{ lang_prefix }}/search?q=key:{{ paper.key }}" rel="noopener" title="{{ _('permalink to this record') }}"> <div class="circular ui icon compact basic button"> <i class="linkify icon"></i> </div> |