From 6f9fd79120d7957bd0b1cf8fa43b67b5875fb411 Mon Sep 17 00:00:00 2001 From: James Morris Date: Tue, 30 Nov 2021 14:54:11 +0000 Subject: [PATCH] Add a basic style for alternative quote for AMP --- core/frontend/apps/amp/lib/views/amp.hbs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/frontend/apps/amp/lib/views/amp.hbs b/core/frontend/apps/amp/lib/views/amp.hbs index 62798a8840..4696346002 100644 --- a/core/frontend/apps/amp/lib/views/amp.hbs +++ b/core/frontend/apps/amp/lib/views/amp.hbs @@ -281,6 +281,18 @@ background: var(--ghost-accent-color, #1292EE); } + .post-content blockquote.kg-blockquote-alt { + font-size: 2rem; + line-height: 1.7; + text-align: center; + color: #738a94; + padding: 1rem 6rem 1.5rem; + } + + .post-content blockquote.kg-blockquote-alt::before { + display: none; + } + .post-content :not(.kg-card):not([id]) + .kg-card { margin-top: 40px; }