head meta(http-equiv="Content-Type" content="text/html; charset=UTF-8") meta(name="viewport" content="initial-scale=1.0") meta(name="format-detection" content="telephone=no") title #{mailSubject} style(type="text/css"). body{ margin: 0; padding: 0; } img{ border: 0px; display: block; } .socialLinks{ font-size: 6px; } .socialLinks a{ display: inline-block; } .long-text p{ margin: 1em 0px; } .long-text p:last-child{ margin-bottom: 0px; } .long-text p:first-child{ margin-top: 0px; } style(type="text/css"). /* yahoo, hotmail */ .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div{ line-height: 100%; } .yshortcuts a{ border-bottom: none !important; } .vb-outer{ min-width: 0 !important; } .RMsgBdy, .ExternalClass{ width: 100%; background-color: #3f3f3f; background-color: #8c599c} /* outlook/office365 add buttons outside not-linked images and safari have 2px margin */ [o365] button{ margin: 0 !important; } /* outlook */ table{ mso-table-rspace: 0pt; mso-table-lspace: 0pt; } #outlook a{ padding: 0; } img{ outline: none; text-decoration: none; border: none; -ms-interpolation-mode: bicubic; } a img{ border: none; } @media screen and (max-width: 600px) { table.vb-container, table.vb-row{ width: 95% !important; } .mobile-hide{ display: none !important; } .mobile-textcenter{ text-align: center !important; } .mobile-full{ width: 100% !important; max-width: none !important; } } /* previously used also screen and (max-device-width: 600px) but Yahoo Mail doesn't support multiple queries */ style(type="text/css"). #ko_textBlock_5 .links-color a, #ko_textBlock_5 .links-color a:link, #ko_textBlock_5 .links-color a:visited, #ko_textBlock_5 .links-color a:hover{ color: #3f3f3f; color: #3f3f3f; text-decoration: underline } #ko_footerBlock_2 .links-color a, #ko_footerBlock_2 .links-color a:link, #ko_footerBlock_2 .links-color a:visited, #ko_footerBlock_2 .links-color a:hover{ color: #cccccc; color: #cccccc; text-decoration: underline }