|
|
|
/*
|
|
|
|
* DO NOT EDIT THIS FILE.
|
|
|
|
* See the following change record for more information,
|
|
|
|
* https://www.drupal.org/node/3084859
|
|
|
|
* @preserve
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Node Teaser specific styles.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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. */
|
|
|
|
|
|
|
|
.node--view-mode-teaser {
|
|
|
|
position: relative; /* Anchor after pseudo-element. */
|
|
|
|
margin-bottom: var(--sp1-5)
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser::after {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: var(--sp3);
|
|
|
|
height: 0;
|
|
|
|
content: "";
|
|
|
|
/* Intentionally not using CSS logical properties. */
|
|
|
|
border-top: solid 2px var(--color--gray-95);
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .node__meta {
|
|
|
|
margin-bottom: var(--sp)
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .node__meta a {
|
|
|
|
color: var(--color-text-primary-medium);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .node__top-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 62.5rem) {
|
|
|
|
|
|
|
|
.node--view-mode-teaser .node__top-wrapper {
|
|
|
|
position: relative /* Anchor the image */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="ltr"] .node--view-mode-teaser .primary-image {
|
|
|
|
margin-right: var(--sp1)
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .node--view-mode-teaser .primary-image {
|
|
|
|
margin-left: var(--sp1)
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .primary-image {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: var(--sp1)
|
|
|
|
|
|
|
|
/* Ensure title does not wrap under image until necessary. */
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .primary-image + .node__title {
|
|
|
|
flex-basis: calc(100% - var(--sp)*4.5)
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 62.5rem) {
|
|
|
|
|
|
|
|
.node--view-mode-teaser .primary-image + .node__title {
|
|
|
|
flex-basis: auto
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .primary-image a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .primary-image img {
|
|
|
|
width: calc(var(--sp)*3.5);
|
|
|
|
height: calc(var(--sp)*3.5);
|
|
|
|
-o-object-fit: cover;
|
|
|
|
object-fit: cover;
|
|
|
|
border-radius: 50%
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 62.5rem) {
|
|
|
|
|
|
|
|
.node--view-mode-teaser .primary-image img {
|
|
|
|
width: var(--grid-col-width);
|
|
|
|
height: var(--grid-col-width)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 62.5rem) {
|
|
|
|
|
|
|
|
[dir="ltr"] .node--view-mode-teaser .primary-image {
|
|
|
|
left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .node--view-mode-teaser .primary-image {
|
|
|
|
right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .primary-image {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
margin: 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .node__title {
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: var(--sp1);
|
|
|
|
color: var(--color-text-neutral-loud);
|
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: var(--line-height-base)
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 62.5rem) {
|
|
|
|
|
|
|
|
.node--view-mode-teaser .node__title {
|
|
|
|
font-size: var(--sp2);
|
|
|
|
line-height: var(--sp3)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
|
|
|
|
margin-left: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
|
|
|
|
margin-right: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
|
|
|
|
margin-right: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
|
|
|
|
margin-left: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
|
|
|
|
padding-left: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
|
|
|
|
padding-right: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
|
|
|
|
padding-right: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
|
|
|
|
padding-left: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.node--view-mode-teaser .field--tag-ref {
|
|
|
|
margin-top: var(--sp1);
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
background-color: transparent
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 62.5rem) {
|
|
|
|
|
|
|
|
.node--view-mode-teaser .field--tag-ref {
|
|
|
|
margin-top: var(--sp2)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 62.5rem) {
|
|
|
|
|
|
|
|
.node--view-mode-teaser {
|
|
|
|
margin-bottom: var(--sp3)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.views-row:last-child .node--view-mode-teaser {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|