feat: templates
This commit is contained in:
@@ -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 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg"></div>
|
||||
|
||||
<div class="top">
|
||||
<div class="title">{{title}}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user