From ad5bebdeb5cafd9477c5017d5061c5330d12ef67 Mon Sep 17 00:00:00 2001 From: rdrew Date: Tue, 23 Sep 2025 12:42:35 -0300 Subject: [PATCH] search grid --- css/components/islandora_mods.css | 47 ++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 14 deletions(-) diff --git a/css/components/islandora_mods.css b/css/components/islandora_mods.css index 44cda56..072b16e 100755 --- a/css/components/islandora_mods.css +++ b/css/components/islandora_mods.css @@ -1,23 +1,25 @@ /*collection grid*/ .collection-view > .view-content { display: grid; - grid-template-columns: repeat(4, 1fr); + grid-template-columns: repeat(3, 1fr); /* margin: 0.47214rem 0 0.47214rem 2.61803rem; */ } + +.view-grid .view-content .views-row { + padding: 0px 30px 30px 0px !important; +} .collection-view { .views-row { /*margin: 1em;*/ /*border: 1px solid #ccc;*/ .views-field-title { - text-align: center; - font-weight: bold; } a { text-decoration: none; } .views-field-did-image { - height: 260px; + height: 300px; overflow: hidden; border: 1px solid #ccc; padding: 4px; @@ -26,6 +28,23 @@ width: 100%; } } + .views-field { + font-size: 1em; + } + .field__label { + font-weight: bold; + font-family: var(--font-sans); + font-size: 1em; + } + h2.field-content.field__item.object-title { + margin: 0; + font-size: 1.2em; + font-weight: bold; + line-height: 1.3; + margin: 10px 0 5px; + padding-bottom: 5px; + border-bottom: 1px dotted; + } } /*metadata*/ .node--type-islandora-object .node__content { @@ -85,14 +104,14 @@ div#block-olivespwc-views-block-publication-issues-block-3 { margin: 0; } .olivespwc-details__wrapper .field--name-field-contributors { - /* display: none; */ - .field--name-field-contributor-name-and-role { - margin-block-end: 0 !important; - } - .paragraph--type--contributor { - margin-block-end: 1em; - } - .field--name-field-contributor-description { - font-style: italic; - } + /* display: none; */ + .field--name-field-contributor-name-and-role { + margin-block-end: 0 !important; + } + .paragraph--type--contributor { + margin-block-end: 1em; + } + .field--name-field-contributor-description { + font-style: italic; + } }