-
Notifications
You must be signed in to change notification settings - Fork 0
/
email-template.html
67 lines (66 loc) · 2.13 KB
/
email-template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!doctype html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport'
content='width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'>
<meta http-equiv='X-UA-Compatible' content='ie=edge'>
<title>Document</title></head>
<style>
body{
background: #fafafa;
}
.email-body {
width: 70%;
height: 600px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: 24px auto;
padding: 24px;
background: #ffffff;
border-radius: 8px;
color: #ffffff;
background: url('https://pic.netbian.com/uploads/allimg/220304/225209-1646405529f187.jpg') no-repeat;
}
.wrapper {
width: 100%;
height: inherit;
}
a {
color: #ffffff;
}
</style>
<body>
<div class='email-body'>
<div class='wrapper'>
<div class='content'>
<h3>Hi guys!</h3>
<p style='text-indent: 2em'>您在 github 关注的${{github.repository}}仓库更新了~</p>
<div style='padding-left: 24px;margin-top: 24px;'>
<ul>
<li style='margin-bottom: 16px'>Commit Message: ${{github.event.head_commit.message}}</li>
<li>Date: ${{env.REPORT_DATE}}</li>
</ul>
</div>
<p style='text-align: right; padding-right: 50px; margin-top: 80px'>
<a href='https://github.com/bigbigDreamer/hand-write-awesome'>
View it on github
</a>
<a style='margin-left: 12px;' href='https://github.com/bigbigDreamer/hand-write-awesome/wiki/%E9%87%8C%E7%A8%8B%E7%A2%91'>
里程碑
</a>
</p>
<br/>
<br/>
<br/>
<br/>
<hr style='width: 60%; margin: 24px auto;color: #fafafa'/>
<p style='text-align: right;'>书生祝好~</p>
</div>
</div>
</div>
</body>
</html>