This commit is contained in:
Jane Doe
2024-09-25 12:18:07 +08:00
parent 3f369584fb
commit 9992293b9f
124 changed files with 2770 additions and 975 deletions

View File

@@ -0,0 +1,181 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>{{ title }}</title>
<meta name="keywords" content="{{ keywords }}">
<meta name="description" content="{{ content|truncatewords:20 }}">
<style>
/* 整体页面布局 */
body {
background-color: #1a1a1a;
color: #f0f0f0;
font-family: 'Helvetica Neue', Arial, sans-serif;
margin: 0;
padding: 0;
}
h1, h2, h3, p {
margin: 0;
padding: 0;
}
/* 顶部导航 */
.layui-container {
width: 100%;
background-color: #2d2d2d;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.container a img {
max-height: 50px;
}
.layui-btn-primary {
background-color: #3a3a3a;
border-color: #565656;
color: #fff;
border-radius: 4px;
}
.layui-btn-primary:hover {
background-color: #565656;
border-color: #565656;
}
/* 文章内容区域 */
.content {
max-width: 960px;
margin: 40px auto;
padding: 20px;
background-color: #2d2d2d;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.article {
margin: 20px 0;
}
.article h1 {
font-size: 36px;
color: #00d1b2;
margin-bottom: 20px;
border-bottom: 2px solid #00d1b2;
padding-bottom: 10px;
}
.article p {
line-height: 1.8;
font-size: 18px;
color: #e0e0e0;
}
/* 发布时间样式 */
.article strong {
font-weight: bold;
color: #00d1b2;
}
.article p:first-of-type {
margin-top: 10px;
font-size: 14px;
color: #cccccc;
}
/* 链接美化 */
a {
color: #00d1b2;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* 底部样式 */
footer {
background-color: #2d2d2d;
padding: 30px 0;
color: #f0f0f0;
text-align: center;
font-size: 14px;
border-top: 1px solid #565656;
}
footer a {
color: #00d1b2;
}
footer a:hover {
text-decoration: underline;
}
footer .text-gray-300 {
margin: 10px 0;
}
footer .text-gray-300 a {
margin: 0 10px;
}
/* 响应式布局 */
@media (max-width: 768px) {
.layui-container {
flex-direction: column;
align-items: flex-start;
}
.content {
padding: 15px;
}
.article h1 {
font-size: 28px;
}
.article p {
font-size: 16px;
}
}
</style>
</head>
<body>
<!-- 顶部导航 -->
<div class="layui-container">
<div class="container">
<a href="/">
<img src="https://file.typeframes.com.cn/AI%E4%B8%AD%E6%96%87.png" alt="光映 logo" width="150">
</a>
</div>
</div>
<!-- 文章内容 -->
<div class="content">
<div class="article">
<h1>{{ title }}</h1>
<p><strong>发布时间:</strong>{{ published_at }}</p>
<p>{{ content }}</p>
</div>
</div>
<!-- 底部 -->
<footer class="layui-container">
<section class="content">
<div class="text-center text-gray-300">
© 2024 光映 | Illuminix<br>
<a href="https://www.typeframes.ai/" target="_blank" rel="noopener noreferrer">https://www.typeframes.ai/</a> |
<a href="https://www.typeframes.com.cn/" target="_blank" rel="noopener noreferrer">https://www.typeframes.com.cn/</a><br>
备案号桂ICP备2024038462号-3
</div>
<div class="text-center text-gray-300 mt-2">
<a href="/terms">服务条款</a> | <a href="/privacy">隐私政策</a>
</div>
</section>
</footer>
</body>
</html>