Files

167 lines
3.3 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{TITLE}}</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.8;
max-width: 640px;
margin: 0 auto;
padding: 20px;
color: #333;
background-color: #f7f7f7;
}
.container {
background: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
h1 {
font-size: 20px;
font-weight: 600;
margin: 0 0 20px 0;
color: #1a1a1a;
line-height: 1.4;
}
h2 {
font-size: 18px;
font-weight: 600;
margin: 28px 0 14px 0;
color: #262626;
}
h3 {
font-size: 16px;
font-weight: 600;
margin: 24px 0 12px 0;
color: #595959;
}
p {
margin: 16px 0;
color: #333;
text-align: justify;
font-size: 15px;
}
ul, ol {
padding-left: 24px;
margin: 16px 0;
}
li {
margin: 8px 0;
font-size: 15px;
}
img {
max-width: 100%;
height: auto;
margin: 20px 0;
border-radius: 4px;
}
blockquote {
margin: 20px 0;
padding: 12px 16px;
border-left: 3px solid #07c160;
background-color: #f0f9f4;
color: #555;
font-size: 14px;
}
/* 页头 */
.header {
margin-bottom: 28px;
padding-bottom: 16px;
border-bottom: 1px solid #eee;
}
.author-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
font-size: 13px;
color: #888;
}
.author {
font-weight: 500;
color: #666;
}
.update-time {
color: #999;
}
/* 内容 */
.content {
margin-bottom: 24px;
}
/* 标签 */
.tags {
margin: 24px 0;
padding: 12px 0;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}
.tag {
display: inline-block;
margin: 4px 6px 4px 0;
padding: 3px 10px;
background-color: #f0f9f4;
color: #07c160;
border-radius: 4px;
font-size: 13px;
}
/* 互动 */
.interaction {
margin: 24px 0;
padding: 14px;
background-color: #f0f9f4;
border-radius: 4px;
text-align: center;
color: #07c160;
font-size: 14px;
font-weight: 500;
}
/* 页脚 */
footer {
margin-top: 28px;
padding-top: 16px;
border-top: 1px solid #eee;
color: #999;
font-size: 12px;
text-align: center;
line-height: 1.6;
}
.gen-time {
margin-top: 6px;
font-size: 12px;
}
</style>
</head>
<body>
<div class="container">
<!-- 页头区域 -->
<div class="header">
<h1>{{TITLE}}</h1>
</div>
<!-- 内容区域 -->
<div class="content">
<!-- CONTENT -->
</div>
<!-- 分类标签 -->
<div class="tags">
<!-- TAGS -->
</div>
<!-- 互动建议 -->
<div class="interaction">
<p>欢迎在评论区分享你的实践经验和改进建议!</p>
</div>
<!-- 页脚区域 -->
<footer>
<p class="gen-time">生成时间:{{GEN_TIME}}</p>
</footer>
</div>
</body>
</html>