Files
web_huangguo2_h5/app/static/css/help.css
T
谢宇宁andClaude Opus 5.5 0fbdba5ccf Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 11:47:47 +07:00

450 lines
7.5 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* 常见问题:桌面 1440 × 1193,移动 375 × 1257。 */
.help-page {
min-height: 100vh;
padding-top: 72px;
background: var(--bg);
}
.help-page .site-header {
background: var(--bg);
border-bottom-color: var(--line-soft);
}
.help-page .site-header__login {
display: inline-flex;
align-items: center;
justify-content: center;
height: 40px;
padding-inline: 16px;
border-radius: 999px;
background: linear-gradient(135deg, #ff4a7b 15%, #ec237f 51%, #93226f 85%);
color: #fff;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.help-main {
width: min(calc(100% - 48px), var(--page-width));
margin: 0 auto;
}
.help-heading {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
padding: 48px 0 8px;
}
.help-kicker {
display: inline-flex;
align-items: center;
gap: 10px;
margin: 0;
color: var(--accent-hot);
font-size: 13px;
font-weight: 500;
line-height: 18px;
letter-spacing: .12em;
}
.help-kicker span {
width: 18px;
height: 2px;
flex: none;
background: var(--accent);
}
.help-heading h1 {
margin: 0;
color: var(--text);
font-size: 28px;
font-weight: 600;
line-height: 36px;
letter-spacing: -.01em;
}
.help-heading__intro {
margin: 0;
color: var(--text-muted);
font-size: 15px;
line-height: 24px;
}
.help-content {
display: grid;
grid-template-columns: minmax(0, 784px) minmax(0, 376px);
gap: 40px;
padding: 24px 0 48px;
}
.help-faq,
.help-aside {
min-width: 0;
}
.help-faq__item {
padding: 20px 0;
border-bottom: 1px solid var(--line-soft);
}
.help-faq__item:last-child {
border-bottom: 0;
}
.help-faq__item summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
color: var(--text-muted);
font-size: 16px;
font-weight: 600;
line-height: 22px;
list-style: none;
cursor: pointer;
}
.help-faq__item summary::-webkit-details-marker {
display: none;
}
.help-faq__item[open] summary {
color: var(--text);
}
.help-faq__item summary:focus-visible {
outline: 2px solid var(--accent-hot);
outline-offset: 4px;
}
.help-faq__chevron {
display: block;
width: 18px;
height: 18px;
flex: 0 0 18px;
background: url('/static/images/chevron-right.svg') center / 18px no-repeat;
opacity: .75;
transform: rotate(90deg);
}
.help-faq__item[open] .help-faq__chevron {
transform: rotate(-90deg);
}
.help-faq__item p {
margin: 12px 0 0;
color: var(--text-muted);
font-size: 14px;
line-height: 22px;
}
.help-aside {
display: flex;
flex-direction: column;
gap: 16px;
}
.help-contact,
.help-app {
display: flex;
flex-direction: column;
align-items: flex-start;
border: 1px solid var(--line-soft);
border-radius: 16px;
}
.help-contact {
gap: 14px;
padding: 24px;
background: var(--bg-elevated);
}
.help-contact h2,
.help-app h2 {
margin: 0;
color: var(--text);
font-size: 18px;
font-weight: 600;
line-height: 26px;
}
.help-contact p,
.help-app p {
margin: 0;
color: var(--text-muted);
font-size: 13px;
line-height: 20px;
}
.help-contact__button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
height: 48px;
border-radius: 999px;
background: linear-gradient(135deg, #ff4a7b 15%, #ec237f 51%, #93226f 85%);
color: #fff;
font-size: 15px;
font-weight: 500;
line-height: 22px;
}
.help-contact__button img {
width: 20px;
height: 20px;
}
.help-contact__email {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--accent-hot);
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.help-contact__email img,
.help-app a img {
width: 16px;
height: 16px;
}
.help-app {
gap: 12px;
padding: 24px;
background: var(--bg-panel);
}
.help-app a {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
height: 40px;
padding: 0 16px;
border: 1px solid var(--line);
border-radius: 999px;
color: var(--text);
font-size: 14px;
line-height: 20px;
}
.help-contact__button:hover,
.help-app a:hover {
filter: brightness(1.1);
}
.help-contact__button:focus-visible,
.help-app a:focus-visible,
.help-contact__email:focus-visible {
outline: 2px solid var(--accent-hot);
outline-offset: 3px;
}
.help-page .site-footer__legal {
flex-direction: row;
justify-content: space-between;
gap: 24px;
}
@media (min-width: 769px) {
.help-page .site-footer__rule {
margin-top: 8px;
}
}
@media (min-width: 769px) and (max-width: 1199px) {
.help-page .site-header {
height: 72px;
padding-block: 0;
flex-wrap: nowrap;
}
.help-page .site-header__left,
.help-page .site-header__right {
width: auto;
}
.help-page .site-header .search {
width: min(260px, 30vw);
}
}
@media (min-width: 769px) and (max-width: 1100px) {
.help-page .site-header .nav {
display: none;
}
}
@media (max-width: 768px) {
.help-page {
padding-top: 0;
}
.help-page .site-header {
display: none;
}
.help-page .page-subheader {
display: flex;
}
.help-main {
width: 100%;
padding-top: 56px;
}
.help-heading {
gap: 8px;
padding: 20px 16px 4px;
}
.help-heading h1 {
font-size: 22px;
line-height: 30px;
}
.help-heading__intro {
font-size: 13px;
line-height: 20px;
}
.help-content {
display: flex;
flex-direction: column;
gap: 16px;
padding: 4px 16px 20px;
}
.help-faq__item summary {
font-size: 16px;
line-height: 22px;
}
.help-faq__item p {
font-size: 14px;
line-height: 22px;
}
.help-aside {
display: block;
}
.help-contact {
gap: 10px;
padding: 18px;
border-radius: 12px;
}
.help-contact h2 {
font-size: 16px;
line-height: 22px;
}
.help-contact__button {
height: 40px;
font-size: 14px;
line-height: 20px;
}
.help-contact__button img {
width: 18px;
height: 18px;
}
.help-contact p {
font-size: 12px;
line-height: 18px;
}
.help-contact__email,
.help-app {
display: none;
}
.help-page .site-footer__inner {
padding: 32px 16px 28px;
gap: 18px;
}
.help-page .site-footer__brand {
gap: 18px;
}
.help-page .site-footer__links {
flex-wrap: wrap;
gap: 12px 16px;
}
.help-page .footer-col {
flex-wrap: nowrap;
}
.help-page .footer-col:first-child,
.help-page .footer-col:nth-child(2) a:last-child,
.help-page .footer-col:nth-child(3) a:last-child {
display: none;
}
.help-page .footer-download {
display: flex;
flex-basis: 100%;
justify-content: center;
padding: 0;
border: 0;
background: none;
}
.help-page .footer-download .qr-box,
.help-page .footer-download__copy strong,
.help-page .footer-download__copy p,
.help-page .footer-download__copy .icon {
display: none;
}
.help-page .footer-download .btn {
height: 20px;
padding: 0;
color: var(--text-muted);
background: none;
font-size: 13px;
line-height: 20px;
}
.help-page .site-footer__rule {
display: none;
}
.help-page .site-footer__legal {
flex-direction: column;
align-items: center;
gap: 0;
}
.help-page .site-footer__legal p:first-child {
order: 2;
width: 100%;
padding-top: 16px;
margin-top: 16px;
border-top: 1px solid var(--line-soft);
}
.help-page .site-footer__legal p:last-child {
order: 1;
}
.help-page .site-footer__adult,
.help-page .site-footer__rights {
display: none;
}
.help-page .site-footer__mobile-adult {
display: inline;
}
}