Files
astrbot_plugin_jx3/templates/styles/pages/chengjiu.css
T
2026-08-04 00:17:25 +08:00

306 lines
7.5 KiB
CSS

.page-header {
position: relative;
overflow: hidden;
margin-bottom: 24px;
padding: 28px 32px;
border: 1px solid rgba(138, 161, 255, 0.22);
border-radius: 18px;
background:
linear-gradient(
135deg,
rgba(45, 59, 94, 0.92),
rgba(29, 37, 62, 0.92)
);
box-shadow:
0 18px 40px rgba(0, 0, 0, 0.25),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.page-header::before {
content: "";
position: absolute;
top: -80px;
right: -40px;
width: 260px;
height: 260px;
border-radius: 50%;
background: rgba(107, 126, 255, 0.12);
filter: blur(2px);
}
.page-header::after {
content: "";
position: absolute;
right: 36px;
bottom: -65px;
width: 150px;
height: 150px;
border: 1px solid rgba(177, 132, 255, 0.14);
border-radius: 50%;
}
.header-content {
position: relative;
z-index: 1;
}
.header-label {
margin-bottom: 9px;
color: #98a7d9;
font-size: 14px;
font-weight: 600;
letter-spacing: 3px;
}
.role-name {
margin: 0;
color: #ffffff;
font-size: 34px;
font-weight: 800;
line-height: 1.3;
letter-spacing: 1px;
text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}
.header-line {
width: 58px;
height: 4px;
margin-top: 17px;
border-radius: 999px;
background: linear-gradient(
90deg,
#6d8cff,
#ae72ff
);
box-shadow: 0 0 14px rgba(112, 137, 255, 0.5);
}
.achievement-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
.achievement-card {
position: relative;
overflow: hidden;
min-width: 0;
padding: 21px 22px;
border: 1px solid rgba(130, 149, 207, 0.18);
border-radius: 16px;
background:
linear-gradient(
145deg,
rgba(32, 40, 65, 0.97),
rgba(24, 30, 50, 0.97)
);
box-shadow:
0 12px 28px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.035);
break-inside: avoid;
}
.achievement-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: linear-gradient(
180deg,
#6c89ff,
#a66dff
);
}
.achievement-card.finished::before {
background: linear-gradient(
180deg,
#4be0ad,
#44a9ff
);
}
.card-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 15px;
}
.title-area {
min-width: 0;
}
.achievement-name {
margin: 0 0 8px 0;
color: #ffffff;
font-size: 20px;
font-weight: 750;
line-height: 1.45;
word-break: break-word;
}
.category-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.category-tag {
display: inline-flex;
align-items: center;
min-height: 26px;
padding: 4px 10px;
border: 1px solid rgba(114, 139, 230, 0.24);
border-radius: 999px;
color: #b9c6ed;
background: rgba(92, 115, 192, 0.11);
font-size: 12px;
font-weight: 600;
line-height: 1.3;
}
.category-tag.detail {
color: #d1bbf4;
border-color: rgba(168, 114, 230, 0.24);
background: rgba(156, 92, 203, 0.1);
}
.status-area {
display: flex;
flex-shrink: 0;
flex-direction: column;
align-items: flex-end;
gap: 8px;
}
.status-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 72px;
padding: 6px 11px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
}
.status-finished {
color: #7ff0c9;
border: 1px solid rgba(71, 219, 166, 0.28);
background: rgba(53, 190, 143, 0.12);
}
.status-unfinished {
color: #ffbcbd;
border: 1px solid rgba(255, 116, 116, 0.25);
background: rgba(218, 75, 75, 0.11);
}
.favorite-badge {
display: inline-flex;
align-items: center;
gap: 5px;
color: #f4c969;
font-size: 12px;
font-weight: 650;
white-space: nowrap;
}
.not-favorite {
color: #707b9d;
}
.description {
min-height: 46px;
margin: 0 0 18px 0;
color: #aab5d1;
font-size: 14px;
line-height: 1.75;
word-break: break-word;
}
.card-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding-top: 14px;
border-top: 1px solid rgba(130, 149, 207, 0.13);
}
.point-label {
color: #76819e;
font-size: 13px;
}
.point-value {
display: flex;
align-items: baseline;
gap: 5px;
color: #f4ce73;
font-weight: 800;
}
.point-number {
font-size: 22px;
line-height: 1;
}
.point-unit {
font-size: 12px;
font-weight: 600;
}
.empty-state {
grid-column: 1 / -1;
padding: 60px 20px;
border: 1px dashed rgba(135, 153, 207, 0.24);
border-radius: 16px;
color: #8d98b6;
background: rgba(27, 34, 55, 0.75);
text-align: center;
font-size: 16px;
}
@media (max-width: 850px) {
body {
padding: 20px;
}
.achievement-list {
grid-template-columns: 1fr;
}
.role-name {
font-size: 29px;
}
}
@media (max-width: 520px) {
body {
padding: 14px;
}
.page-header {
padding: 23px 20px;
}
.achievement-card {
padding: 18px;
}
.card-header {
flex-direction: column;
}
.status-area {
flex-direction: row;
align-items: center;
}
}