From b2aeb521e68486cfc419614073a060292e821f25 Mon Sep 17 00:00:00 2001 From: rdrew Date: Mon, 9 Dec 2024 15:37:29 -0400 Subject: [PATCH] scholar template --- css/homepage.css | 12 ++++- css/islandora_mods.css | 109 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 116 insertions(+), 5 deletions(-) diff --git a/css/homepage.css b/css/homepage.css index f886d50..f1840fa 100755 --- a/css/homepage.css +++ b/css/homepage.css @@ -127,7 +127,15 @@ nav#block-vre2024-mainnavigation-2 { margin-bottom: 1rem; line-height: 1.4; } - .views-field-edtf-year .field-content::before { - content: ">"; + span .field-content::before { + /*content: ">";*/ + } + + .views-field-dc-source, + .views-field-dc-creator { + font-style: italic; + .field-content::before { + content: ">"; + } } } diff --git a/css/islandora_mods.css b/css/islandora_mods.css index c432930..1fdf7a8 100755 --- a/css/islandora_mods.css +++ b/css/islandora_mods.css @@ -1,3 +1,106 @@ +/*citation objects*/ +div#formatted-citation::before { + font-family: var(--font-family-condensed); + font-size: .8rem; + content: "CHOOSE THE CITATION STYLE:"; +} +#formatted-citation .csl-bib-body { + font-family: "Georgia", "Cambria", "Times New Roman", "Times", serif; + font-size: 1.2em; + background: #e7ede0; + margin-bottom: .5em; + padding: 0.75em; + margin-right: 0; + border: 1px solid #ccc; +} +/*scholar profiles*/ +.scholar-profile { + padding: 1rem; + background: #fff; + border: 1px solid #ccc; + border-top: none; + .top { + display: flex; + /*justify-content: space-between;*/ + .field:not(:last-child) { + margin-bottom: 5px; + } + .field { + margin-bottom: 0.5rem; + /*border-bottom: 1px solid #ccc;;*/ + /*width:100%;*/ + display: flex; + } + .field__label { + font-family: var(--font-family-condensed); + font-weight: 500; + width: 9rem; + } + } + .image { + /*width:25%;*/ + .node-taxonomy-container, + ul.taxonomy-terms { + margin: 0; + padding: 0; + } + width: 11rem; + img { + border: 1px solid #ccc; + padding: 4px; + /*width:100%;*/ + } + } + .details { + /*width:75%;*/ + } + .field.field--name-field-email.field--type-email.field--label-inline { + /* width: 100%; */ + display: inline-block; + margin-bottom: -4px; + } + .field.field--name-field-website { + display: flex; + } + + .field.field--name-field-orcid { + display: flex; + } + .bottom { + .field__label { + font-family: "Roboto Condensed", sans-serif; + font-size: 1.5em; + font-weight: 400; + line-height: 1.3em; + margin-bottom: 0.4em; + } + } +} +.profile-tab { + border: 1px solid #ccc; + border-bottom: 0; + width: 9rem; + background: #fff; + padding-left: 7px; + padding-top: 3px; + font-family: var(--font-family-condensed); + font-size: 0.8rem; + border-radius: 4px 4px 0 0; + i { + margin-right: 5px; + } + /* display: inline; */ +} + +.scholar-profile_header { + display: flex; +} + +.tab-right { + border-bottom: 1px solid #ccc; + width: 100%; +} +/*================*/ /*scholars page*/ form#views-exposed-form-scholars-page-1 { display: flex; @@ -68,13 +171,13 @@ div#block-vre2024-solrsearchcontentsearchresultspagerforpage .pager__group { /*justify-content: space-between;*/ } div#date { - margin: 2em 1em 1em; + margin: 2em 1em 1em; } span.facet-item__count { -float:right; + float: right; } .noUi-connect { - background: var(--upei-green) !important; + background: var(--upei-green) !important; } /*==================*/ form#views-exposed-form-solr-search-content-block-1 {