amp-story-grid-layer[template="fill"] .wp-block-image { margin: 0; } .amp-story-block-wrapper > h1, .amp-story-block-wrapper > h2, .amp-story-block-wrapper > p, .wp-block-amp-amp-story-post-author, .wp-block-amp-amp-story-post-title, .wp-block-amp-amp-story-post-date { padding: 7px !important; } /* with amp-fit-text */ .wp-block-amp-amp-story-post-author, .wp-block-amp-amp-story-post-title, .wp-block-amp-amp-story-post-date { display: flex; } /* no amp-fit-text */ .wp-block-amp-amp-story-post-author.amp-text-content, .wp-block-amp-amp-story-post-title.amp-text-content, .wp-block-amp-amp-story-post-date.amp-text-content { display: block; } .wp-block-amp-amp-story-cta.aligncenter { text-align: center; } .wp-block-amp-amp-story-cta.alignright { /*rtl:ignore*/ text-align: right; } .amp-block-story-cta__link { border: none; box-shadow: none; color: inherit; cursor: pointer; display: inline-block; font-size: 18px; margin: 0; padding: 12px 24px; text-align: center; text-decoration: none; white-space: normal; overflow-wrap: break-word; } .wp-block-amp-amp-story-text { font-weight: normal; } .is-style-rounded, .is-style-rounded img { border-radius: 5px; } .is-style-half-rounded { border-radius: 4px 4px 26px 26px; } amp-story-grid-layer amp-img > img { object-position: inherit; } .is-style-white p, .is-style-white.wp-block-quote cite, .is-style-white .wp-block-quote__citation { color: #fff; } .wp-block-quote { background: url("../images/quote-black.svg") center -23px no-repeat; } .wp-block-quote cite { font-style: normal; } table.wp-block-table { min-width: initial; } .is-style-white.wp-block-quote { background-image: url("../images/quote-white.svg"); } /** * See https://github.com/ampproject/amp-wp/issues/2283 */ .edit-post-layout[data-block-name="core/video"] .edit-post-settings-sidebar__panel-block .block-editor-block-inspector__card + div > .components-panel__body:first-child .components-toggle-control:nth-child(2), .edit-post-layout[data-block-name="core/video"] .edit-post-settings-sidebar__panel-block .block-editor-block-inspector__card + div > .components-panel__body:first-child .components-toggle-control:nth-child(6) { display: none; } /* Block Warnings */ .is-selected .block-editor-block-list__block .block-editor-warning { border-color: inherit; } .block-editor-block-list__block .block-editor-warning { margin: 0; }