Update templates/index.html
Browse files- templates/index.html +12 -6
templates/index.html
CHANGED
|
@@ -18,22 +18,27 @@
|
|
| 18 |
margin: 0;
|
| 19 |
padding: 0;
|
| 20 |
color: #ffffff;
|
| 21 |
-
overflow: hidden;
|
| 22 |
background: linear-gradient(135deg, #e74c3c, #c0392b);
|
| 23 |
position: relative;
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
/* 封面页特殊样式,带有渐变效果的覆盖 */
|
| 27 |
body::before {
|
| 28 |
content: '';
|
| 29 |
position: absolute;
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
| 32 |
background: rgba(255, 255, 255, 0.1);
|
| 33 |
transform: translateX(-50%) translateY(-50%) rotate(-45deg);
|
| 34 |
animation: shine 4s infinite linear;
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
-
|
| 37 |
@keyframes shine {
|
| 38 |
0% { transform: translateX(-50%) translateY(-50%) rotate(-45deg); }
|
| 39 |
100% { transform: translateX(50%) translateY(50%) rotate(-45deg); }
|
|
@@ -45,10 +50,11 @@
|
|
| 45 |
padding: 20px;
|
| 46 |
border-radius: 8px;
|
| 47 |
max-width: 800px;
|
| 48 |
-
|
|
|
|
| 49 |
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
|
| 50 |
text-align: center;
|
| 51 |
-
animation: fadeInUp 1s ease-in-out;
|
| 52 |
position: relative;
|
| 53 |
z-index: 1;
|
| 54 |
}
|
|
|
|
| 18 |
margin: 0;
|
| 19 |
padding: 0;
|
| 20 |
color: #ffffff;
|
|
|
|
| 21 |
background: linear-gradient(135deg, #e74c3c, #c0392b);
|
| 22 |
position: relative;
|
| 23 |
+
min-height: 100vh;
|
| 24 |
+
overflow-x: hidden;
|
| 25 |
}
|
| 26 |
|
| 27 |
/* 封面页特殊样式,带有渐变效果的覆盖 */
|
| 28 |
body::before {
|
| 29 |
content: '';
|
| 30 |
position: absolute;
|
| 31 |
+
top: 0;
|
| 32 |
+
left: 0;
|
| 33 |
+
width: 100%;
|
| 34 |
+
height: 100vh;
|
| 35 |
background: rgba(255, 255, 255, 0.1);
|
| 36 |
transform: translateX(-50%) translateY(-50%) rotate(-45deg);
|
| 37 |
animation: shine 4s infinite linear;
|
| 38 |
+
pointer-events: none;
|
| 39 |
+
z-index: 0;
|
| 40 |
}
|
| 41 |
+
|
| 42 |
@keyframes shine {
|
| 43 |
0% { transform: translateX(-50%) translateY(-50%) rotate(-45deg); }
|
| 44 |
100% { transform: translateX(50%) translateY(50%) rotate(-45deg); }
|
|
|
|
| 50 |
padding: 20px;
|
| 51 |
border-radius: 8px;
|
| 52 |
max-width: 800px;
|
| 53 |
+
padding-top: 50px;
|
| 54 |
+
margin: 0 auto;
|
| 55 |
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
|
| 56 |
text-align: center;
|
| 57 |
+
animation: fadeInUp 1s ease-in-out;
|
| 58 |
position: relative;
|
| 59 |
z-index: 1;
|
| 60 |
}
|