From 818a36f06775c64fd8aa197f1fe1728dc7be4f92 Mon Sep 17 00:00:00 2001 From: rdrew Date: Thu, 19 Mar 2026 14:57:06 -0300 Subject: [PATCH] metadata formatting --- css/components/islandora_mods.css | 75 ++++++++++++++++++++++++++----- 1 file changed, 63 insertions(+), 12 deletions(-) diff --git a/css/components/islandora_mods.css b/css/components/islandora_mods.css index 7acba39..f8e469d 100755 --- a/css/components/islandora_mods.css +++ b/css/components/islandora_mods.css @@ -1,5 +1,5 @@ h3.tl-headline-date { - color: #333 !important; + color: #333 !important; } .tl-timeline a { text-decoration: none; @@ -42,7 +42,7 @@ h3.tl-headline-date { color: #333; } .tl-text h2.tl-headline { -font-size: 2rem; + font-size: 2rem; } .tl-slidenav-previous .tl-slidenav-title, .tl-slidenav-next .tl-slidenav-title { @@ -54,11 +54,59 @@ font-size: 2rem; font-family: var(--font-sans) !important; } h2.tl-headline { - color: #333 !important; + color: #333 !important; } h2.tl-headline:hover { - color: #fff !important; + color: #fff !important; } +/* ============================================================ + Browse page + ============================================================ */ + +.newspaper-browse .views-row { + display: flex; + align-items: center; + gap: 1em; + border-bottom: 1px solid #ccc; + padding-bottom: 2em; + margin-block: 2em; + h3 { + margin: 0 0 0.5em; + } + .views-field-thumbnail__target-id { + width: 150px; /* whatever fixed width you want */ + flex-shrink: 0; /* prevents the image from shrinking */ + } + .views-field-title { + flex: 1; /* takes up all remaining space */ + min-width: 0; /* prevents text overflow issues */ + } +} +.views-view-newspaper-issues { + /* display: flex; */ + border: 1px solid #ccc; + padding: 0.5em; + display: inline-block; + background: #f5f5f5; + .views-row { + } +} + +details.views-view-newspaper-group li.views-row { + display: flex; +} +details.views-view-newspaper-group { +} + +ul.views-view-newspaper-issues + .views-field-field-media-use + .field-content:after { + content: " : "; +} +ul.views-view-newspaper-issues .views-field-field-media-use .field-content { + width: 10em; +} + /* ============================================================ COLLECTION GRID ============================================================ */ @@ -266,6 +314,9 @@ form#views-exposed-form-newspapers-view-block-1 { text-decoration: none; } } +ul.views-view-newspaper-issues { + columns: 3; +} /* ============================================================ BROWSE PAGE ============================================================ */ @@ -344,20 +395,20 @@ article .text-content img { font-family: var(--font-serif) !important; } .newspaper-browse a { - text-decoration: none; + text-decoration: none; } .tl-slider-container-mask { - background: #F8F8F8; - border: 1px solid #ccc; - border-top: 0; + background: #f8f8f8; + border: 1px solid #ccc; + border-top: 0; } .tl-text { - background: #fff; - border: 1px solid #ccc; + background: #fff; + border: 1px solid #ccc; } button.tl-menubar-button { - color: #737373; + color: #737373; } .tl-timenav { - border: 1px solid #ccc; + border: 1px solid #ccc; }