Skip to content

Instantly share code, notes, and snippets.

@zolotyh
Created September 10, 2014 12:45
Show Gist options
  • Save zolotyh/50b2e7d2707054b6b7e6 to your computer and use it in GitHub Desktop.
Save zolotyh/50b2e7d2707054b6b7e6 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style type="text/css">
/* Based on The MailChimp Reset INLINE: Yes. */
/* Client-specific Styles */
#outlook a {
padding: 0;
}
/* Force Outlook to provide a "view in browser" menu link. */
body {
width: 100% !important;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
margin: 0;
padding: 0;
}
/* Prevent Webkit and Windows Mobile platforms from changing default font sizes.*/
.ExternalClass {
width: 100%;
}
/* Force Hotmail to display emails at full width */
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {
line-height: 100%;
}
/* Forces Hotmail to display normal line spacing. More on that: http://www.emailonacid.com/forum/viewthread/43/ */
#backgroundTable {
margin: 50px 0 0 0;
padding: 0;
width: 100% !important;
line-height: 100% !important;
}
/* End reset */
/* Some sensible defaults for images
Bring inline: Yes. */
img {
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
a img {
border: none;
}
.image_fix {
display: block;
}
/* Yahoo paragraph fix
Bring inline: Yes. */
p {
margin: 1em 0;
}
/* Hotmail header color reset
Bring inline: Yes. */
h1, h2, h3, h4, h5, h6 {
color: black !important;
}
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. */
}
/* Outlook 07, 10 Padding issue fix
Bring inline: No.*/
table td {
border-collapse: collapse;
}
/* Remove spacing around Outlook 07, 10 tables
Bring inline: Yes */
table {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
/* Styling your links has become much simpler with the new Yahoo. In fact, it falls in line with the main credo of styling in email and make sure to bring your styles inline. Your link colors will be uniform across clients when brought inline.
Bring inline: Yes. */
a {
color: orange;
}
/***************************************************
****************************************************
MOBILE TARGETING
****************************************************
***************************************************/
@media only screen and (max-device-width: 480px) {
/* Part one of controlling phone number linking for mobile. */
a[href^="tel"], a[href^="sms"] {
text-decoration: none;
color: blue; /* or whatever your want */
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration: default;
color: orange !important;
pointer-events: auto;
cursor: default;
}
}
/* More Specific Targeting */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
/* You guessed it, ipad (tablets, smaller screens, etc) */
/* repeating for the ipad */
a[href^="tel"], a[href^="sms"] {
text-decoration: none;
color: blue; /* or whatever your want */
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration: default;
color: orange !important;
pointer-events: auto;
cursor: default;
}
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
/* Put your iPhone 4g styles in here */
}
/* Android targeting */
@media only screen and (-webkit-device-pixel-ratio:.75) {
/* Put CSS for low density (ldpi) Android layouts in here */
}
@media only screen and (-webkit-device-pixel-ratio:1) {
/* Put CSS for medium density (mdpi) Android layouts in here */
}
@media only screen and (-webkit-device-pixel-ratio:1.5) {
/* Put CSS for high density (hdpi) Android layouts in here */
}
/* end Android targeting */
</style>
<!-- Targeting Windows Mobile -->
<!--[if IEMobile 7]>
<style type="text/css">
</style>
<![endif]-->
<!-- ***********************************************
****************************************************
END MOBILE TARGETING
****************************************************
************************************************ -->
<!--[if gte mso 9]>
<style>
/* Target Outlook 2007 and 2010 */
</style>
<![endif]-->
<table width="640" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff" style="margin-top: 50px;" align="center">
<tbody><tr>
<td>
<table style="font-size: 15px; font-family: Arial,serif; color: #151515;" width="540" border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td>
<a href="http://www.repka.vrt/" target="_blank">
<img src="http://www.repka.vrt/app/layouts/letter/img/logo.gif" border="0" style="display: block;" alt="" />
</a>
</td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="44" valign="center" style="font-size: 18px; color: #1F1F1F; line-height: 21px;">
Елена Петровна, вас добавили в друзья
</td>
</tr>
<tr>
<td style="border: 8px solid #D1E6F9;" valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td colspan="3" height="25"></td>
</tr>
<tr>
<td width="60" align="right">
<img src="http://dummyimage.com/35x35/000/fff.png" style="display:block" alt="" />
</td>
<td width="16"></td>
<td width="360">
<span style="font-size: 14px; color: #3894E3; line-height: 16px; font-weight: 600">
Светлана Репкина
</span>
<div style="height: 4px"></div>
<span style="font-size: 13px; color: #7F7F7F; line-height: 15px;">
Санкт-Петербург
</span>
</td>
<td>
<a target="_blank" href="" style="font-size: 14px; color: #3894E3; line-height: 18px; text-decoration: none;">
Перейти <br />
в профиль
</a>
</td>
</tr>
<tr>
<td colspan="3" height="25"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<p style="font-size: 14px; color: #1F1F1F; line-height: 16px;">
Теперь Светлана Репкина будет читать ваши новости в своей ленте
</p>
</td>
</tr>
<tr>
<td colspan="2">
<table width="528" border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td colspan="2" height="18"></td>
</tr>
<tr>
<td colspan="2" width="100%" height="1" bgcolor="#e5e5e5"></td>
</tr>
<tr>
<td colspan="2" height="50"></td>
</tr>
<tr>
<td>
<a href="http://www.repka.vrt/" target="_blank" style="font-size: 12px; color: #4b9de2; font-family: Arial,serif; ">www.repka.com</a>
</td>
<td align="right" style="font-size: 12px; color: #b2b2b2; font-family: Arial,serif; ">
<a href="http://www.repka.vrt/settings" target="_blank" style="color: #b2b2b2;">Отписаться или настроить рассылку</a>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment