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.
83 lines
1.7 KiB
83 lines
1.7 KiB
/*collection grid*/ |
|
.collection-view > .view-content { |
|
display: grid; |
|
grid-template-columns: repeat(4, 1fr); |
|
/* margin: 0.47214rem 0 0.47214rem 2.61803rem; */ |
|
} |
|
.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; |
|
overflow: hidden; |
|
border: 1px solid #ccc; |
|
padding: 4px; |
|
} |
|
img { |
|
width: 100%; |
|
} |
|
} |
|
} |
|
/*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*/ |
|
.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; |
|
}
|
|
|