diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index 141b9d9f86a4c..13648d46e5eeb 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -497,6 +497,17 @@ margin-top: 0.15em; } +/* Block: Calendar --------------------------- */ + +.editor-styles-wrapper .wp-calendar-table caption { + padding: 0.5em; + font-weight: 600; +} +:root .editor-styles-wrapper :where(.wp-block-calendar[style*="font-weight"]) caption, +:root .editor-styles-wrapper :where(.wp-block-calendar *[style*="font-weight"]) ~ caption { + font-weight: inherit; +} + /* Block: Table ------------------------------ */ diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 862a51cc2b8e1..4680125d53bf4 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -501,6 +501,17 @@ margin-top: 0.15em; } +/* Block: Calendar --------------------------- */ + +.editor-styles-wrapper .wp-calendar-table caption { + padding: 0.5em; + font-weight: 600; +} +:root .editor-styles-wrapper :where(.wp-block-calendar[style*="font-weight"]) caption, +:root .editor-styles-wrapper :where(.wp-block-calendar *[style*="font-weight"]) ~ caption { + font-weight: inherit; +} + /* Block: Table ------------------------------ */ diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index 6806c9104b068..068ecba5246d1 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -3055,6 +3055,11 @@ ol.wp-block-latest-comments { font-size: inherit; } +:root :where(.wp-block-calendar[style*="font-weight"]) caption, +:root :where(.wp-block-calendar *[style*="font-weight"]) ~ caption { + font-weight: inherit; +} + /* Block: Columns ---------------------------- */ .wp-block-columns.alignfull, diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index 08843cefe43a4..e3f6593c98fdb 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -3075,6 +3075,11 @@ ol.wp-block-latest-comments { font-size: inherit; } +:root :where(.wp-block-calendar[style*="font-weight"]) caption, +:root :where(.wp-block-calendar *[style*="font-weight"]) ~ caption { + font-weight: inherit; +} + /* Block: Columns ---------------------------- */ .wp-block-columns.alignfull,