enhance: improve e-mail templates (#38396)

Co-authored-by: bircni <bircni@icloud.com>
This commit is contained in:
silverwind
2026-09-09 17:58:27 +00:00
committed by GitHub
co-authored by bircni
parent 92f2f6161b
commit 81dee529ed
43 changed files with 561 additions and 319 deletions
+10
View File
@@ -0,0 +1,10 @@
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" class="mail-footer" style="width: 100%; border-collapse: collapse;">
<tr>
<td height="16" style="height: 16px; font-size: 0; line-height: 0;">&nbsp;</td>
</tr>
<tr>
<td align="center" style="border-top: 1px solid #d0d7de; color: #59636e; font-size: 12px; padding: 8px 0 0; text-align: center;">
<a href="{{AppUrl}}">{{AppName}}</a>
</td>
</tr>
</table>
+17
View File
@@ -0,0 +1,17 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no">
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
<title>{{.}}</title>
<style>
body {margin: 0; padding: 0}
body, td {font-family: -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif}
a, a:visited {color: #0969da; text-decoration: none}
a:hover {text-decoration: underline}
blockquote {padding-left: 1em; margin: 1em 0; border-left: 1px solid grey}
@media (prefers-color-scheme: dark) {
a, a:visited {color: #58a6ff}
.mail-footer td {border-top-color: #3f4248 !important; color: #8c959f !important}
}
</style>