From: Alexander Ebert Date: Sun, 9 Feb 2020 19:35:09 +0000 (+0100) Subject: AMP templates: Proper styling for quotes and message lists X-Git-Tag: 5.2.3~41 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=01c12b3718dc7b2eb3f30e56bc6bd044da4c6f7e;p=GitHub%2FWoltLab%2FWCF.git AMP templates: Proper styling for quotes and message lists --- diff --git a/com.woltlab.wcf/templates/ampHeader.tpl b/com.woltlab.wcf/templates/ampHeader.tpl index 064d449f67..887b80c26a 100644 --- a/com.woltlab.wcf/templates/ampHeader.tpl +++ b/com.woltlab.wcf/templates/ampHeader.tpl @@ -211,6 +211,35 @@ .breadcrumbs li:nth-child(4) { padding-left: 40px; } + + .quoteBox { + align-items: center; + border: 1px solid {@$__wcf->getStyleHandler()->getStyle()->getVariable('wcfContentBorderInner')}; + border-left-width: 5px; + display: flex; + flex-wrap: wrap; + margin: 0; + padding: 5px 10px; + } + .quoteBoxIcon { + border-radius: 50%; + flex: 0 0 16px; + margin-right: 5px; + overflow: hidden; + } + .quoteBoxTitle { + flex: 0 0 calc(100% - 21px); /* width + margin */ + } + .quoteBoxContent { + flex: 0 0 100%; + font-style: italic; + } + + .article ~ .section { + border-top: 1px solid {@$__wcf->getStyleHandler()->getStyle()->getVariable('wcfContentBorder')}; + margin-top: 20px; + padding: 20px 10px 0 10px; + } {literal}{/literal}