app/views/layouts/mailer.html.erb
<html>
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200italic,300,300italic,400,400italic,700" rel="stylesheet" type="text/css">
<style>
body {
font-family: "Source Sans Pro", "Helvetica", calibri, sans-serif;
text-align: center;
}
.mail-wrapper {
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
padding: 20px;
width: 50%;
margin: 0 auto;
}
.line {
padding-bottom: 20px;
}
h1 {
font-weight: 200;
font-size: 55px;
}
.btn {
background-color: #eb4d5c;
border: 0;
border-radius: 5px;
box-shadow: none;
color: #fff;
letter-spacing: .5px;
height: 36px;
line-height: 36px;
padding: 10px 15px;
text-decoration: none;
display: inline-block;
margin-top: 15px;
}
</style>
<body>
<%= yield %>
</body>
</html>