Browse Source

scholar template

master
rdrew 2 weeks ago
parent
commit
b2aeb521e6
  1. 10
      css/homepage.css
  2. 103
      css/islandora_mods.css

10
css/homepage.css

@ -127,7 +127,15 @@ nav#block-vre2024-mainnavigation-2 {
margin-bottom: 1rem; margin-bottom: 1rem;
line-height: 1.4; line-height: 1.4;
} }
.views-field-edtf-year .field-content::before { span .field-content::before {
/*content: ">";*/
}
.views-field-dc-source,
.views-field-dc-creator {
font-style: italic;
.field-content::before {
content: ">"; content: ">";
} }
} }
}

103
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*/ /*scholars page*/
form#views-exposed-form-scholars-page-1 { form#views-exposed-form-scholars-page-1 {
display: flex; display: flex;

Loading…
Cancel
Save