Browse Source

grid tidy

master
rdrew 1 month ago
parent
commit
f39ce89de6
  1. 40
      css/components/islandora_mods.css

40
css/components/islandora_mods.css

@ -73,28 +73,58 @@ div#formatted-bibliography .csl-bib-body {
/*collection grid*/ /*collection grid*/
.grid-item { .grid-item {
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 4px; padding: 8px;
border-radius: 4px; border-radius: 4px;
background: #ece8e3; box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%);
/*background: #ece8e3;*/
.grid-item__image { .grid-item__image {
margin: 0; margin: 0;
height: 180px; /*height: 180px;*/
background: #ece8e3; background: #ece8e3;
overflow: hidden; overflow: hidden;
img { img {
width: 100%; width: 100%;
} }
} }
.abstract {
/* line-height: 1.4; */
display: block;
/* line-height: 1.4; */
line-height: 1.4;
margin-bottom: 5px;
font-size: 0.9em;
a.views-more-link {
text-decoration: underline;
}
}
.grid-item__title { .grid-item__title {
display: block; display: block;
/*text-align: center;*/ padding: 0.5em 0;
/* text-align: center; */
line-height: 1.2; line-height: 1.2;
margin: 5px 0 6px 0; margin: 5px 0 6px 0;
/*height: 3em;*/ /* height: 3em; */
/* background: #fff; */
font-weight: bold;
border-bottom: 1px dotted #574938;
a { a {
text-decoration: none; text-decoration: none;
font-family: var(--font-serif); font-family: var(--font-serif);
/*font-size: var(--font-size-l);*/ /*font-size: var(--font-size-l);*/
color: #574938;
}
}
.views-field-member-of-title {
line-height: 1.2;
.field__label {
font-size: 0.9em;
font-family: var(--font-serif);
color: #574938;
}
.field__item {
font-size: 0.9em;
} }
} }
} }

Loading…
Cancel
Save