clone of olivero for island lives
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.

158 lines
2.8 KiB

10 months ago
/*
* 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.
*/
10 months ago
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .search-results {
padding-left: 0
}
[dir="rtl"] .search-results {
padding-right: 0
}
[dir="ltr"] .search-results {
padding-right: 0
}
[dir="rtl"] .search-results {
padding-left: 0
}
10 months ago
.search-results {
10 months ago
margin-bottom: var(--sp2);
padding-top: 0;
padding-bottom: 0;
list-style: none
10 months ago
}
@media (min-width: 43.75rem) {
10 months ago
.search-results {
margin-bottom: var(--sp3)
}
10 months ago
}
10 months ago
[dir="ltr"] .search-result__title {
margin-left: 0
}
[dir="rtl"] .search-result__title {
margin-right: 0
}
[dir="ltr"] .search-result__title {
margin-right: 0
}
[dir="rtl"] .search-result__title {
margin-left: 0
10 months ago
}
.search-result__title {
10 months ago
margin-top: 0;
margin-bottom: 0;
10 months ago
color: var(--color-text-neutral-loud);
font-size: 1.25rem;
10 months ago
line-height: var(--line-height-base)
10 months ago
}
.search-result__title a {
10 months ago
padding-bottom: 0.1875rem;
transition: background-size 0.2s, color 0.2s;
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
}
10 months ago
.search-result__title a:hover {
10 months ago
color: var(--color-text-primary-medium);
}
10 months ago
@media (min-width: 62.5rem) {
10 months ago
.search-result__title {
margin-bottom: var(--sp1);
10 months ago
font-size: 1.875rem;
10 months ago
line-height: var(--sp3)
10 months ago
}
10 months ago
}
10 months ago
[dir="rtl"] .search-result__title a {
background-position: bottom right;
}
.search-result__snippet {
10 months ago
padding-bottom: calc(var(--sp1-5) - 2px)
10 months ago
}
@media (min-width: 62.5rem) {
10 months ago
.search-result__snippet {
padding-bottom: var(--sp3)
10 months ago
}
10 months ago
}
10 months ago
.search-result__meta {
display: flex;
align-items: center;
10 months ago
margin-bottom: var(--sp1);
10 months ago
color: var(--color-text-neutral-soft);
font-size: 0.875rem;
10 months ago
line-height: var(--sp)
10 months ago
}
.search-result__meta a {
10 months ago
color: var(--color-text-primary-medium);
font-weight: bold;
}
10 months ago
.search-results__item {
position: relative; /* Anchor after pseudo-element. */
10 months ago
margin-bottom: var(--sp1-5)
10 months ago
}
.search-results__item::after {
10 months ago
position: absolute;
bottom: 0;
width: var(--sp3);
height: 0;
content: "";
/* Intentionally not using CSS logical properties. */
border-top: solid 2px var(--color--gray-95);
}
10 months ago
.search-results__item:last-child {
10 months ago
margin-bottom: 0;
}
10 months ago
@media (min-width: 62.5rem) {
10 months ago
.search-results__item {
margin-bottom: var(--sp3)
10 months ago
}
10 months ago
}