3 {* Apple Mail dark mode fix, see https://stackoverflow.com/a/58795882 *}
4 <meta name="color-scheme" content="only">
5 <style type="text/css">
6 html, body, h1, h2, h3 {
12 background-color: {$style->getVariable('wcfContentBackground', true)};
13 color: {$style->getVariable('wcfContentText', true)};
17 font-family: {@$style->getEmailFontFamily()};
18 font-size: {$style->getVariable('wcfFontSizeDefault')};
22 color: {$style->getVariable('wcfContentLink', true)};
23 text-decoration: none;
35 {* see email_paddingHelper.tpl *}
36 table.paddingHelper.block {
41 padding: 40px 40px 60px;
47 background-color: {$style->getVariable('wcfHeaderBackground', true)};
48 color: {$style->getVariable('wcfHeaderText', true)};
51 background-color: {$style->getVariable('wcfFooterBackground', true)};
52 color: {$style->getVariable('wcfFooterText', true)};
55 color: {$style->getVariable('wcfFooterLink', true)};
60 font-size: {$style->getVariable('wcfFontSizeTitle')};
65 color: {$style->getVariable('wcfContentHeadlineText')};
66 font-size: {$style->getVariable('wcfFontSizeSection')};
69 font-size: {$style->getVariable('wcfFontSizeSmall')};
79 background-color: {$style->getVariable('wcfButtonPrimaryBackground', true)};
84 color: {$style->getVariable('wcfButtonPrimaryText', true)};
88 border-top: 1px solid {$style->getVariable('wcfContentBorder', true)};
89 border-bottom: 1px solid {$style->getVariable('wcfContentBorder', true)};
93 .box128 td.boxContent {
98 border-top: 1px solid {$style->getVariable('wcfContentBorder', true)};
99 border-bottom: 1px solid {$style->getVariable('wcfContentBorder', true)};
103 .box64 td.boxContent {
108 border-top: 1px solid {$style->getVariable('wcfContentBorder', true)};
109 border-bottom: 1px solid {$style->getVariable('wcfContentBorder', true)};
113 .box48 td.boxContent {
118 border-top: 1px solid {$style->getVariable('wcfContentBorder', true)};
119 border-bottom: 1px solid {$style->getVariable('wcfContentBorder', true)};
123 .box32 td.boxContent {
127 .containerHeadline h3 {
132 font-size: {$style->getVariable('wcfFontSizeHeadline')};
135 .containerHeadline h3 a {
136 font-size: {$style->getVariable('wcfFontSizeHeadline')};
140 background-color: #fff;
146 {capture assign='header'}
147 <h1>{PAGE_TITLE|phrase}</h1>
149 {include file='email_paddingHelper' block=true class='header' content=$header sandbox=true}
151 {if $beforeContent|isset}{@$beforeContent}{/if}
153 {include file='email_paddingHelper' block=true class='content' content=$content sandbox=true}
155 {if $afterContent|isset}{@$afterContent}{/if}
157 {capture assign='footer'}
159 <span style="font-size: 0;">-- <br></span>
161 {if MAIL_SIGNATURE_HTML|phrase}
162 {@MAIL_SIGNATURE_HTML|phrase}
164 {@MAIL_SIGNATURE|phrase|newlineToBreak}
166 {/content}{/hascontent}{/capture}
167 {include file='email_paddingHelper' block=true class='footer' content=$footer sandbox=true}
169 <table>{* Do not remove: This table is needed by certain less able email clients to properly support background colors. Don't ask. *}</table>