diff --git a/css/components/islandora_mods.css b/css/components/islandora_mods.css index b69527e..ea06369 100755 --- a/css/components/islandora_mods.css +++ b/css/components/islandora_mods.css @@ -1,48 +1,78 @@ -body { - /*display: none;*/ -} - .search-result { + /*=======================*/ + /*search result variables*/ + /*=======================*/ + --image-width: 100%; + --image-height: 250px; + --border-width: 4px; + --line-height: 1.3; + --main-bg-color: var(--color--bdh-red); + --border-color: var(--color--bdh-red); + --field-bg: #fff; + /*=======================*/ + /*=======================*/ .views-field-did-image { img { - width: 100%; - padding: 4px; + width: var(--image-width); + padding: var(--border-width); } - height: 216px; + height: var(--image-height); overflow: hidden; } .search-result_inner-wrapper { /*display: none;*/ - background: var(--color--bdh-red); - border-radius: 4px; + background: var(--main-bg-color); + border-radius: var(--border-width); + transition: box-shadow 0.2s; + &:hover { + box-shadow: 0px 4px 11px 1px rgba(0, 0, 0, 0.44); + } } /*title*/ .views-field-title { - background: #fff; - border: 4px solid var(--color--bdh-red); - padding: 4px 4px; + background: var(--field-bg); + border: var(--border-width) solid var(--border-color); + padding: var(--border-width) var(--border-width); h4 { margin: 0; font-weight: bold; - line-height: 1.3; + line-height: var(--line-height); a { text-decoration: none; } } } .views-field-member-of-title { - background: #fff; - border: 4px solid var(--color--bdh-red); + background: var(--field-bg); + border: var(--border-width) solid var(--color--bdh-red); border-top: 0; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 4px; - padding: 4px; - line-height: 1.3; + border-bottom-right-radius: var(--border-width); + border-bottom-left-radius: var(--border-width); + padding: var(--border-width); + line-height: var(--line-height); + a { + text-decoration: none; + } } span.views-label.views-label-member-of-title.field__label { display: block; } } div#block-olivesbdh-solrsearchcontentsearchresultspagerforblock { - margin: 0; + margin: 0; +} +.advanced_search_result_pager .pager__group { + background: #f6f8f8; + padding: 1em; + border-radius: 4px; + .pager__link--is-active { + border: solid 2px var(--color--bdh-red); + font-weight: bold; + text-decoration: none !important; + a { + } + } +} +#block-views-block-media-display-blocks-source:has(div.view-empty) { + display: none; } diff --git a/css/components/landing_page.css b/css/components/landing_page.css index 781e33d..6d52e59 100755 --- a/css/components/landing_page.css +++ b/css/components/landing_page.css @@ -11,6 +11,7 @@ figure.logo--ilivesbdh { h1, h2 { margin: 0; + text-shadow: 2px 2px black; } h1 { font-size: 4em; diff --git a/css/components/pager.css b/css/components/pager.css index a9f6224..680105d 100755 --- a/css/components/pager.css +++ b/css/components/pager.css @@ -24,6 +24,7 @@ padding-inline-end: 0; list-style: none; font-weight: bold; + justify-content: center; } .pager__item { diff --git a/css/layout/layout.css b/css/layout/layout.css index b2bf6f2..455f0c2 100755 --- a/css/layout/layout.css +++ b/css/layout/layout.css @@ -62,7 +62,7 @@ body.is-fixed .container { @media (min-width: 43.75rem) { .main-content__container { - padding-block-start: var(--sp5); + /*padding-block-start: var(--sp5);*/ } } .block-mirador {