Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions _layouts/bib.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,11 @@
{% endif %}
{% assign entrytype_text = entrytype | strip_html | strip %}
{% capture periodical %}{{ entrytype }}{% if entrytype_text != "" and entryyear != "" %}, {% endif %}{{ entrymonth }}{{ entryyear }}{% endcapture %}
<div class="periodical">
{{ periodical | strip }}
<div class="publication-meta">
{% if entry.abbr %}
<abbr class="publication-venue">{{ entry.abbr }}</abbr>
{% endif %}
<span class="periodical">{{ periodical | strip }}</span>
</div>
<div class="periodical">
{{ entry.note | strip }}
Expand Down
44 changes: 44 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading