添加官网景深效果
- 移除突兀的代码 - 为官网加装景深 - 修复PKG的导入
This commit is contained in:
@@ -4,11 +4,83 @@
|
||||
margin: 0 auto;
|
||||
padding: 100px 80px 80px 24px;
|
||||
min-height: 100vh;
|
||||
perspective: 1000px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
text-align: center;
|
||||
margin-bottom: 64px;
|
||||
will-change: transform;
|
||||
transition: transform 0.05s linear;
|
||||
}
|
||||
|
||||
/* 陀螺仪权限按钮 */
|
||||
#gyro-permission-btn {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.gyro-permission-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
backdrop-filter: blur(8px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
animation: fadeIn 0.3s ease;
|
||||
}
|
||||
|
||||
.gyro-permission-card {
|
||||
background: rgba(20, 30, 50, 0.95);
|
||||
border: 1px solid rgba(6, 182, 212, 0.3);
|
||||
border-radius: 20px;
|
||||
padding: 40px 32px 32px;
|
||||
text-align: center;
|
||||
max-width: 320px;
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.gyro-permission-card svg {
|
||||
color: var(--cyan);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.gyro-permission-card p {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 8px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.gyro-permission-card span {
|
||||
font-size: 14px;
|
||||
color: var(--text-secondary);
|
||||
display: block;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.gyro-permission-card button {
|
||||
padding: 12px 32px;
|
||||
border-radius: 12px;
|
||||
border: none;
|
||||
background: linear-gradient(135deg, var(--cyan), var(--blue));
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.gyro-permission-card button:hover {
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
.page-title {
|
||||
@@ -104,7 +176,7 @@
|
||||
|
||||
.pkg-explain {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user