File "template-canvas.css"
Full Path: /home/romayxjt/public_html/wp-content/plugins/woocommerce/packages/email-editor/src/Engine/Renderer/template-canvas.css
File size: 2.11 KB
MIME-type: text/plain
Charset: utf-8
/* Base CSS rules to be applied to all emails */
/* Created based on original MailPoet template for rendering emails */
/* StyleLint is disabled because some rules contain properties that linter marks as unknown (e.g. mso- prefix), but they are valid for email rendering */
/* stylelint-disable property-no-unknown */
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%; /* From MJMJ - Automatic test adjustment on mobile max to 100% */
-ms-text-size-adjust: 100%; /* From MJMJ - Automatic test adjustment on mobile max to 100% */
word-spacing: normal;
}
a {
text-decoration: none;
}
.email_layout_wrapper {
margin: 0 auto;
width: 100%;
}
.email_content_wrapper {
direction: ltr;
font-size: inherit;
text-align: left;
}
.email_footer {
direction: ltr;
text-align: center;
}
/* https://www.emailonacid.com/blog/article/email-development/tips-for-coding-email-preheaders */
.email_preheader,
.email_preheader * {
color: #fff;
display: none;
font-size: 1px;
line-height: 1px;
max-height: 0;
max-width: 0;
mso-hide: all;
opacity: 0;
overflow: hidden;
-webkit-text-size-adjust: none;
visibility: hidden;
}
@media screen and (max-width: 660px) {
.email-block-column-content {
max-width: 100% !important;
}
.block {
display: block;
width: 100% !important;
}
/* Ensure proper width of columns on mobile when we set 100% and a border is set */
.email-block-column {
box-sizing: border-box;
}
/* We set width to some tables e.g. for wrappers of horizontally aligned images and we force width 100% on mobile */
.email-table-with-width {
width: 100% !important;
}
/* Flex Layout */
.layout-flex-wrapper,
.layout-flex-wrapper tbody,
.layout-flex-wrapper tr {
display: block !important;
width: 100% !important;
}
.layout-flex-item {
display: block !important;
padding-bottom: 8px !important; /* Half of the flex gap between blocks */
padding-left: 0 !important;
width: 100% !important;
}
.layout-flex-item table,
.layout-flex-item td {
box-sizing: border-box !important;
display: block !important;
width: 100% !important;
}
/* Flex Layout End */
}
/* stylelint-enable property-no-unknown */