webui适配视频功能; 统一模板命名规范;
This commit is contained in:
208
templates/1920x1080/image_film.html
Normal file
208
templates/1920x1080/image_film.html
Normal file
@@ -0,0 +1,208 @@
|
||||
<!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=1920, height=1080">
|
||||
<title>视频模板 - 电影风格</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
width: 1920px;
|
||||
height: 1080px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
background: black;
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
position: relative;
|
||||
color: #ffffff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.main {
|
||||
width: 100%;
|
||||
height: 1000px;
|
||||
margin-bottom: 80px;
|
||||
}
|
||||
|
||||
.top {
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0 60px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.title {
|
||||
width: 100%; /* 稍微调整以适应全宽图片 */
|
||||
text-align: center;
|
||||
font-size: 70px;
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
text-shadow: 0 6px 22px rgba(0,0,0,0.6);
|
||||
letter-spacing: 4px;
|
||||
}
|
||||
|
||||
.middle {
|
||||
width: 100%;
|
||||
height: 70%;
|
||||
/*display: block;*/
|
||||
}
|
||||
|
||||
.middle img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover; /* 改为 cover 填满宽度 */
|
||||
display: block;
|
||||
}
|
||||
|
||||
.bottom {
|
||||
width: 100%;
|
||||
height: 15%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0 60px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.text {
|
||||
width: 100%; /* 稍微调整以适应全宽图片 */
|
||||
padding: 0 60px;
|
||||
text-align: center;
|
||||
font-size: 40px;
|
||||
font-weight: 400;
|
||||
line-height: 1.2;
|
||||
color: #ffffff;
|
||||
letter-spacing: 1px;
|
||||
text-shadow: 0 0 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);
|
||||
/* white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis; */
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
padding: 25px 20px 0 20px;
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
color: #fff;
|
||||
text-shadow: -1px -1px 0 #000,
|
||||
1px -1px 0 #000,
|
||||
-1px 1px 0 #000,
|
||||
1px 1px 0 #000;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.author-name {
|
||||
font-size: 30px;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.author-mark {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
/* border-radius: 50%; */
|
||||
/* background: rgba(149, 165, 166, 0.7); */
|
||||
}
|
||||
|
||||
.author-desc {
|
||||
font-size: 22px;
|
||||
/* color: #5d6d7e; */
|
||||
line-height: 1.3;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.logo-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 24px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.logo-marks {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.logo-mark {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: rgba(149, 165, 166, 0.45);
|
||||
}
|
||||
|
||||
.logo-mark.active {
|
||||
background: rgba(149, 165, 166, 0.75);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<div class="top">
|
||||
<div class="title">{{title}}</div>
|
||||
</div>
|
||||
<div class="middle">
|
||||
<img src="{{image}}" alt="内容图片">
|
||||
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<div class="text">{{text}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="author">
|
||||
<div class="author-name">
|
||||
<span class="author-mark"></span>
|
||||
<div class="logo">{{author=@Pixelle.AI}}</div>
|
||||
</div>
|
||||
<div class="author-desc">{{describe=Open Source Omnimodal AI Creative Agent}}</div>
|
||||
</div>
|
||||
<div class="logo-section">
|
||||
<div class="logo">{{brand=Pixelle-Video}}</div>
|
||||
<div class="logo-marks">
|
||||
<div class="logo-mark"></div>
|
||||
<div class="logo-mark active"></div>
|
||||
<div class="logo-mark"></div>
|
||||
<div class="logo-mark"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user