diff --git a/_layouts/bib.liquid b/_layouts/bib.liquid index 5f3f233f..fda7c6a6 100644 --- a/_layouts/bib.liquid +++ b/_layouts/bib.liquid @@ -190,8 +190,11 @@ {% endif %} {% assign entrytype_text = entrytype | strip_html | strip %} {% capture periodical %}{{ entrytype }}{% if entrytype_text != "" and entryyear != "" %}, {% endif %}{{ entrymonth }}{{ entryyear }}{% endcapture %} -
- {{ periodical | strip }} +
+ {% if entry.abbr %} + {{ entry.abbr }} + {% endif %} + {{ periodical | strip }}
{{ entry.note | strip }} diff --git a/assets/css/main.scss b/assets/css/main.scss index ce7593b8..7dbfcc7c 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -1027,6 +1027,50 @@ body:has(.victoria-secondary-page) > .container { line-height: 1.45; } +// Keep the venue legible without competing with the publication title. The +// warm tint is derived from the page accent and remains readable on the site's +// intentionally white editorial surface in both light and dark OS themes. +.publication-meta { + display: flex; + min-width: 0; + flex-wrap: wrap; + align-items: baseline; + gap: 4px 7px; +} + +.publication-meta .publication-venue { + display: inline-flex; + max-width: 100%; + padding: 1px 7px 2px; + border: 1px solid rgba(107, 79, 41, 0.22); + border-radius: 4px; + background: rgba(107, 79, 41, 0.09); + color: var(--victoria-accent, var(--homepage-accent, #6b4f29)); + font-size: 0.78em; + font-weight: 700; + line-height: 1.35; + overflow-wrap: anywhere; + text-decoration: none; + white-space: normal; +} + +.victoria-publications-page .publication-meta, +body.layout-about .homepage-victoria .homepage-publications-list .publication-meta { + margin-top: 3px; +} + +.victoria-publications-page .publication-meta .periodical { + min-width: 0; +} + +// Keep publication search hits distinct from the purple global theme while +// matching the site's warm editorial palette. The publication surface remains +// white across light, dark, and system theme preferences. +::highlight(search) { + background-color: #f7e2c4; + color: #5b3a23; +} + .victoria-publications-page .author a, .victoria-publications-page .author > em, .victoria-publications-page .author .author-self,