forked from knadh/listmonk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the horrible HTML typos in the default template
- Loading branch information
Showing
1 changed file
with
56 additions
and
42 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,66 @@ | ||
<!doctype html> | ||
<html> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" /> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" /> | ||
|
||
<style> | ||
body { | ||
background: #F0F1F3; | ||
font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, sans-serif; | ||
font-size: 15px; | ||
line-height: 26px; | ||
color: #444; | ||
} | ||
<style> | ||
body { | ||
background-color: #F0F1F3; | ||
font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, sans-serif; | ||
font-size: 15px; | ||
line-height: 26px; | ||
margin: 0; | ||
color: #444; | ||
} | ||
|
||
.wrap { | ||
background: #fff; | ||
padding: 30px; | ||
max-width: 525px; | ||
margin: 60px auto 30px auto; | ||
border-radius: 5px; | ||
} | ||
.wrap { | ||
background-color: #fff; | ||
padding: 30px; | ||
max-width: 525px; | ||
margin: 0 auto; | ||
border-radius: 5px; | ||
} | ||
|
||
.footer { | ||
text-align: center; | ||
font-size: 12px; | ||
color: #888; | ||
} | ||
.footer a { | ||
.footer { | ||
text-align: center; | ||
font-size: 12px; | ||
color: #888; | ||
} | ||
.footer a { | ||
color: #888; | ||
} | ||
|
||
a { | ||
color: #7f2aff; | ||
} | ||
a:hover { | ||
color: #111; | ||
} | ||
</style> | ||
</html> | ||
<body> | ||
|
||
<div class="wrap"> | ||
{{ template "content" . }} | ||
</div> | ||
|
||
<div class="footer"> | ||
<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> | ||
</div> | ||
.gutter { | ||
padding: 30px; | ||
} | ||
|
||
a { | ||
color: #7f2aff; | ||
} | ||
a:hover { | ||
color: #111; | ||
} | ||
@media screen and (max-width: 600px) { | ||
.wrap { | ||
max-width: auto; | ||
} | ||
.gutter { | ||
padding: 10px; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body style="background-color: #F0F1F3;"> | ||
<div class="gutter"> </div> | ||
<div class="wrap"> | ||
{{ template "content" . }} | ||
</div> | ||
|
||
<div class="footer"> | ||
<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> | ||
</div> | ||
<div class="gutter"> </div> | ||
</body> | ||
</html> | ||
</html> |