feat:add template
This commit is contained in:
@@ -177,6 +177,14 @@ Suitable for TikTok, Kuaishou, Xiaohongshu, and other short video platforms.
|
|||||||

|

|
||||||
|
|
||||||
Full screen display, suitable for book lists
|
Full screen display, suitable for book lists
|
||||||
|
|
||||||
|
- **Healing**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Healing style, suitable for therapeutic content
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
BIN
docs/images/1080x1920/healing.jpg
Normal file
BIN
docs/images/1080x1920/healing.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 65 KiB |
BIN
docs/images/1080x1920/healing_en.jpg
Normal file
BIN
docs/images/1080x1920/healing_en.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
@@ -177,6 +177,14 @@
|
|||||||

|

|
||||||
|
|
||||||
全屏模版,适合书单号
|
全屏模版,适合书单号
|
||||||
|
|
||||||
|
- **Healing**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
治愈模版,适合疗愈类内容
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="template:media-width" content="1024">
|
<meta name="template:media-width" content="1024">
|
||||||
@@ -9,26 +10,42 @@
|
|||||||
<!-- Google Fonts - 中文字体 -->
|
<!-- Google Fonts - 中文字体 -->
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&family=Ma+Shan+Zheng&family=ZCOOL+KuaiLe&display=swap" rel="stylesheet">
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&family=Ma+Shan+Zheng&family=ZCOOL+KuaiLe&display=swap"
|
||||||
|
rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
|
* {
|
||||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
html, body { width: 1080px; height: 1920px; overflow: hidden; }
|
html,
|
||||||
|
body {
|
||||||
|
width: 1080px;
|
||||||
|
height: 1920px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Noto Serif SC', serif;
|
font-family: 'Noto Serif SC', serif;
|
||||||
color: #2a2a2a;
|
color: #2a2a2a;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: #e8e5e0;
|
background: transparent;
|
||||||
background-image: url("{{image}}");
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 80px 100px;
|
padding: 80px 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: contain;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
/* 背景遮罩层 */
|
/* 背景遮罩层 */
|
||||||
body::before {
|
body::before {
|
||||||
content: '';
|
content: '';
|
||||||
@@ -101,7 +118,9 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<img class="image" src="{{image}}" alt="{{title}}" />
|
||||||
<!-- 顶部标题 -->
|
<!-- 顶部标题 -->
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="title">{{title}}</div>
|
<div class="title">{{title}}</div>
|
||||||
@@ -118,4 +137,5 @@
|
|||||||
<!-- 署名 -->
|
<!-- 署名 -->
|
||||||
<div class="signature">{{signature=@Pixelle.AI}}</div>
|
<div class="signature">{{signature=@Pixelle.AI}}</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
146
templates/1080x1920/image_healing.html
Normal file
146
templates/1080x1920/image_healing.html
Normal file
@@ -0,0 +1,146 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh-CN">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="template:media-width" content="1024">
|
||||||
|
<meta name="template:media-height" content="1024">
|
||||||
|
<meta name="viewport" content="width=1080, height=1920">
|
||||||
|
<title>疗愈 - 1080x1920</title>
|
||||||
|
<!-- Google Fonts - 中文字体 -->
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&family=Ma+Shan+Zheng&family=ZCOOL+KuaiLe&display=swap"
|
||||||
|
rel="stylesheet">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
width: 1080px;
|
||||||
|
height: 1920px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'Noto Serif SC', serif;
|
||||||
|
color: #2a2a2a;
|
||||||
|
position: relative;
|
||||||
|
background: #e8e5e0;
|
||||||
|
background-image: url("{{image}}");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 背景遮罩层 */
|
||||||
|
/* body::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: rgba(232, 229, 224, 0.85);
|
||||||
|
backdrop-filter: blur(5px);
|
||||||
|
-webkit-backdrop-filter: blur(5x);
|
||||||
|
z-index: 0;
|
||||||
|
} */
|
||||||
|
|
||||||
|
/* 顶部标题 */
|
||||||
|
.title {
|
||||||
|
position: absolute;
|
||||||
|
width: 500px;
|
||||||
|
top: 40%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
right: 60px;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title-content {
|
||||||
|
font-size: 80px;
|
||||||
|
font-weight: 600;
|
||||||
|
font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', cursive;
|
||||||
|
color: #2a2a2a;
|
||||||
|
letter-spacing: 8px;
|
||||||
|
text-align: right;
|
||||||
|
padding-bottom: 15px;
|
||||||
|
border-bottom: 2px solid #2a2a2a;
|
||||||
|
text-shadow: -1px -1px 0 #ddd,
|
||||||
|
1px -1px 0 #ddd,
|
||||||
|
-1px 1px 0 #ddd,
|
||||||
|
1px 1px 0 #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 作者 */
|
||||||
|
.author {
|
||||||
|
z-index: 1;
|
||||||
|
text-align: right;
|
||||||
|
font-size: 32px;
|
||||||
|
font-family: 'Noto Serif SC', serif;
|
||||||
|
color: #2a2a2a;
|
||||||
|
font-weight: 400;
|
||||||
|
text-shadow: -1px -1px 0 #ddd,
|
||||||
|
1px -1px 0 #ddd,
|
||||||
|
-1px 1px 0 #ddd,
|
||||||
|
1px 1px 0 #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 正文区域 */
|
||||||
|
.text {
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
font-size: 46px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 2.0;
|
||||||
|
font-family: 'Liu Jian Mao Cao', 'ZCOOL KuaiLe', cursive;
|
||||||
|
color: #ffffff;
|
||||||
|
text-align: justify;
|
||||||
|
text-indent: 2em;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
white-space: pre-line;
|
||||||
|
top: 70%;
|
||||||
|
text-align: center;
|
||||||
|
text-shadow: -1px -1px 0 #222,
|
||||||
|
1px -1px 0 #222,
|
||||||
|
-1px 1px 0 #222,
|
||||||
|
1px 1px 0 #222;
|
||||||
|
padding: 0 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.signature {
|
||||||
|
position: absolute;
|
||||||
|
font-size: 24px;
|
||||||
|
color: #333;
|
||||||
|
bottom: 20px;
|
||||||
|
right: 20px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="title">
|
||||||
|
<div class="title-content">{{title}}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 正文内容 -->
|
||||||
|
<div class="text">{{text}}</div>
|
||||||
|
|
||||||
|
<!-- 署名 -->
|
||||||
|
<div class="signature">{{signature=@Pixelle.AI}}</div>
|
||||||
|
<script>
|
||||||
|
const index = Number("{{index}}");
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
const titleElement = document.querySelector('.title');
|
||||||
|
titleElement.style.display = index > 1 ? 'none' : 'block';
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="template:media-width" content="1024">
|
<meta name="template:media-width" content="1024">
|
||||||
@@ -12,13 +13,14 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body {
|
html,
|
||||||
|
body {
|
||||||
width: 1920px;
|
width: 1920px;
|
||||||
height: 1080px;
|
height: 1080px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: black;
|
background: black;
|
||||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||||
@@ -29,7 +31,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1000px;
|
height: 1000px;
|
||||||
@@ -37,22 +39,23 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.top {
|
.top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 15%;
|
height: 15%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 60px;
|
padding: 0 60px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
width: 100%; /* 稍微调整以适应全宽图片 */
|
width: 100%;
|
||||||
|
/* 稍微调整以适应全宽图片 */
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 70px;
|
font-size: 70px;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
text-shadow: 0 6px 22px rgba(0,0,0,0.6);
|
text-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
|
||||||
letter-spacing: 4px;
|
letter-spacing: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -65,22 +68,24 @@
|
|||||||
.middle img {
|
.middle img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover; /* 改为 cover 填满宽度 */
|
object-fit: cover;
|
||||||
|
/* 改为 cover 填满宽度 */
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom {
|
.bottom {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 15%;
|
height: 15%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 60px;
|
padding: 0 60px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
width: 100%; /* 稍微调整以适应全宽图片 */
|
width: 100%;
|
||||||
|
/* 稍微调整以适应全宽图片 */
|
||||||
padding: 0 60px;
|
padding: 0 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
@@ -89,11 +94,11 @@
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
text-shadow: 0 0 0 #000,
|
text-shadow: 0 0 0 #000,
|
||||||
-3px -3px 0 #000,
|
-3px -3px 0 #000,
|
||||||
3px -3px 0 #000,
|
3px -3px 0 #000,
|
||||||
-3px 3px 0 #000,
|
-3px 3px 0 #000,
|
||||||
3px 3px 0 #000,
|
3px 3px 0 #000,
|
||||||
0 10px 24px rgba(0,0,0,0.6);
|
0 10px 24px rgba(0, 0, 0, 0.6);
|
||||||
/* white-space: nowrap;
|
/* white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis; */
|
text-overflow: ellipsis; */
|
||||||
@@ -110,18 +115,18 @@
|
|||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: -1px -1px 0 #000,
|
text-shadow: -1px -1px 0 #000,
|
||||||
1px -1px 0 #000,
|
1px -1px 0 #000,
|
||||||
-1px 1px 0 #000,
|
-1px 1px 0 #000,
|
||||||
1px 1px 0 #000;
|
1px 1px 0 #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.author {
|
.author {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.author-name {
|
.author-name {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@@ -129,50 +134,51 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.author-mark {
|
.author-mark {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
/* border-radius: 50%; */
|
/* border-radius: 50%; */
|
||||||
/* background: rgba(149, 165, 166, 0.7); */
|
/* background: rgba(149, 165, 166, 0.7); */
|
||||||
}
|
}
|
||||||
|
|
||||||
.author-desc {
|
.author-desc {
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
/* color: #5d6d7e; */
|
/* color: #5d6d7e; */
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-section {
|
.logo-section {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-marks {
|
.logo-marks {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-mark {
|
.logo-mark {
|
||||||
width: 6px;
|
width: 6px;
|
||||||
height: 6px;
|
height: 6px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: rgba(149, 165, 166, 0.45);
|
background: rgba(149, 165, 166, 0.45);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-mark.active {
|
.logo-mark.active {
|
||||||
background: rgba(149, 165, 166, 0.75);
|
background: rgba(149, 165, 166, 0.75);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
@@ -180,7 +186,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="middle">
|
<div class="middle">
|
||||||
<img src="{{image}}" alt="内容图片">
|
<img src="{{image}}" alt="内容图片">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<div class="text">{{text}}</div>
|
<div class="text">{{text}}</div>
|
||||||
@@ -205,4 +211,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="template:media-width" content="1024">
|
<meta name="template:media-width" content="1024">
|
||||||
@@ -9,18 +10,29 @@
|
|||||||
<!-- Google Fonts - 中文字体 -->
|
<!-- Google Fonts - 中文字体 -->
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&family=Liu+Jian+Mao+Cao&family=Ma+Shan+Zheng&display=swap"
|
||||||
|
rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
|
* {
|
||||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
html, body { width: 1920px; height: 1080px; overflow: hidden; }
|
html,
|
||||||
|
body {
|
||||||
|
width: 1920px;
|
||||||
|
height: 1080px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
|
font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: transparent; /* 移除黑色背景 */
|
background: transparent;
|
||||||
|
/* 移除黑色背景 */
|
||||||
background-image: url("{{image}}");
|
background-image: url("{{image}}");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
@@ -43,18 +55,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 160px;
|
top: 160px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 80px;
|
font-size: 80px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
text-shadow: 0 6px 22px rgba(0,0,0,0.6),
|
text-shadow: 0 6px 22px rgba(0, 0, 0, 0.6),
|
||||||
-2px -2px 0 #000,
|
-2px -2px 0 #000,
|
||||||
2px -2px 0 #000,
|
2px -2px 0 #000,
|
||||||
-2px 2px 0 #000,
|
-2px 2px 0 #000,
|
||||||
2px 2px 0 #000;
|
2px 2px 0 #000;
|
||||||
/* 使用 Ma Shan Zheng 毛笔字体 */
|
/* 使用 Ma Shan Zheng 毛笔字体 */
|
||||||
font-family: 'Ma Shan Zheng', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', cursive;
|
font-family: 'Ma Shan Zheng', 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', cursive;
|
||||||
letter-spacing: 4px;
|
letter-spacing: 4px;
|
||||||
@@ -62,9 +74,10 @@
|
|||||||
|
|
||||||
/* 底部字幕覆盖在图片底部 */
|
/* 底部字幕覆盖在图片底部 */
|
||||||
.text {
|
.text {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 170px;
|
bottom: 170px;
|
||||||
width: 100%; /* 稍微调整以适应全宽图片 */
|
width: 100%;
|
||||||
|
/* 稍微调整以适应全宽图片 */
|
||||||
padding: 0 60px;
|
padding: 0 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 54px;
|
font-size: 54px;
|
||||||
@@ -73,12 +86,13 @@
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-family: 'ArtisticFont', 'Noto Serif SC', 'Noto Sans SC', 'PingFang SC', serif;
|
font-family: 'ArtisticFont', 'Noto Serif SC', 'Noto Sans SC', 'PingFang SC', serif;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
text-shadow: 0 6px 22px rgba(0,0,0,0.6),
|
text-shadow: 0 6px 22px rgba(0, 0, 0, 0.6),
|
||||||
-2px -2px 0 #000,
|
-2px -2px 0 #000,
|
||||||
2px -2px 0 #000,
|
2px -2px 0 #000,
|
||||||
-2px 2px 0 #000,
|
-2px 2px 0 #000,
|
||||||
2px 2px 0 #000;
|
2px 2px 0 #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Footer */
|
/* Footer */
|
||||||
.footer {
|
.footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -90,18 +104,18 @@
|
|||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: -1px -1px 0 #000,
|
text-shadow: -1px -1px 0 #000,
|
||||||
1px -1px 0 #000,
|
1px -1px 0 #000,
|
||||||
-1px 1px 0 #000,
|
-1px 1px 0 #000,
|
||||||
1px 1px 0 #000;
|
1px 1px 0 #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.author {
|
.author {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.author-name {
|
.author-name {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@@ -109,53 +123,54 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.author-mark {
|
.author-mark {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
/* border-radius: 50%; */
|
/* border-radius: 50%; */
|
||||||
/* background: rgba(149, 165, 166, 0.7); */
|
/* background: rgba(149, 165, 166, 0.7); */
|
||||||
}
|
}
|
||||||
|
|
||||||
.author-desc {
|
.author-desc {
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
/* color: #5d6d7e; */
|
/* color: #5d6d7e; */
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-section {
|
.logo-section {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-marks {
|
.logo-marks {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-mark {
|
.logo-mark {
|
||||||
width: 6px;
|
width: 6px;
|
||||||
height: 6px;
|
height: 6px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: rgba(149, 165, 166, 0.45);
|
background: rgba(149, 165, 166, 0.45);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-mark.active {
|
.logo-mark.active {
|
||||||
background: rgba(149, 165, 166, 0.75);
|
background: rgba(149, 165, 166, 0.75);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- <div class="bg"></div> -->
|
<!-- <div class="bg"></div> -->
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="title">{{title}}</div>
|
<div class="title">{{title}}</div>
|
||||||
<div class="text">{{text}}</div>
|
<div class="text">{{text}}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -178,4 +193,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user