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.
179 lines
3.6 KiB
179 lines
3.6 KiB
/*collection grid*/ |
|
.grid-item { |
|
border: 1px solid #ccc; |
|
padding: 8px; |
|
border-radius: 4px; |
|
box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%); |
|
/*background: #ece8e3;*/ |
|
.grid-item__image { |
|
margin: 0; |
|
/*height: 180px;*/ |
|
background: #ece8e3; |
|
overflow: hidden; |
|
img { |
|
width: 100%; |
|
} |
|
} |
|
.views-field-field-abstract, |
|
.abstract { |
|
/* line-height: 1.4; */ |
|
display: block; |
|
/* line-height: 1.4; */ |
|
line-height: 1.4; |
|
margin-bottom: 5px; |
|
font-size: 0.9em; |
|
color: var(--color-text-neutral-medium); |
|
a.views-more-link { |
|
text-decoration: underline; |
|
} |
|
} |
|
.grid-item__title { |
|
display: block; |
|
padding: 0.5em 0; |
|
/* text-align: center; */ |
|
line-height: 1.2; |
|
margin: 5px 0 6px 0; |
|
/* height: 3em; */ |
|
/* background: #fff; */ |
|
font-weight: bold; |
|
border-bottom: 1px dotted #574938; |
|
|
|
a { |
|
text-decoration: none; |
|
font-family: var(--font-serif); |
|
/*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; |
|
display: block; |
|
} |
|
.field__item { |
|
font-size: 0.9em; |
|
a { |
|
text-decoration: none; |
|
} |
|
} |
|
} |
|
} |
|
.collection-view .view-content, |
|
.view-grid > .view-content { |
|
display: grid; |
|
grid-template-columns: 1fr; /* mobile: single column */ |
|
} |
|
|
|
@media (min-width: 600px) { |
|
.collection-view .view-content, |
|
.view-grid > .view-content { |
|
grid-template-columns: repeat(2, 1fr); /* tablet portrait: 2 across */ |
|
} |
|
} |
|
|
|
@media (min-width: 900px) { |
|
.collection-view .view-content, |
|
.view-grid > .view-content { |
|
grid-template-columns: repeat(3, 1fr); /* tablet landscape: 3 across */ |
|
} |
|
} |
|
|
|
@media (min-width: 1200px) { |
|
.collection-view .view-content, |
|
.view-grid > .view-content { |
|
grid-template-columns: repeat(4, 1fr); /* desktop: 4 across */ |
|
} |
|
} |
|
div#block-olivesbooks-solrsearchcontentsearchresultspagerforpage { |
|
.pager__group { |
|
background: #f5f5f5; |
|
} |
|
} |
|
/* People objects/nodes */ |
|
.person--layout { |
|
float: left; |
|
} |
|
|
|
.person--layout { |
|
border: 1px solid #ccc; |
|
padding: 4px; |
|
width: 200px; |
|
margin-right: 1em; |
|
} |
|
|
|
.person--layout img { |
|
width: 100%; |
|
} |
|
/* People grid */ |
|
.collection-view .view-header { |
|
display: none; |
|
} |
|
.book-grid, |
|
.people-grid { |
|
.view-filters { |
|
margin-block-end: var(--sp2); |
|
} |
|
.view-header { |
|
margin: 0; |
|
} |
|
input.form-text { |
|
width: 400px; |
|
font-size: 1.2rem; |
|
padding: 0.5rem; |
|
/* box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08); */ |
|
/* border: 1px solid #d1d5db; */ |
|
border-radius: 6px; |
|
padding: 10px 14px; |
|
box-shadow: inset 0px 1px 8px rgba(0, 0, 0, 0.2); |
|
} |
|
} |
|
|
|
.book-grid .views-view-grid__item-inner, |
|
.people-grid .views-view-grid__item-inner { |
|
border: 1px solid #ccc; |
|
padding: 8px; |
|
border-radius: 4px; |
|
box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%); |
|
.views-field-did-image, |
|
.field--type-image { |
|
height: 230px; |
|
overflow: hidden; |
|
img { |
|
width: 100%; |
|
} |
|
} |
|
.views-field-title, |
|
.views-field-name { |
|
font-family: var(--font-serif); |
|
line-height: 1.2; |
|
margin-top: 10px; |
|
padding-top: 5px; |
|
font-size: 0.9rem; |
|
border-top: 1px dotted #ccc; |
|
a { |
|
text-decoration: none; |
|
} |
|
} |
|
} |
|
|
|
#toggle-facets { |
|
background-color: #574938; |
|
background-color: var(--color--primary-50); |
|
font-family: var(--font-serif); |
|
} |
|
nav.pager { |
|
display: flex; |
|
justify-content: space-around; |
|
} |
|
.views-field.views-field-dc-description a { |
|
/* color: black; */ |
|
text-decoration: none; |
|
color: var(--color-text-neutral-medium); |
|
} |
|
.search-result.views-row { |
|
min-width: 0; |
|
}
|
|
|