MihoyoBBSTools/assets/email_example.html

32 lines
956 B
HTML
Raw Normal View History

2022-09-02 07:08:49 +00:00
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AutoMihoyoBBS</title>
</head>
<body>
<div class="cover" style="position: relative;">
2022-09-02 07:08:49 +00:00
<!-- 邮箱只解析行内样式 -->
<img src="{image_url}" alt="background" style="width: 100%;
filter: brightness(50%)">
<section style="position: absolute;
top: 0px;
width: 100%;
text-align: center;
font-weight: 800;">
<!-- 添加阴影防止背景太鲜艳看不清文字 -->
<h2 style="color: #fff;text-shadow:0px 0px 10px #000;">{title}</h2>
<p style="color: #fff;text-shadow:0px 0px 10px #000;">{message}</p>
<br />
<p style="color: #fff;text-shadow:0px 0px 10px #000;">背景图片链接</p>
<a href="{image_url}" style="color: #fff;text-shadow:0px 0px 10px #000;">{image_url}</a>
2022-09-02 07:08:49 +00:00
</section>
</div>
</body>
2022-09-02 08:00:05 +00:00
</html>