4 changed files with 456 additions and 139 deletions
@ -0,0 +1,246 @@
|
||||
/*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: 300px;*/ |
||||
/* background: #ece8e3; */ |
||||
overflow: hidden; |
||||
display: block; |
||||
|
||||
img { |
||||
width: 100%; |
||||
} |
||||
} |
||||
@media ((max-width: 600px)) { |
||||
.grid-item__image { |
||||
height: initial; |
||||
} |
||||
div#block-olivesbooks-solrsearchcontentsearchresultspagerforpage |
||||
.pager__group { |
||||
display: none; |
||||
} |
||||
} |
||||
.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; |
||||
word-break: break-all; |
||||
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-solrsearchcontentsearchresultspagerforblock, |
||||
div#block-olivesbooks-solrsearchcontentsearchresultspagerforpage { |
||||
.pager__group { |
||||
background: #f5f5f5; |
||||
} |
||||
} |
||||
/* People objects/nodes */ |
||||
.views-view-grid__item { |
||||
display: flex; |
||||
} |
||||
.person--layout { |
||||
/* float: left; */ |
||||
|
||||
.field.field--name-field-dates { |
||||
text-align: center; |
||||
} |
||||
} |
||||
|
||||
.person--layout { |
||||
border: 4px double #ccc; |
||||
padding: 4px; |
||||
} |
||||
|
||||
.person--layout img { |
||||
width: 100%; |
||||
} |
||||
@media (min-width: 600px) { |
||||
.person--layout { |
||||
float: left; |
||||
width: 300px; |
||||
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 { |
||||
max-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%); |
||||
width: 100%; |
||||
.views-field-field-representative-image, |
||||
.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; |
||||
} |
||||
.social-bar { |
||||
border-right: 1px solid #ddd; |
||||
} |
||||
div#page { |
||||
border-right: 1px solid #ddd; |
||||
} |
||||
.mirador85.mirador86 { |
||||
outline: 2px solid #2b3717 !important; |
||||
} |
||||
|
||||
.mirador16.mirador15 { |
||||
border-top: 2px solid #323f1a; |
||||
} |
||||
.mirador16.mirador15 { |
||||
border-top: 2px solid #2b3616 !important; |
||||
} |
||||
.field--name-field-history-note .field__item { |
||||
border-bottom: 3px double #38471e; |
||||
padding-bottom: 2rem; |
||||
margin-bottom: 1rem; |
||||
} |
||||
.field--name-field-spouse, |
||||
.field--name-field-children { |
||||
display: flex; |
||||
} |
||||
|
||||
@media ((max-width: 800px)) { |
||||
div#block-olivesbooks-solrsearchcontentsearchresultspagerforpage, |
||||
div#block-olivesbooks-solrsearchcontentsearchresultspagerforblock |
||||
.pager__group { |
||||
display: none; |
||||
} |
||||
} |
||||
|
||||
div#block-views-block-media-display-blocks-source { |
||||
margin-bottom: 1rem; |
||||
} |
||||
Loading…
Reference in new issue