163 lines
2.8 KiB
SCSS
163 lines
2.8 KiB
SCSS
.tiangong-page {
|
|
min-height: 100vh;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
color: #202126;
|
|
background: #fff;
|
|
}
|
|
|
|
.tiangong-content {
|
|
min-height: 100vh;
|
|
padding: calc(72px + env(safe-area-inset-top)) 48px calc(206px + env(safe-area-inset-bottom));
|
|
box-sizing: border-box;
|
|
background: #fff;
|
|
}
|
|
|
|
.tiangong-title {
|
|
display: block;
|
|
text-align: center;
|
|
color: #26272b;
|
|
font-size: 42px;
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.tiangong-subtitle {
|
|
display: block;
|
|
margin: 16px 0 54px;
|
|
text-align: center;
|
|
color: #9a9da5;
|
|
font-size: 24px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.deity-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
column-gap: 28px;
|
|
row-gap: 38px;
|
|
}
|
|
|
|
.deity-card {
|
|
min-width: 0;
|
|
height: 246px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.deity-image {
|
|
width: 100%;
|
|
height: 192px;
|
|
display: block;
|
|
background: #fff;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.deity-card.locked .deity-image {
|
|
opacity: 0.28;
|
|
filter: grayscale(1);
|
|
}
|
|
|
|
.deity-name {
|
|
width: 100%;
|
|
height: 50px;
|
|
margin-top: 4px;
|
|
background: #dceddf;
|
|
color: #283b32;
|
|
font-size: 24px;
|
|
line-height: 50px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tiangong-tabbar {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 2;
|
|
height: calc(166px + env(safe-area-inset-bottom));
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
border-radius: 28px 28px 0 0;
|
|
background: rgba(255, 255, 255, 0.96);
|
|
box-shadow: 0 -8px 30px rgba(23, 30, 37, 0.1);
|
|
backdrop-filter: blur(12px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.tabbar-item,
|
|
.center-tab {
|
|
width: 150px;
|
|
height: 132px;
|
|
color: #5b5e65;
|
|
font-size: 30px;
|
|
font-weight: 900;
|
|
line-height: 1.1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.center-tab {
|
|
margin-top: -82px;
|
|
color: #ff9b2a;
|
|
}
|
|
|
|
.center-avatar {
|
|
width: 118px;
|
|
height: 118px;
|
|
border-radius: 64px;
|
|
border: 12px solid #f3f6fb;
|
|
box-shadow: 0 10px 28px rgba(92, 104, 135, 0.2);
|
|
}
|
|
|
|
.home-tab-icon {
|
|
width: 42px;
|
|
height: 36px;
|
|
border-radius: 0 0 18px 18px;
|
|
background: currentColor;
|
|
position: relative;
|
|
}
|
|
|
|
.home-tab-icon::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 5px;
|
|
top: -22px;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 18px 18px 10px 10px;
|
|
background: currentColor;
|
|
}
|
|
|
|
.mine-tab-icon {
|
|
width: 48px;
|
|
height: 32px;
|
|
border-radius: 24px 24px 14px 14px;
|
|
background: currentColor;
|
|
position: relative;
|
|
}
|
|
|
|
.mine-tab-icon::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 13px;
|
|
top: -26px;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
}
|