Skip to content

Instantly share code, notes, and snippets.

@ivarvong
Created June 23, 2016 21:27
Show Gist options
  • Save ivarvong/d066ebd604cbb70121fb00e2202ca344 to your computer and use it in GitHub Desktop.
Save ivarvong/d066ebd604cbb70121fb00e2202ca344 to your computer and use it in GitHub Desktop.
Example Pony template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www=.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Email Newsletter</title>
<style type="text/css">
body {
margin: 0px;
padding: 0px;
background-color: #ffffff;
}
a {
color: #22bdc2;
}
p {
margin-top: 0;
margin-bottom: 30px;
}
.header, .body, .footer {
width: 100%;
max-width: 700px;
margin: 0 auto;
border-left: 3px solid #22bdc2;
border-right: 3px solid #22bdc2;
font-family: Courier, sans-serif;
}
.header {
padding: 60px 30px;
border-top: 3px solid #22bdc2;
background-color: #22bdc2;
color: #ffffff;
text-align: center;
}
.body {
padding: 30px;
font-family: Helvetica, Arial, sans-serif;
letter-spacing: 1px;
line-height: 1.4em;
font-size: 16px;
}
.footer {
padding: 0px 30px 40px 30px;
border-bottom: 3px solid #22bdc2;
text-align: center;
font-family: Courier, sans-serif;
}
.footer td {
padding-top: 40px;
}
.footer_links a {
margin-left: 15px;
margin-right: 15px;
}
.footer_links_light a {
color: #ababab;
margin-left: 15px;
margin-right: 15px;
}
.footer_address {
font-family: Helvetica, Arial, sans-serif;
font-size: 14px;
color: #ababab;
}
</style>
</head>
<body>
<table class="header">
<tr>
<td>
Logo
</td>
</tr>
<tr>
<td>
Newsletter Title
</td>
</tr>
</table>
<table class="body">
<tr>
<td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment