You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
117 lines
2.4 KiB
117 lines
2.4 KiB
/*collection grid*/ |
|
.collection-view > .view-content { |
|
display: grid; |
|
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 { |
|
} |
|
a { |
|
text-decoration: none; |
|
} |
|
.views-field-did-image { |
|
height: 300px; |
|
overflow: hidden; |
|
border: 1px solid #ccc; |
|
padding: 4px; |
|
} |
|
img { |
|
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 { |
|
.field--label-inline { |
|
margin: 0; |
|
padding: 10px 0 6px; |
|
border-bottom: 1px dotted #ccc; |
|
.field__label { |
|
width: 14em; |
|
} |
|
} |
|
} |
|
/*search view*/ |
|
.views-field-field-abstract .field__item p { |
|
margin: 0; |
|
padding: 0; |
|
display: inline; |
|
} |
|
.views-field-field-abstract .field__item a { |
|
text-decoration: underline; |
|
font-weight: bold; |
|
} |
|
/*collapsable text on collections pages*/ |
|
.view-publication-issues .more-link { |
|
display: none; |
|
} |
|
.views-field-field-abstract { |
|
.text-container { |
|
max-width: 100%; /* Adjust as needed */ |
|
} |
|
|
|
.truncated-text { |
|
max-height: 8em; /* Initial truncation height (~3 lines) */ |
|
overflow: hidden; |
|
transition: max-height 0.3s ease; |
|
} |
|
|
|
.truncated-text.full { |
|
max-height: none; /* Show full text */ |
|
} |
|
p { |
|
margin: 0; |
|
} |
|
.more-link { |
|
/*color: #007bff;*/ |
|
cursor: pointer; |
|
font-family: var(--font-sans); |
|
display: inline-block; |
|
margin-top: 5px; |
|
float: right; |
|
} |
|
} |
|
div#block-olivespwc-views-block-abstract-block-for-collections-info-block { |
|
margin: 0; |
|
} |
|
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; |
|
} |
|
}
|
|
|