feat: add editorial query blocks
This commit is contained in:
24 files changed
+1421
No files matched your search
@@ -0,0 +1,27 @@
|
||||
.chrnx-featured-stories__grid {
|
||||
display: grid;
|
||||
gap: var(--wp--preset--spacing--40, 1.5rem);
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
|
||||
}
|
||||
|
||||
.chrnx-featured-story,
|
||||
.chrnx-featured-story__link {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.chrnx-featured-story__link {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.chrnx-featured-story__image,
|
||||
.chrnx-featured-story__fallback {
|
||||
aspect-ratio: 3 / 2;
|
||||
display: block;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.chrnx-featured-story__fallback {
|
||||
background: linear-gradient(135deg, var(--wp--preset--color--violet), var(--wp--preset--color--green));
|
||||
}
|
||||
Reference in new issue
Block a user