Created
June 25, 2014 11:00
-
-
Save Ahrry/f20e8e6df84705385b69 to your computer and use it in GitHub Desktop.
Template emailing - Before de l'hippodrome by PMU
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=320, target-densitydpi=device-dpi"> | |
<style type="text/css"> | |
/* Mobile-specific Styles */ | |
@media only screen and (max-width: 660px) { | |
table[class=w0], td[class=w0] { width: 0 !important; } | |
table[class=w10], td[class=w10], img[class=w10] { width:10px !important; } | |
table[class=w15], td[class=w15], img[class=w15] { width:5px !important; } | |
table[class=w30], td[class=w30], img[class=w30] { width:10px !important; } | |
table[class=w60], td[class=w60], img[class=w60] { width:10px !important; } | |
table[class=w125], td[class=w125], img[class=w125] { width:80px !important; } | |
table[class=w130], td[class=w130], img[class=w130] { width:55px !important; } | |
table[class=w140], td[class=w140], img[class=w140] { width:90px !important; } | |
table[class=w160], td[class=w160], img[class=w160] { width:180px !important; } | |
table[class=w170], td[class=w170], img[class=w170] { width:100px !important; } | |
table[class=w180], td[class=w180], img[class=w180] { width:80px !important; } | |
table[class=w195], td[class=w195], img[class=w195] { width:80px !important; } | |
table[class=w220], td[class=w220], img[class=w220] { width:80px !important; } | |
table[class=w240], td[class=w240], img[class=w240] { width:180px !important; } | |
table[class=w255], td[class=w255], img[class=w255] { width:185px !important; } | |
table[class=w275], td[class=w275], img[class=w275] { width:135px !important; } | |
table[class=w280], td[class=w280], img[class=w280] { width:135px !important; } | |
table[class=w300], td[class=w300], img[class=w300] { width:140px !important; } | |
table[class=w325], td[class=w325], img[class=w325] { width:95px !important; } | |
table[class=w360], td[class=w360], img[class=w360] { width:140px !important; } | |
table[class=w410], td[class=w410], img[class=w410] { width:180px !important; } | |
table[class=w470], td[class=w470], img[class=w470] { width:200px !important; } | |
table[class=w580], td[class=w580], img[class=w580] { width:280px !important; } | |
table[class=w640], td[class=w640], img[class=w640] { width:300px !important; } | |
table[class*=hide], td[class*=hide], img[class*=hide], p[class*=hide], span[class*=hide] { display:none !important; } | |
table[class=h0], td[class=h0] { height: 0 !important; } | |
p[class=footer-content-left] { text-align: center !important; } | |
#headline p { font-size: 30px !important; } | |
.article-content, #left-sidebar{ -webkit-text-size-adjust: 90% !important; -ms-text-size-adjust: 90% !important; } | |
.header-content, .footer-content-left {-webkit-text-size-adjust: 80% !important; -ms-text-size-adjust: 80% !important;} | |
img { height: auto; line-height: 100%;} | |
} | |
/* Client-specific Styles */ | |
#outlook a { padding: 0; } /* Force Outlook to provide a "view in browser" button. */ | |
body { width: 100% !important; } | |
.ReadMsgBody { width: 100%; } | |
.ExternalClass { width: 100%; display:block !important; } /* Force Hotmail to display emails at full width */ | |
/* Reset Styles */ | |
/* Add 100px so mobile switch bar doesn't cover street address. */ | |
body { background-color: #c7c7c7; margin: 0; padding: 0; } | |
img { outline: none; text-decoration: none; display: block;} | |
br, strong br, b br, em br, i br { line-height:100%; } | |
h1, h2, h3, h4, h5, h6 { line-height: 100% !important; -webkit-font-smoothing: antialiased; } | |
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: blue !important; } | |
h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active { color: red !important; } | |
/* Preferably not the same color as the normal header link color. There is limited support for psuedo classes in email clients, this was added just for good measure. */ | |
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { color: purple !important; } | |
/* Preferably not the same color as the normal header link color. There is limited support for psuedo classes in email clients, this was added just for good measure. */ | |
table td, table tr { border-collapse: collapse; } | |
.yshortcuts, .yshortcuts a, .yshortcuts a:link,.yshortcuts a:visited, .yshortcuts a:hover, .yshortcuts a span { | |
color: black; text-decoration: none !important; border-bottom: none !important; background: none !important; | |
} /* Body text color for the New Yahoo. This example sets the font of Yahoo's Shortcuts to black. */ | |
/* This most probably won't work in all email clients. Don't include code blocks in email. */ | |
code { | |
white-space: normal; | |
word-break: break-all; | |
} | |
#background-table { background-color: #c7c7c7; } | |
/* Webkit Elements */ | |
#top-bar { border-radius:6px 6px 0px 0px; -moz-border-radius: 6px 6px 0px 0px; -webkit-border-radius:6px 6px 0px 0px; -webkit-font-smoothing: antialiased; background-color: #000; color: #888888; } | |
#top-bar a { font-weight: bold; color: #eeeeee; text-decoration: none;} | |
#footer { border-radius:0px 0px 6px 6px; -moz-border-radius: 0px 0px 6px 6px; -webkit-border-radius:0px 0px 6px 6px; -webkit-font-smoothing: antialiased; } | |
/* Fonts and Content */ | |
body, td { font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; } | |
.header-content, .footer-content-left, .footer-content-right { -webkit-text-size-adjust: none; -ms-text-size-adjust: none; } | |
/* Prevent Webkit and Windows Mobile platforms from changing default font sizes on header and footer. */ | |
.header-content { font-size: 12px; color: #888888; } | |
.header-content a { font-weight: bold; color: #eeeeee; text-decoration: none; } | |
#headline p { color: #eeeeee; font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; font-size: 36px; text-align: center; margin-top:0px; margin-bottom:30px; } | |
#headline p a { color: #eeeeee; text-decoration: none; } | |
.article-title { font-size: 18px; line-height:24px; color: #b0b0b0; font-weight:bold; margin-top:0px; margin-bottom:18px; font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; } | |
.article-title a { color: #b0b0b0; text-decoration: none; } | |
.article-title.with-meta {margin-bottom: 0;} | |
.article-meta { font-size: 13px; line-height: 20px; color: #ccc; font-weight: bold; margin-top: 0;} | |
.article-content { font-size: 13px; line-height: 18px; color: #444444; margin-top: 0px; margin-bottom: 18px; font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif; } | |
.article-content a { color: #2f82de; font-weight:bold; text-decoration:none; } | |
.article-content img { max-width: 100% } | |
.article-content ol, .article-content ul { margin-top:0px; margin-bottom:18px; margin-left:19px; padding:0; } | |
.article-content li { font-size: 13px; line-height: 18px; color: #444444; } | |
.article-content li a { color: #2f82de; text-decoration:underline; } | |
.article-content p {margin-bottom: 15px;} | |
.footer-content-left { font-size: 12px; line-height: 15px; color: #888888; margin-top: 0px; margin-bottom: 15px; } | |
.footer-content-left a { color: #eeeeee; font-weight: bold; text-decoration: none; } | |
.footer-content-right { font-size: 11px; line-height: 16px; color: #888888; margin-top: 0px; margin-bottom: 15px; } | |
.footer-content-right a { color: #eeeeee; font-weight: bold; text-decoration: none; } | |
#footer { background-color: #000; color: #888888; } | |
#footer a { color: #eeeeee; text-decoration: none; font-weight: bold; } | |
#permission-reminder { white-space: normal; } | |
#street-address { color: #ffffff; white-space: normal; } | |
.ii a[href] {color: #FFF;} | |
</style> | |
<!--[if gte mso 9]> | |
<style _tmplitem="189" > | |
.article-content ol, .article-content ul { | |
margin: 0 0 0 24px; | |
padding: 0; | |
list-style-position: inside; | |
} | |
</style> | |
<![endif]--></head><body><table width="100%" cellpadding="0" cellspacing="0" border="0" id="background-table"> | |
<tbody><tr> | |
<td align="center" bgcolor="#c7c7c7" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;"> | |
<table class="w640" style="margin:0 10px;" width="640" cellpadding="0" cellspacing="0" border="0"> | |
<tbody><tr><td class="w640" width="640" height="20"></td></tr> | |
<tr> | |
<td class="w640" width="640" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;"> | |
<table id="top-bar" class="w580" width="580" cellpadding="0" cellspacing="0" border="0" bgcolor="#000"> | |
<tbody> | |
<tr> | |
<td class="w640" width="640" valign="middle" align="center" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;"> | |
<table class="w640" width="640" cellpadding="0" cellspacing="0" border="0"> | |
<tbody><tr><td class="w640" width="640" height="8"></td></tr> | |
</tbody></table> | |
<div class="header-content" style="padding:5px;"><webversion><a href="{{ email_url }}">{% editable_text "webversion", hint:"Description of this text field", priority:99, rows:3, %} {% endeditable_text %}</a></webversion></div> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td id="header" class="w640" width="640" align="center" bgcolor="#000000" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;"> | |
<div align="center" style="text-align: center"> | |
<img id="customHeaderImage" label="Header Image" editable="true" width="640" src="https://s3-eu-west-1.amazonaws.com/applidget-website-assets/formulaires/before-pmu/banner_email.jpg" class="w640" border="0" align="top" style="display: inline"> | |
</div> | |
</td> | |
</tr> | |
<tr><td class="w640" width="640" height="30" bgcolor="#ffffff" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;"></td></tr> | |
<tr id="simple-content-row"><td class="w640" width="640" bgcolor="#ffffff"> | |
<table class="w640" width="640" cellpadding="0" cellspacing="0" border="0"> | |
<tbody><tr> | |
<td class="w30" width="30"></td> | |
<td class="w580" width="580"> | |
<repeater> | |
<layout label="Text only"> | |
<table class="w580" width="580" cellpadding="0" cellspacing="0" border="0"> | |
<tbody><tr> | |
<td class="w580" width="580" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;"> | |
<h1 style="font-size: 18px; text-align: center; color: #444444; margin-bottom: 30px;">{% editable_text "title1", hint:"Description of this text field", priority:9, rows:4 %} {% endeditable_text %}</h1> | |
<p align="left" class="article-title"> | |
<singleline label="Title">{% editable_text "courtesy", hint:"Description of this text field", priority:99, rows:3, %} {% endeditable_text %}</singleline> | |
</p> | |
<div align="left" class="article-content"> | |
<multiline label="Description">{% editable_text "para1", hint:"Description of this text field", priority:0, rows:3, type:cktext_area, rows:4 %} {% endeditable_text %}</multiline> | |
</div> | |
</td> | |
</tr> | |
<tr><td class="w580" width="580" height="10"></td></tr> | |
</tbody></table> | |
</layout> | |
<layout label="Bouton"> | |
<table class="w220" width="220" cellpadding="0" cellspacing="0" border="0" align="center"> | |
<tbody> | |
<tr> | |
<td bgcolor="#241041" align="center" class="w220" height="40" width="220"style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;text-align:center;-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; color: #ffffff; display: block;"> | |
<a href="{{ guest.badge_url }}" style="font-weight: bold; font-family: Helvetica, Arial, sans-serif; border-radius: 6px; color: #ffffff; font-size: 16px; text-decoration: none; line-height: 40px; width:100%; white-space: nowrap;display:inline-block">{% editable_text "bouton1", hint:"Description of this text field", priority:0, rows:3 %} {% endeditable_text %}</a> | |
</td> | |
</tr> | |
<tr><td class="w220" width="220" height="30"></td></tr> | |
</tbody></table> | |
</layout> | |
</repeater> | |
</td> | |
<td class="w30" width="30"></td> | |
</tr> | |
</tbody></table> | |
</td></tr> | |
<tr><td class="w640" width="640" height="15" bgcolor="#ffffff"></td></tr> | |
<tr> | |
<td class="w640" width="640"> | |
<table id="footer" class="w640" width="640" cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" color="#FFFFFF"> | |
<tbody> | |
<tr> | |
<td class="w30" width="30"></td> | |
<td class="w580" width="360" valign="top" align="center" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;"> | |
<span class=""> | |
<p id="permission-reminder" class="footer-content-left" style="color: #FFFFFF; font-size: 10px; padding-top: 8px;"> | |
<span>{% editable_text "bottom text", hint:"Description of this text field", priority:0 %} {% endeditable_text %}</span> | |
</p> | |
</span> | |
</td> | |
<td class="w30" width="30"></td> | |
</tr> | |
<tr> | |
<td class="w30" width="30"></td> | |
<td class="w580 h0" width="360" height="15" align="center" style="font-family: 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;color: #FFFFFF; font-size: 10px; padding-bottom: 8px;"> | |
{% editable_text "address", hint:"Description of this text field", priority:0 %} {% endeditable_text %} | |
</td> | |
<td class="w30" width="30"></td> | |
</tr> | |
</tbody> | |
</table> | |
</td> | |
</tr> | |
<tr><td class="w640" width="640" height="60"></td></tr> | |
</tbody></table> | |
</td> | |
</tr> | |
</tbody></table></body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment