|
@@ -32,6 +32,143 @@
|
|
|
},
|
|
|
"layout": {
|
|
|
"contentSize": "600px",
|
|
|
+ "definitions": {
|
|
|
+ "constrained": {
|
|
|
+ "baseStyles": [
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "float": "left",
|
|
|
+ "margin-inline-end": "2em",
|
|
|
+ "margin-inline-start": "0"
|
|
|
+ },
|
|
|
+ "selector": " > .alignleft"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "float": "right",
|
|
|
+ "margin-inline-end": "0",
|
|
|
+ "margin-inline-start": "2em"
|
|
|
+ },
|
|
|
+ "selector": " > .alignright"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "margin-left": "auto !important",
|
|
|
+ "margin-right": "auto !important"
|
|
|
+ },
|
|
|
+ "selector": " > .aligncenter"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "margin-left": "auto !important",
|
|
|
+ "margin-right": "auto !important",
|
|
|
+ "max-width": "var(--wp--style--global--content-size)"
|
|
|
+ },
|
|
|
+ "selector": " > :where(:not(.alignleft):not(.alignright):not(.alignfull))"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "max-width": "var(--wp--style--global--wide-size)"
|
|
|
+ },
|
|
|
+ "selector": " > .alignwide"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "className": "is-layout-constrained",
|
|
|
+ "name": "constrained",
|
|
|
+ "slug": "constrained",
|
|
|
+ "spacingStyles": [
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "margin-block-end": "0",
|
|
|
+ "margin-block-start": "0"
|
|
|
+ },
|
|
|
+ "selector": " > *"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "margin-block-end": "0",
|
|
|
+ "margin-block-start": null
|
|
|
+ },
|
|
|
+ "selector": " > * + *"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "default": {
|
|
|
+ "baseStyles": [
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "float": "left",
|
|
|
+ "margin-inline-end": "2em",
|
|
|
+ "margin-inline-start": "0"
|
|
|
+ },
|
|
|
+ "selector": " > .alignleft"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "float": "right",
|
|
|
+ "margin-inline-end": "0",
|
|
|
+ "margin-inline-start": "2em"
|
|
|
+ },
|
|
|
+ "selector": " > .alignright"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "margin-left": "auto !important",
|
|
|
+ "margin-right": "auto !important"
|
|
|
+ },
|
|
|
+ "selector": " > .aligncenter"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "className": "is-layout-flow",
|
|
|
+ "name": "default",
|
|
|
+ "slug": "flow",
|
|
|
+ "spacingStyles": [
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "margin-block-end": "0",
|
|
|
+ "margin-block-start": "0"
|
|
|
+ },
|
|
|
+ "selector": " > *"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "margin-block-end": "0",
|
|
|
+ "margin-block-start": null
|
|
|
+ },
|
|
|
+ "selector": " > * + *"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "flex": {
|
|
|
+ "baseStyles": [
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "align-items": "center",
|
|
|
+ "flex-wrap": "wrap"
|
|
|
+ },
|
|
|
+ "selector": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "margin": "0"
|
|
|
+ },
|
|
|
+ "selector": " > *"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "className": "is-layout-flex",
|
|
|
+ "displayMode": "flex",
|
|
|
+ "name": "flex",
|
|
|
+ "slug": "flex",
|
|
|
+ "spacingStyles": [
|
|
|
+ {
|
|
|
+ "rules": {
|
|
|
+ "gap": null
|
|
|
+ },
|
|
|
+ "selector": ""
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
"wideSize": "1200px"
|
|
|
},
|
|
|
"shadow": {
|
|
@@ -320,20 +457,28 @@
|
|
|
"textDecoration": "none"
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ "spacing": {
|
|
|
+ "padding": {
|
|
|
+ "left": "var:preset|spacing|40"
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"core/avatar": {
|
|
|
"border": {
|
|
|
"radius": "999px"
|
|
|
+ },
|
|
|
+ "typography": {
|
|
|
+ "lineHeight": "0"
|
|
|
}
|
|
|
},
|
|
|
"core/button": {
|
|
|
"spacing": {
|
|
|
"padding": {
|
|
|
- "bottom": "1.0625rem",
|
|
|
- "left": "1.75rem",
|
|
|
- "right": "1.75rem",
|
|
|
- "top": "1.0625rem"
|
|
|
+ "bottom": "16px",
|
|
|
+ "left": "28px",
|
|
|
+ "right": "28px",
|
|
|
+ "top": "18px"
|
|
|
}
|
|
|
},
|
|
|
"typography": {
|
|
@@ -346,10 +491,10 @@
|
|
|
},
|
|
|
"spacing": {
|
|
|
"padding": {
|
|
|
- "bottom": "1rem",
|
|
|
- "left": "1.6875rem",
|
|
|
- "right": "1.6875rem",
|
|
|
- "top": "1rem"
|
|
|
+ "bottom": "15px",
|
|
|
+ "left": "27px",
|
|
|
+ "right": "27px",
|
|
|
+ "top": "17px"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -357,11 +502,11 @@
|
|
|
},
|
|
|
"core/buttons": {
|
|
|
"spacing": {
|
|
|
- "blockGap": "var(--wp--preset--spacing--40)"
|
|
|
+ "blockGap": "var:preset|spacing|40"
|
|
|
}
|
|
|
},
|
|
|
"core/calendar": {
|
|
|
- "css": ".wp-block-calendar table:where(:not(.has-text-color)) {color: var(--wp--preset--color--contrast);} .wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th {border-color: var(--wp--preset--color--contrast);}:where(.wp-block-calendar table:not(.has-background) th) {background-color: var(--wp--preset--color--contrast);color: var(--wp--preset--color--base);}"
|
|
|
+ "css": ".wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th {border-color: var(--wp--preset--color--contrast);}:where(.wp-block-calendar table:not(.has-background) th) {background-color: var(--wp--preset--color--contrast);color: var(--wp--preset--color--base);}"
|
|
|
},
|
|
|
"core/categories": {
|
|
|
"elements": {
|
|
@@ -375,6 +520,11 @@
|
|
|
"textDecoration": "none"
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ "spacing": {
|
|
|
+ "padding": {
|
|
|
+ "left": "var:preset|spacing|40"
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
"core/code": {
|
|
@@ -511,7 +661,7 @@
|
|
|
"css": " .wp-element-caption{text-align:center;}"
|
|
|
},
|
|
|
"core/latest-comments": {
|
|
|
- "css": " .wp-block-latest-comments__comment-date,.wp-block-latest-comments__comment-excerpt p{font-size: inherit;}.wp-block-latest-comments__comment-excerpt p{margin:0 0 var(--wp--style--block-gap)}",
|
|
|
+ "css": ".wp-block-latest-comments__comment-date {font-size: var(--wp--preset--font-size--x-small);}.wp-block-latest-comments__comment-excerpt p{font-size: var(--wp--preset--font-size--small);}",
|
|
|
"elements": {
|
|
|
"link": {
|
|
|
":hover": {
|
|
@@ -531,7 +681,7 @@
|
|
|
}
|
|
|
},
|
|
|
"core/latest-posts": {
|
|
|
- "css": " .wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date {font-size: inherit;}.wp-block-latest-posts__post-excerpt{margin:0 0 var(--wp--style--block-gap)}",
|
|
|
+ "css": ".wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date {font-size: var(--wp--preset--font-size--x-small);}",
|
|
|
"elements": {
|
|
|
"link": {
|
|
|
":hover": {
|
|
@@ -553,7 +703,7 @@
|
|
|
}
|
|
|
},
|
|
|
"core/navigation": {
|
|
|
- "css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--contrast);}",
|
|
|
+ "css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--contrast);} .wp-block-navigation__submenu-container.has-background {padding:0;}",
|
|
|
"elements": {
|
|
|
"link": {
|
|
|
":hover": {
|
|
@@ -567,7 +717,7 @@
|
|
|
}
|
|
|
},
|
|
|
"typography": {
|
|
|
- "fontSize": "var(--wp--preset--font-size--x-small)"
|
|
|
+ "fontSize": "var:preset|font-size|x-small"
|
|
|
}
|
|
|
},
|
|
|
"core/page-list": {
|
|
@@ -643,7 +793,7 @@
|
|
|
}
|
|
|
},
|
|
|
"core/post-comments-form": {
|
|
|
- "css": ".wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]), .wp-block-post-comments-form .comment-form textarea {line-height: inherit;} .wp-block-post-comments-form .form-submit {margin-bottom: 0;}",
|
|
|
+ "css": ".wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]), .wp-block-post-comments-form .comment-form textarea {line-height: inherit;}",
|
|
|
"spacing": {
|
|
|
"margin": {
|
|
|
"top": "var(--wp--preset--spacing--70)"
|
|
@@ -698,6 +848,9 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "core/post-template": {
|
|
|
+ "css": ".home-post-template > * + * { margin-top: 16px;}"
|
|
|
+ },
|
|
|
"core/post-terms": {
|
|
|
"elements": {
|
|
|
"link": {
|
|
@@ -740,7 +893,6 @@
|
|
|
"style": "solid",
|
|
|
"width": "1px 0"
|
|
|
},
|
|
|
- "css": ".wp-block-pullquote cite {display:block;margin-top: var(--wp--preset--spacing--50)}",
|
|
|
"spacing": {
|
|
|
"padding": "var(--wp--preset--spacing--50)"
|
|
|
},
|
|
@@ -750,7 +902,6 @@
|
|
|
}
|
|
|
},
|
|
|
"core/query-pagination": {
|
|
|
- "css": ".wp-block-query-pagination .wp-block-query-pagination-next, .wp-block-query-pagination .wp-block-query-pagination-previous, .wp-block-query-pagination .wp-block-query-pagination-numbers {margin-bottom:0;}",
|
|
|
"elements": {
|
|
|
"link": {
|
|
|
":hover": {
|
|
@@ -804,7 +955,7 @@
|
|
|
}
|
|
|
},
|
|
|
"core/search": {
|
|
|
- "css": " :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {background-color: #ffffff;}",
|
|
|
+ "css": ".wp-block-search__button-inside .wp-block-search__inside-wrapper {padding: 2px;} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {background-color: #ffffff;border-color: #949494;} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {padding: 0 0 0 var(--wp--preset--spacing--40);} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button {padding-right: var(--wp--preset--spacing--40);} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button, :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button {background-color: #ffffff; color: var(--wp--preset--color--primary);} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button:hover, :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button:focus {background-color: #ffffff;}",
|
|
|
"typography": {
|
|
|
"fontSize": "var(--wp--preset--font-size--x-small)",
|
|
|
"lineHeight": "1"
|
|
@@ -827,7 +978,7 @@
|
|
|
},
|
|
|
"core/site-title": {
|
|
|
"color": {
|
|
|
- "text": "var(--wp--preset--color--contrast)"
|
|
|
+ "text": "var:preset|color|contrast"
|
|
|
},
|
|
|
"elements": {
|
|
|
"link": {
|
|
@@ -837,7 +988,7 @@
|
|
|
}
|
|
|
},
|
|
|
"color": {
|
|
|
- "text": "var(--wp--preset--color--contrast)"
|
|
|
+ "text": "var:preset|color|contrast"
|
|
|
},
|
|
|
"typography": {
|
|
|
"textDecoration": "none"
|
|
@@ -859,7 +1010,7 @@
|
|
|
}
|
|
|
},
|
|
|
"core/table": {
|
|
|
- "css": " thead{border-bottom-width: 1px;} .wp-block-table tfoot{border-top-width: 1px;} .wp-block-table .wp-element-caption{text-align:center;}"
|
|
|
+ "css": " + .wp-element-caption {text-align:center;}"
|
|
|
},
|
|
|
"core/table-of-contents": {
|
|
|
"elements": {
|
|
@@ -879,8 +1030,14 @@
|
|
|
"css": ".wp-block-tag-cloud.is-style-outline a {border-radius: 999px; padding: 0 1rem;} .wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base); background-color: var(--wp--preset--color--contrast);}"
|
|
|
},
|
|
|
"core/term-description": {
|
|
|
+ "css": ".wp-block-term-description p:first-child {margin-top: 0;} .wp-block-term-description p:last-child {margin-bottom: 0;}",
|
|
|
+ "spacing": {
|
|
|
+ "margin": {
|
|
|
+ "top": "0.5rem"
|
|
|
+ }
|
|
|
+ },
|
|
|
"typography": {
|
|
|
- "fontSize": "var(--wp--preset--font-size--x-small)"
|
|
|
+ "fontSize": "var:preset|font-size|x-small"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -900,12 +1057,6 @@
|
|
|
"color": {
|
|
|
"background": "var(--wp--preset--color--primary)",
|
|
|
"text": "var(--wp--preset--color--base)"
|
|
|
- },
|
|
|
- "outline": {
|
|
|
- "color": "var(--wp--preset--color--primary)",
|
|
|
- "offset": "2px",
|
|
|
- "style": "dotted",
|
|
|
- "width": "1px"
|
|
|
}
|
|
|
},
|
|
|
":hover": {
|
|
@@ -923,10 +1074,10 @@
|
|
|
},
|
|
|
"spacing": {
|
|
|
"padding": {
|
|
|
- "bottom": "1.0625rem",
|
|
|
- "left": "1.75rem",
|
|
|
- "right": "1.75rem",
|
|
|
- "top": "1.0625rem"
|
|
|
+ "bottom": "16px",
|
|
|
+ "left": "28px",
|
|
|
+ "right": "28px",
|
|
|
+ "top": "18px"
|
|
|
}
|
|
|
},
|
|
|
"typography": {
|
|
@@ -939,7 +1090,7 @@
|
|
|
},
|
|
|
"caption": {
|
|
|
"color": {
|
|
|
- "text": "var(--wp--preset--color--contrast)"
|
|
|
+ "text": "var:preset|color|contrast"
|
|
|
},
|
|
|
"spacing": {
|
|
|
"margin": {
|
|
@@ -952,7 +1103,7 @@
|
|
|
}
|
|
|
},
|
|
|
"typography": {
|
|
|
- "fontSize": "var(--wp--preset--font-size--x-small)"
|
|
|
+ "fontSize": "var:preset|font-size|x-small"
|
|
|
}
|
|
|
},
|
|
|
"h1": {
|
|
@@ -1004,17 +1155,17 @@
|
|
|
}
|
|
|
},
|
|
|
"spacing": {
|
|
|
- "blockGap": "var(--wp--preset--spacing--50)",
|
|
|
+ "blockGap": "var:preset|spacing|50",
|
|
|
"padding": {
|
|
|
"bottom": "0",
|
|
|
- "left": "var(--wp--preset--spacing--50)",
|
|
|
- "right": "var(--wp--preset--spacing--50)",
|
|
|
+ "left": "var:preset|spacing|50",
|
|
|
+ "right": "var:preset|spacing|50",
|
|
|
"top": "0"
|
|
|
}
|
|
|
},
|
|
|
"typography": {
|
|
|
- "fontFamily": "var(--wp--preset--font-family--commissioner)",
|
|
|
- "fontSize": "var(--wp--preset--font-size--small)",
|
|
|
+ "fontFamily": "var:preset|font-family|commissioner",
|
|
|
+ "fontSize": "var:preset|font-size|small",
|
|
|
"lineHeight": "1.5"
|
|
|
}
|
|
|
},
|