From cd8e433e25503c22c7e6b4cab134a85aa96fddb2 Mon Sep 17 00:00:00 2001 From: li <> Date: Thu, 6 Nov 2025 20:56:21 +0800 Subject: [PATCH] feat: templates --- templates/1080x1920/blur_card.html | 11 ++-- templates/1920x1080/film.html | 88 ++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+), 6 deletions(-) create mode 100644 templates/1920x1080/film.html diff --git a/templates/1080x1920/blur_card.html b/templates/1080x1920/blur_card.html index 8778fc9..c2df3b8 100644 --- a/templates/1080x1920/blur_card.html +++ b/templates/1080x1920/blur_card.html @@ -23,16 +23,16 @@ /* 背景使用图片并做模糊处理,完全覆盖整个页面 */ .bg { - position: fixed; /* 使用 fixed 确保完全覆盖 */ + position: fixed; top: 0; left: 0; width: 100%; height: 100%; - background-image: url('{{image}}'); + background-image: url("{{image}}"); background-size: cover; background-position: center; - filter: blur(24px) brightness(0.65); - transform: scale(1.1); /* 稍微放大防止边缘露出 */ + filter: blur(24px) brightness(0.9); + transform: scale(1.1); z-index: 0; } @@ -66,7 +66,7 @@ left: 50%; transform: translate(-50%, -50%); width: 100%; - max-height: 58%; + height: 58%; z-index: 2; padding: 0 0; /* 无左右内边距 */ } @@ -110,7 +110,6 @@
-
{{title}}
diff --git a/templates/1920x1080/film.html b/templates/1920x1080/film.html new file mode 100644 index 0000000..22e35b0 --- /dev/null +++ b/templates/1920x1080/film.html @@ -0,0 +1,88 @@ + + + + + + 视频模板 - 电影风格 + + + + +
+
{{title}}
+ 内容图片 +
{{text}}
+
+ + \ No newline at end of file