Вот код сниппета header:
{{ company_name }}: Message title
#outlook a {
padding: 0;
}
body {
width: 100% !important;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
margin: 0;
padding: 0;
}
img {
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
a {
outline: none;
}
a img {
border: none;
}
.image_fix {
display: block;
}
.message-header > td {
padding: 10px 30px 20px 30px;
}
.message-header__title {
background-color: {% if styles.links %}{{styles.links}}{% else %}#999{% endif %}
}
.message-header__title > td {
padding: 20px 30px;
}
.message-header__title h1 {
font-size: 20px;
text-transform: uppercase;
font-weight: 400;
color: #Fff;
}
.message-title > td,
.message-body > td {
padding: 30px;
}
.message-footer > td {
padding: 20px 30px;
background-color: #757f83;
}
.message-copyright > td {
padding: 0px 30px 10px;
}
.message-header td,
.message-title td,
.message-body th, .message-body td,
.message-footer th, .message-footer td,
.message-copyright th, .message-copyright td {
color: {{styles.font}};
font-size: {{styles.body_font_size}};
font-family: {{styles.body_font}},Helvetica,Arial,sans-serif;
}
.message-footer {
border-top: 1px solid {{styles.base}}
}
.message-body table th,
.message-footer table th {
text-transform: uppercase;
border-bottom: 1px solid {{styles.base}};
text-align: left;
}
.message-body table td,
.message-footer table td {
padding: 5px;
}
.message-footer table th{
border: none;
}
.message-footer td {
color: #fff;
}
.footer-contact__title {
margin: 0px;
text-transform: uppercase;
font-size: 16px !important;
font-weight: 600;
color: #fff !important;
}
.footer-social__title {
margin: 0px;
text-transform: uppercase;
font-size: 16px !important;
font-weight: 600;
color: #fff !important;
}
.message-footer table td.footer-social td {
padding: 0px;
padding-right: 10px;
}
.email-preview{
display:none;
font-size:1px;
color:#333333;
line-height:1px;
max-height:0px;
max-width:0px;
opacity:0;
overflow:hidden;
}
.with-subline {
color: {{styles.font}};
text-transform: uppercase;
font-weight: 700;
font-size: 1em;
padding-bottom: 10px;
border-bottom: 1px solid #D4D4D4;
}
p {
margin: 1em 0;
}
h1,h2,h3,h4,h5,h6 {
color: {{styles.font}};
}
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
color: {{styles.links}};
}
h1 a:active,h2 a:active,h3 a:active,h4 a:active,h5 a:active,h6 a:active {
color: red;
}
h1 a:visited,h2 a:visited,h3 a:visited,h4 a:visited,h5 a:visited,h6 a:visited {
color: purple;
}
table td,
table th {
border-collapse: collapse;
}
table {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
address {
margin: 0px;
}
.content-wrapper {
border: 1px solid {{ styles.base }}
}
.copyright td {
padding: 10px 0 0 0;
padding-bottom: 0 !important;
}
a {
color: {{styles.links}};
}
@media only screen and (max-device-width: 480px){
.content-wrapper{width: 100% !important;border: 3px solid #ccc !important; }
table[width]{
width: 100%! important;
}
.message-header > td,
.message-title > td,
.message-body > td,
.message-footer > td,
.message-copyright > td {
padding: 10px !important;
}
.message-header td,
.message-title td,
.message-body th, .message-body td,
.message-footer th, .message-footer td,
.message-copyright th, .message-copyright td {
font-size: 16px !important;
}
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {}
@media only screen and (-webkit-device-pixel-ratio:.75) {}
@media only screen and (-webkit-device-pixel-ratio:1) {}
@media only screen and (-webkit-device-pixel-ratio:1.5) {}
</style>
|
{% if title %}
{{title}}
|
{% endif %}
<tr class="message-body">
|
|