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.
71 lines
1.3 KiB
71 lines
1.3 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*/ |
|
.text-container { |
|
max-width: 600px; /* Adjust as needed */ |
|
} |
|
|
|
.truncated-text { |
|
max-height: 2.1em; /* Initial truncation height (~3 lines) */ |
|
overflow: hidden; |
|
transition: max-height 0.3s ease; |
|
} |
|
|
|
.truncated-text.full { |
|
max-height: none; /* Show full text */ |
|
} |
|
|
|
.more-link { |
|
color: #007bff; |
|
cursor: pointer; |
|
display: inline-block; |
|
margin-top: 5px; |
|
}
|
|
|