Files
2026-06-04 11:43:41 +08:00

383 lines
6.6 KiB
CSS

/* ============================================================
static.css - Static policy pages (yinsixieyi.html, yonghuxieyi.html)
Uses CSS variables from public.css
============================================================ */
/* ============================
POLICY PAGE - Overall layout
============================ */
.policy-page {
max-width: 900px;
margin: 0 auto;
padding: 0 16px 60px;
}
/* ============================
POLICY CARD - Main container
============================ */
.policy-card {
max-width: 900px;
margin: 0 auto 40px;
background: var(--white);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
overflow: hidden;
}
.policy-card-header {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--purple) 100%);
padding: 36px 40px;
text-align: center;
position: relative;
}
.policy-card-header::after {
content: '';
position: absolute;
bottom: -12px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(90deg, var(--gold), var(--orange));
border-radius: 2px;
}
.policy-card-title {
font-size: 26px;
color: var(--white);
font-weight: 700;
margin: 0 0 4px;
}
.policy-card-header p {
font-size: 14px;
color: rgba(255, 255, 255, 0.7);
margin: 0;
}
#articleTitle {
color: rgba(255, 255, 255, 0.8);
}
/* ============================
POLICY CARD BODY
============================ */
.policy-card-body {
padding: 40px;
}
.policy-card-body h1,
.policy-card-body h2 {
font-size: 20px;
font-weight: 700;
color: var(--primary);
margin: 32px 0 16px;
padding-bottom: 8px;
border-bottom: 2px solid var(--bg-light);
}
.policy-card-body h2:first-child,
.policy-card-body h1:first-child {
margin-top: 0;
}
.policy-card-body h3 {
font-size: 17px;
font-weight: 700;
color: var(--primary-light);
margin: 24px 0 12px;
}
.policy-card-body p {
font-size: 15px;
color: #555;
line-height: 1.9;
margin-bottom: 12px;
}
.policy-card-body ul,
.policy-card-body ol {
padding-left: 24px;
margin-bottom: 12px;
}
.policy-card-body li {
font-size: 15px;
color: #555;
line-height: 2;
}
/* ============================
POLICY SECTION - Structured content
============================ */
.policy-section {
margin-bottom: 28px;
padding-bottom: 24px;
border-bottom: 1px solid var(--border-light);
}
.policy-section:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.policy-section-title {
font-size: 18px;
font-weight: 700;
color: var(--primary);
margin: 0 0 14px;
padding-left: 12px;
border-left: 4px solid var(--gold);
line-height: 1.4;
}
.policy-section-content {
font-size: 15px;
color: #555;
line-height: 1.9;
}
.policy-section-content p {
margin-bottom: 10px;
}
.policy-section-content p:last-child {
margin-bottom: 0;
}
.policy-section-content ul,
.policy-section-content ol {
padding-left: 24px;
margin-bottom: 10px;
}
.policy-section-content li {
font-size: 15px;
color: #555;
line-height: 2;
}
.policy-section-content strong,
.policy-section-content b {
color: var(--text-dark);
font-weight: 600;
}
.policy-section-content a {
color: var(--primary);
text-decoration: underline;
transition: color 0.2s;
}
.policy-section-content a:hover {
color: var(--orange);
}
/* ============================
UPDATE DATE
============================ */
.policy-update-date {
font-size: 13px;
color: var(--text-muted);
text-align: center;
margin-top: 24px;
padding-top: 16px;
border-top: 1px solid var(--border-light);
}
.policy-update-date .date-label {
font-weight: 600;
color: var(--text-muted);
}
.policy-update-date .date-value {
color: var(--primary);
font-weight: 600;
}
/* ============================
PAGE HEADER / NAV (shared)
============================ */
.page-header {
width: 1400px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 0;
}
.page-header .logo-wrap {
display: flex;
align-items: center;
gap: 12px;
}
.page-header .logo-wrap img {
height: 44px;
}
.page-header .logo-text {
font-size: 26px;
font-weight: 700;
color: var(--primary);
}
.page-header .logo-text span {
color: var(--orange);
}
.page-header .header-right {
display: flex;
align-items: center;
gap: 16px;
}
.page-header .header-right a {
font-size: 14px;
color: var(--primary);
font-weight: 500;
transition: color 0.2s;
text-decoration: none;
}
.page-header .header-right a:hover {
color: var(--orange);
}
.page-nav {
width: 100%;
background: var(--primary);
display: flex;
justify-content: center;
}
.page-nav-inner {
width: 1400px;
display: flex;
align-items: center;
justify-content: center;
height: 50px;
}
.page-nav-inner a {
width: 140px;
display: flex;
font-size: 16px;
justify-content: center;
line-height: 50px;
text-align: center;
color: var(--white);
cursor: pointer;
transition: background 0.3s;
text-decoration: none;
}
.page-nav-inner a:hover {
background: rgba(253, 185, 51, 0.2);
}
.page-nav-inner a.active {
background: rgba(253, 185, 51, 0.3);
}
.page-main {
width: 1400px;
margin: 20px auto;
}
/* ============================
FOOTER
============================ */
.FooterRecord {
border-top: 1px solid rgba(0, 0, 0, 0.08);
padding: 20px;
text-align: center;
background: var(--white);
}
.FooterRecord .fotter-box {
max-width: 1200px;
margin: 0 auto;
}
.FooterRecord .fotter-center {
font-size: 12px;
color: var(--text-muted);
line-height: 2;
}
/* ============================
RESPONSIVE STYLES
============================ */
@media (max-width: 768px) {
.page-header,
.page-nav-inner,
.page-main {
width: 100%;
padding: 0 16px;
}
.policy-card-header {
padding: 28px 24px;
}
.policy-card-title {
font-size: 20px;
}
.policy-card-body {
padding: 24px 20px;
}
.policy-section-title {
font-size: 16px;
}
.policy-section-content,
.policy-card-body p,
.policy-card-body li {
font-size: 14px;
}
.policy-page {
padding: 0 8px 40px;
}
}
@media (max-width: 480px) {
.policy-card-header {
padding: 20px 16px;
}
.policy-card-title {
font-size: 18px;
}
.policy-card-body {
padding: 20px 16px;
}
.policy-section {
margin-bottom: 20px;
padding-bottom: 16px;
}
.policy-section-title {
font-size: 15px;
padding-left: 8px;
border-left-width: 3px;
}
.page-header .logo-text {
font-size: 20px;
}
.page-nav-inner a {
font-size: 13px;
padding: 0 10px;
}
}