D10 theme for Island Lives. This is a clone of drupals core theme Olivero. Notice this theme is named Olivera not Olivero :)
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.

201 lines
4.0 KiB

1 year ago
/*
* 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.
*/
1 year 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. */
1 year ago
.node--view-mode-teaser {
position: relative; /* Anchor after pseudo-element. */
1 year ago
margin-bottom: var(--sp1-5)
1 year ago
}
.node--view-mode-teaser::after {
1 year 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);
}
1 year ago
.node--view-mode-teaser .node__meta {
1 year ago
margin-bottom: var(--sp)
}
1 year ago
.node--view-mode-teaser .node__meta a {
1 year ago
color: var(--color-text-primary-medium);
font-weight: bold;
}
1 year ago
.node--view-mode-teaser .node__top-wrapper {
1 year ago
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 0
}
1 year ago
@media (min-width: 62.5rem) {
1 year ago
.node--view-mode-teaser .node__top-wrapper {
position: relative /* Anchor the image */
1 year ago
}
1 year ago
}
[dir="ltr"] .node--view-mode-teaser .primary-image {
margin-right: var(--sp1)
}
[dir="rtl"] .node--view-mode-teaser .primary-image {
margin-left: var(--sp1)
1 year ago
}
.node--view-mode-teaser .primary-image {
1 year ago
flex-shrink: 0;
margin: 0;
margin-bottom: var(--sp1)
1 year ago
1 year ago
/* Ensure title does not wrap under image until necessary. */
}
1 year ago
1 year ago
.node--view-mode-teaser .primary-image + .node__title {
flex-basis: calc(100% - var(--sp)*4.5)
}
1 year ago
@media (min-width: 62.5rem) {
1 year ago
.node--view-mode-teaser .primary-image + .node__title {
flex-basis: auto
}
}
1 year ago
.node--view-mode-teaser .primary-image a {
1 year ago
display: block;
}
1 year ago
.node--view-mode-teaser .primary-image img {
1 year ago
width: calc(var(--sp)*3.5);
height: calc(var(--sp)*3.5);
-o-object-fit: cover;
object-fit: cover;
border-radius: 50%
}
1 year ago
@media (min-width: 62.5rem) {
1 year ago
.node--view-mode-teaser .primary-image img {
width: var(--grid-col-width);
height: var(--grid-col-width)
}
}
1 year ago
@media (min-width: 62.5rem) {
1 year ago
[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)
1 year ago
}
1 year ago
.node--view-mode-teaser .primary-image {
position: absolute;
top: 0;
margin: 0
}
}
1 year ago
.node--view-mode-teaser .node__title {
1 year ago
margin: 0;
margin-bottom: var(--sp1);
color: var(--color-text-neutral-loud);
font-size: 1.5rem;
line-height: var(--line-height-base)
}
1 year ago
@media (min-width: 62.5rem) {
1 year ago
.node--view-mode-teaser .node__title {
font-size: var(--sp2);
line-height: var(--sp3)
1 year ago
}
1 year ago
}
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
margin-left: 0
1 year ago
}
1 year ago
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
margin-right: 0
1 year ago
}
1 year ago
[dir="ltr"] .node--view-mode-teaser .field--tag-ref {
margin-right: 0
}
[dir="rtl"] .node--view-mode-teaser .field--tag-ref {
margin-left: 0
1 year ago
}
1 year ago
[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
}
1 year ago
@media (min-width: 62.5rem) {
1 year ago
.node--view-mode-teaser .field--tag-ref {
margin-top: var(--sp2)
1 year ago
}
1 year ago
}
@media (min-width: 62.5rem) {
.node--view-mode-teaser {
margin-bottom: var(--sp3)
1 year ago
}
1 year ago
}
1 year ago
.views-row:last-child .node--view-mode-teaser {
1 year ago
margin-bottom: 0;
1 year ago
}