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.
186 lines
3.7 KiB
186 lines
3.7 KiB
/* |
|
* DO NOT EDIT THIS FILE. |
|
* See the following change record for more information, |
|
* https://www.drupal.org/node/3084859 |
|
* @preserve |
|
*/ |
|
|
|
/** |
|
* @file |
|
* Search results specific styles. |
|
*/ |
|
.search-results { |
|
margin-block-end: var(--sp2); |
|
padding-block: 0; |
|
padding-inline-start: 0; |
|
padding-inline-end: 0; |
|
list-style: none; |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
.search-results { |
|
margin-block-end: var(--sp3); |
|
} |
|
} |
|
|
|
.search-result__title { |
|
margin-block: 0; |
|
margin-inline-start: 0; |
|
margin-inline-end: 0; |
|
color: var(--color-text-neutral-loud); |
|
font-size: 1.25rem; |
|
line-height: var(--line-height-base); |
|
} |
|
|
|
.search-result__title a { |
|
padding-block-end: 0.1875rem; |
|
transition: background-size 0.2s, color 0.2s; |
|
-webkit-text-decoration: none; |
|
text-decoration: none; |
|
background-color: transparent; |
|
background-image: linear-gradient( |
|
var(--color--primary-50), |
|
var(--color--primary-50) |
|
); /* Two values are needed for IE11 support. */ |
|
background-repeat: no-repeat; |
|
background-position: bottom left; /* LTR */ |
|
background-size: 0 0.1875rem; |
|
} |
|
|
|
.search-result__title a:hover { |
|
color: var(--color-text-primary-medium); |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
.search-result__title { |
|
margin-block-end: var(--sp1); |
|
font-size: 1.875rem; |
|
line-height: var(--sp3); |
|
} |
|
} |
|
|
|
[dir="rtl"] .search-result__title a { |
|
background-position: bottom right; |
|
} |
|
|
|
.search-result__snippet { |
|
padding-block-end: calc(var(--sp1-5) - 2px); |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
.search-result__snippet { |
|
padding-block-end: var(--sp3); |
|
} |
|
} |
|
|
|
.search-result__meta { |
|
display: flex; |
|
align-items: center; |
|
margin-block-end: var(--sp1); |
|
color: var(--color-text-neutral-soft); |
|
font-size: 0.875rem; |
|
line-height: var(--sp); |
|
} |
|
|
|
.search-result__meta a { |
|
color: var(--color-text-primary-medium); |
|
font-weight: bold; |
|
} |
|
|
|
.search-results__item { |
|
position: relative; /* Anchor after pseudo-element. */ |
|
margin-block-end: var(--sp1-5); |
|
} |
|
|
|
.search-results__item::after { |
|
position: absolute; |
|
inset-block-end: 0; |
|
width: var(--sp3); |
|
height: 0; |
|
content: ""; |
|
/* Intentionally not using CSS logical properties. */ |
|
border-top: solid 2px var(--color--gray-95); |
|
} |
|
|
|
.search-results__item:last-child { |
|
margin-block-end: 0; |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
.search-results__item { |
|
margin-block-end: var(--sp3); |
|
} |
|
} |
|
.view-grid.view-solr-search-content { |
|
.views-field-member-of-title { |
|
display: none; |
|
} |
|
.search-result { |
|
.views-field-did-image { |
|
img { |
|
width: 100%; |
|
} |
|
height: 200px; |
|
overflow: hidden; |
|
border: 1px solid #ccc; |
|
padding: 4px; |
|
} |
|
.views-field-title { |
|
margin: 0.5rem 0; |
|
} |
|
} |
|
} |
|
.view-grid > .view-content { |
|
display: grid; |
|
grid-template-columns: repeat(5, 1fr); |
|
/*margin: 0.47214rem 0 0.47214rem 2.61803rem;*/ |
|
} |
|
|
|
.peildo_audio_collection { |
|
.view-grid > .view-content { |
|
grid-template-columns: repeat(1, 1fr); |
|
} |
|
|
|
.views-field-did-image { |
|
display: none; |
|
} |
|
.views-field-title { |
|
/*display: none;*/ |
|
} |
|
.view-grid .view-content .views-row { |
|
padding: 0 !important; |
|
} |
|
} |
|
@media only screen and (max-width: 600px) { |
|
.view-grid > .view-content { |
|
display: grid; |
|
grid-template-columns: repeat(1, 1fr); |
|
} |
|
} |
|
div#block-olivesdocs-solrsearchcontentsearchresultspagerforblock { |
|
margin-block-end: 0; |
|
} |
|
div#block-olivesdocs-page-title { |
|
margin-bottom: 2rem; |
|
} |
|
div#block-olivesdocs-breadcrumbs { |
|
margin-block-end: 2rem; |
|
} |
|
.peildo_audio_collection, |
|
.peildo_bio_collection, |
|
.peildo_journal_collection { |
|
div#block-views-block-media-display-blocks-source { |
|
display: none; |
|
} |
|
} |
|
nav.pager { |
|
justify-content: space-around; |
|
display: flex; |
|
} |
|
audio { |
|
width: 100%; |
|
} |
|
.media.media--type-image img { |
|
border: 1px solid #ccc; |
|
padding: 4px; |
|
}
|
|
|