fix: validate CHRNX editorial fallbacks
This commit is contained in:
8 files changed
+232
-17
No files matched your search
@@ -12,5 +12,6 @@
|
||||
"headingLevel": { "type": "integer", "default": 2, "enum": [2, 3, 4, 5, 6] }
|
||||
},
|
||||
"supports": { "html": false, "align": ["wide", "full"] },
|
||||
"style": "file:./style.css",
|
||||
"render": "file:./render.php"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
.chrnx-topic-hero__art {
|
||||
min-width: min(100%, 16rem);
|
||||
}
|
||||
|
||||
.chrnx-topic-hero__fallback {
|
||||
aspect-ratio: 4 / 5;
|
||||
background-color: var(--wp--preset--color--panel);
|
||||
background-image:
|
||||
radial-gradient(circle at 68% 28%, var(--wp--preset--color--green) 0 12%, transparent 13%),
|
||||
linear-gradient(145deg, var(--wp--preset--color--violet), var(--wp--preset--color--night));
|
||||
display: block;
|
||||
min-height: 16rem;
|
||||
width: 100%;
|
||||
}
|
||||
Reference in new issue
Block a user