github.com/justinjmoses/evergreen@v0.0.0-20170530173719-1d50e381ff0d/notify/templates/email_layout_base.html (about) 1 {{ define "base" }} 2 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 5 <head> 6 <title>{{ .Subject }}</title> 7 8 <style type="text/css"> 9 @media only screen and (max-device-width: 600px) { 10 div, p, a, li, td, span { -webkit-text-size-adjust:none; } 11 12 .main-content { 13 width: 100%; 14 } 15 16 .task { 17 font-size: 28px !important; 18 line-height: 22px !important; 19 } 20 21 .status { 22 font-size: 14px !important; 23 } 24 25 .link { 26 font-size: 12px !important; 27 } 28 29 .build { 30 font-size: 16px !important; 31 } 32 33 .commit-message { 34 font-size: 14px !important; 35 } 36 37 .heading { 38 font-size: 18px !important; 39 } 40 41 .code { 42 font-size: 12px !important; 43 } 44 45 .commit-meta { 46 font-size: 11px !important; 47 } 48 } 49 </style> 50 </head> 51 <body> 52 <table width="100%" height="100%" cellpadding="0" cellspacing="0" bgcolor="#f5f6f7"> 53 <tr><td height="50"></td></tr> 54 <tr> 55 <td align="center" valign="top"> 56 <!-- table lvl 1 --> 57 <table width="600" cellpadding="0" cellspacing="0" bgcolor="#ffffff" style="border:1px solid #f1f2f5" class="main-content"> 58 59 {{template "content" .}} 60 61 </table> 62 </td> 63 </tr> 64 <tr><td height="50"></td></tr> 65 </table> 66 </body> 67 </html> 68 69 {{end}}