mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-21 20:23:41 +09:00
enhance: improve e-mail templates (#38396)
Co-authored-by: bircni <bircni@icloud.com>
This commit is contained in:
@@ -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;"> </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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user