Files
astrbot_plugin_jx3/templates/styles/pages/helps.css
T
2026-09-04 22:38:16 +08:00

168 lines
3.0 KiB
CSS

.help-page {
position: relative;
padding: 22px;
overflow: hidden;
border: 1px solid var(--jx3-border-soft);
border-radius: 20px;
background: linear-gradient(135deg, #ffffff, #f5f8fa);
box-shadow: var(--jx3-shadow-sm);
}
.help-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
margin-bottom: 18px;
}
.top-name {
color: var(--jx3-gold-bright);
font-size: 32px;
font-weight: 800;
letter-spacing: 0.08em;
}
.top-summary {
margin-top: 5px;
font-size: 18px;
}
.top-desc {
font-size: 18px;
line-height: 1.75;
text-align: right;
}
.section-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
align-items: start;
}
.section {
min-width: 0;
overflow: hidden;
}
.section.span-2 {
grid-column: span 2;
}
.section.span-3,
.full-row {
grid-column: 1 / -1;
}
.section-title {
padding: 11px 15px;
border-bottom: 1px solid rgba(220, 199, 145, 0.3);
background: linear-gradient(90deg, rgba(198, 165, 93, 0.24), rgba(105, 138, 194, 0.08));
font-size: 22px;
font-weight: 800;
letter-spacing: 0.05em;
}
.section-body {
display: grid;
grid-template-columns: 1fr;
gap: 0 18px;
padding: 7px 13px 10px;
}
.span-2 .section-body {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature {
display: grid;
grid-template-columns: 88px minmax(0, 1fr);
gap: 9px;
align-items: start;
min-width: 0;
padding: 8px 0;
border-bottom: 1px dashed rgba(186, 205, 239, 0.15);
}
.feature-name {
padding-top: 3px;
font-size: 18px;
line-height: 1.5;
font-weight: 700;
}
.commands {
display: flex;
flex-wrap: wrap;
gap: 5px;
min-width: 0;
}
.command {
display: inline-block;
padding: 3px 7px;
border: 1px solid rgba(157, 184, 228, 0.22);
border-radius: 5px;
font-size: 18px;
line-height: 1.5;
word-break: break-all;
}
.ranking-section .section-body {
display: block;
}
.ranking-feature {
grid-template-columns: 88px minmax(0, 1fr);
}
.ranking-list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 5px;
}
.ranking-list .command {
width: 100%;
}
.trial-feature {
margin-top: 4px;
}
.push-section .section-body {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.section--danger {
border-color: rgba(213, 106, 99, 0.54) !important;
}
.section--danger .section-title {
color: #872d29;
background: linear-gradient(90deg, #f9dfdc, #f9f3ee);
}
.section--success {
border-color: rgba(98, 188, 146, 0.52) !important;
}
.section--success .section-title {
color: #176541;
background: linear-gradient(90deg, #dff2e8, #f3f7f4);
}
.help-footer {
margin-top: 17px;
padding: 13px 16px 2px;
border-top: 1px solid rgba(216, 195, 140, 0.24);
font-size: 18px;
line-height: 1.8;
text-align: center;
}
.help-footer strong {
color: var(--jx3-gold-bright);
}