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.6;
max-width: 480px;
margin: 0 auto;
padding: 16px;
color: #333;
background-color: #fafafa;
}
.container {
background: #fff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
h1 {
font-size: 18px;
font-weight: 600;
margin: 0 0 16px 0;
color: #1a1a1a;
line-height: 1.4;
}
h2 {
font-size: 16px;
font-weight: 600;
margin: 20px 0 10px 0;
color: #333;
}
h3 {
font-size: 15px;
font-weight: 600;
margin: 16px 0 8px 0;
color: #555;
}
p {
margin: 12px 0;
color: #444;
font-size: 14px;
text-align: left;
}
ul, ol {
padding-left: 20px;
margin: 12px 0;
}
li {
margin: 6px 0;
font-size: 14px;
}
img {
max-width: 100%;
height: auto;
margin: 16px 0;
border-radius: 8px;
}
blockquote {
margin: 16px 0;
padding: 10px 14px;
border-left: 3px solid #ff2442;
background-color: #fff5f6;
color: #666;
font-size: 13px;
}
/* 页头 */
.header {
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 1px solid #f0f0f0;
}
.author-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
font-size: 12px;
color: #999;
}
.author {
font-weight: 500;
color: #666;
}
.update-time {
color: #bbb;
}
/* 内容 */
.content {
margin-bottom: 20px;
}
/* 标签 */
.tags {
margin: 16px 0;
padding: 10px 0;
border-top: 1px solid #f0f0f0;
border-bottom: 1px solid #f0f0f0;
}
.tag {
display: inline-block;
margin: 3px 5px 3px 0;
padding: 2px 8px;
background-color: #fff5f6;
color: #ff2442;
border-radius: 12px;
font-size: 12px;
}
/* 互动 */
.interaction {
margin: 16px 0;
padding: 12px;
background-color: #fff5f6;
border-radius: 8px;
text-align: center;
color: #ff2442;
font-size: 13px;
font-weight: 500;
}
/* 页脚 */
footer {
margin-top: 20px;
padding-top: 12px;
border-top: 1px solid #f0f0f0;
color: #bbb;
font-size: 11px;
text-align: center;
line-height: 1.5;
}
.gen-time {
margin-top: 4px;
font-size: 11px;
}
</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>