Fix the horrible HTML typos in the default template
This commit is contained in:
parent
b70ceccd02
commit
16b0b0441b
|
@ -1,22 +1,24 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
background: #F0F1F3;
|
background-color: #F0F1F3;
|
||||||
font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, sans-serif;
|
font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, sans-serif;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
|
margin: 0;
|
||||||
color: #444;
|
color: #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
background: #fff;
|
background-color: #fff;
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
max-width: 525px;
|
max-width: 525px;
|
||||||
margin: 60px auto 30px auto;
|
margin: 0 auto;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,16 +31,28 @@
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gutter {
|
||||||
|
padding: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #7f2aff;
|
color: #7f2aff;
|
||||||
}
|
}
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #111;
|
color: #111;
|
||||||
}
|
}
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
.wrap {
|
||||||
|
max-width: auto;
|
||||||
|
}
|
||||||
|
.gutter {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</html>
|
</head>
|
||||||
<body>
|
<body style="background-color: #F0F1F3;">
|
||||||
|
<div class="gutter"> </div>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
{{ template "content" . }}
|
{{ template "content" . }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -47,6 +61,6 @@
|
||||||
<p>Don't want to receive these e-mails? <a href="{{ .UnsubscribeURL }}">Unsubscribe</a></p>
|
<p>Don't want to receive these e-mails? <a href="{{ .UnsubscribeURL }}">Unsubscribe</a></p>
|
||||||
<p>Powered by <a href="https://listmonk.app" target="_blank">listmonk</a></p>
|
<p>Powered by <a href="https://listmonk.app" target="_blank">listmonk</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="gutter"> </div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue