rdrew 1 week ago
parent
commit
f0e43351ea
  1. 83
      css/components/islandora_mods.css
  2. 14
      olivespostcards.info.yml

83
css/components/islandora_mods.css

@ -1,3 +1,84 @@
/*l'nuey collection stuff*/
.lva .view-grid > .view-content {
display: grid;
grid-template-columns: repeat(4, 1fr);
/* margin: 0.47214rem 0 0.47214rem 2.61803rem; */
}
.lva .grid-item__image {
margin: 0;
/*height: 274px;*/
background: #ece8e3;
overflow: hidden;
img {
border: 1px solid #ccc;
}
}
.node--type-islandora-object .field--label-inline > .field__item {
display: table;
}
.lva iframe.pdf {
height: 1000px;
border: 1px solid #ccc;
}
/*=======================*/
/*disclaimer*/
details {
margin: 1rem 0;
border: 1px solid #ddd;
border-radius: 6px;
overflow: hidden;
}
summary {
padding: 1rem 1.5rem;
background: #f8f9fa;
cursor: pointer;
font-weight: 600;
list-style: none; /* removes default marker */
position: relative;
}
summary::-webkit-details-marker {
display: none;
} /* Chrome/Safari */
summary::after {
content: "▼";
position: absolute;
right: 1.5rem;
transition: transform 0.3s;
}
details[open] summary::after {
transform: rotate(180deg);
}
details > .content {
padding: 0 1.5rem 1.5rem;
background: white;
}
/* Optional: smooth height animation (works well in 2025+ browsers) */
details > .content {
overflow: hidden;
transition: max-height 0.4s ease, padding 0.4s ease;
max-height: 0;
padding-top: 0;
padding-bottom: 0;
}
details[open] > .content {
max-height: 1000px; /* large enough for your content */
padding: 1.5rem;
}
/*=======================*/
div#block-olivespostcards-documenttype .block__title {
line-height: 1;
}
div#block-olivespostcards-solrsearchcontentsearchresultspagerforblock {
margin: 0;
}
.mirador76 { .mirador76 {
display: none !important; display: none !important;
} }
@ -100,7 +181,7 @@ div#formatted-bibliography .csl-bib-body {
line-height: 1.4; line-height: 1.4;
margin-bottom: 5px; margin-bottom: 5px;
font-size: 0.9em; font-size: 0.9em;
color: var(--color-text-neutral-medium); color: var(--color-text-neutral-medium);
a.views-more-link { a.views-more-link {
text-decoration: underline; text-decoration: underline;
} }

14
olivespostcards.info.yml

@ -1,19 +1,7 @@
# This theme is marked as @internal. It is intended to evolve and change over
# minor releases.
# As the UI of Drupal improves between minor versions, the markup and assets in
# the Olivespostcards theme will change. The Olivespostcards theme is not backwards compatible
# If you wish to modify the output or assets of Olivespostcards you can:
# 1. Copy the whole of Olivespostcards and rename it as your own theme. You will need to
# manually manage your own updates if you want to stay up to date with Olivespostcards's
# bug fixes and feature support.
#
# 2. Sub-theme Olivespostcards. This is only recommended if you want to make minor
# tweaks and understand that Olivespostcards could break your modifications as it
# changes.
name: Olivespostcards name: Olivespostcards
type: theme type: theme
base theme: false base theme: false
description: THIS IS A CLONE OF OLIVERO FOR ISLANDIMAGINED. description: This theme is for IslandImagined main site.
alt text: Screenshot of Olivespostcards, Drupal front-end theme. alt text: Screenshot of Olivespostcards, Drupal front-end theme.
package: Core package: Core
version: VERSION version: VERSION

Loading…
Cancel
Save