3 <meta charset="UTF-8"></meta>
5 <body style="padding: 0; margin: 0; font-size: 14px; font-family: 'Helvetica Neue', Arial, sans-serif; color: #222">
6 <table style="background-color: #eee; width: 100%">
8 <%# having width=100% on the table and then only a fixed width on the middle cell gives us a max-width that works in Outlook %>
10 <td width="600" style="text-align: center; padding: 0px 7px">
11 <table style="width: 100%; color: #222; margin-left: auto; margin-right: auto">
13 <td style="width: 30px; padding: 10px 10px 10px 0px">
14 <a href="<%= @root_url %>" target="_blank">
15 <%= image_tag attachments["logo.png"].url, alt: "OpenStreetMap", title: "OpenStreetMap", height: "30", width: "30", border: "0" %>
18 <%# the "width: 100%" here looks wrong, but I couldn't find a better way of making Outlook give this cell full width %>
19 <td style="width: 100%; padding: 0px; text-align: left">
20 <%# NB we need "text-decoration: none" twice: GMail only honours it on the <a> but Outlook only on the <strong> %>
21 <a href="<%= @root_url %>" target="_blank" style="text-decoration: none; color: #000">
22 <strong style="text-decoration: none; font-size: 18px; font-weight: 600; margin: 0; text-align: left; font-family: 'Helvetica Neue', Arial, sans-serif">OpenStreetMap</strong>
28 <table style="background-color: #fff; color: #222; border: solid 1px #ccc; border-collapse: separate">
30 <td style="text-align: left; padding: 0px 15px 5px 15px">
31 <%= raw style_message(yield) %>
42 <td style="text-align: center; font-size: 11px; font-family: 'Helvetica Neue', Arial, sans-serif">
44 <p style="margin-bottom: 10px">
45 <a href="<%= @root_url %>" target="_blank" style="color: #222">OpenStreetMap</a>