diff --git a/_layouts/bib.liquid b/_layouts/bib.liquid index 72df52f1..efd73ff1 100644 --- a/_layouts/bib.liquid +++ b/_layouts/bib.liquid @@ -2,7 +2,29 @@ ---
{% if site.enable_publication_thumbnails %} -
+
+ {%- if entry.abbr -%} + {%- if site.data.venues[entry.abbr] -%} + {% assign venue_style = null %} + {% if site.data.venues[entry.abbr].color != blank %} + {% assign venue_style = site.data.venues[entry.abbr].color | prepend: 'style="background-color:' | append: '"' %} + {%- endif -%} + + {% if site.data.venues[entry.abbr].url %} + {{ entry.abbr }} + {% else %} +
{{- entry.abbr -}}
+ {% endif %} +
+ {% else %} + {{ entry.abbr }} + {% endif %} + {% endif %} {% if entry.preview %} {% if entry.preview contains '://' %} @@ -13,26 +35,10 @@ path=entry_path sizes = "200px" class="preview z-depth-1 rounded" - zoomable=false + zoomable=true alt=entry.preview %} {% endif %} - {% elsif entry.abbr %} - {% if site.data.venues[entry.abbr] %} - {% assign venue_style = null %} - {% if site.data.venues[entry.abbr].color != blank %} - {% assign venue_style = site.data.venues[entry.abbr].color | prepend: 'style="background-color:' | append: '"' %} - {% endif %} - {{ entry.abbr }} - {% else %} - {{ entry.abbr }} - {% endif %} {% endif %}
{% endif %} diff --git a/_sass/_base.scss b/_sass/_base.scss index 5d0c25f3..1c1e8fcf 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -684,9 +684,8 @@ footer.sticky-bottom { abbr { display: inline-block; background-color: var(--global-theme-color); - padding-left: 1rem; - padding-right: 1rem; - + margin-bottom: 0.5rem; + width: 100%; a { color: white;