Files
display-featured-image-genesis/sass/display-featured-image-genesis.scss
T
2023-11-11 12:20:54 -05:00

72 lines
969 B
SCSS

.has-leader .site-inner {
margin-top: 0;
}
.big-leader {
overflow: hidden;
max-height: 100vh;
position: relative;
.wrap {
position: absolute;
right: 0;
bottom: 0;
left: 0;
width: 100%;
z-index: 1;
}
&__image {
display: block;
height: 100vh;
max-width: none;
object-fit: cover;
width: 100vw;
}
.featured-image-overlay {
color: #fff;
text-align: center;
}
.excerpt,
.archive-description {
margin-bottom: 24px;
padding: 24px;
background: rgba(255,255,255,0.85);
}
p {
margin-top: 18px;
margin-bottom: 0;
.home & {
margin-top: 0;
}
&:last-child {
.home & {
margin-bottom: 0;
}
}
}
.excerpt .entry-title,
.archive-description .archive-title {
margin-bottom: 0;
}
}
@keyframes dfig-fadein {
from { opacity: 0; }
to { opacity: 1; }
}
.backstretch.no-js {
max-height: 600px;
}
img.featured {
max-width: 100%;
}