| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788 |
- /* BEX 条款页面样式 - 严格参照Figma设计图 */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
- line-height: 1.6;
- color: #e6e6e6;
- background-color: #0d0d0d;
- padding: 0;
- max-width: 100%;
- overflow-x: hidden;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- .container {
- max-width: 1300px;
- margin: 0 auto;
- background-color: #0d0d0d;
- border-radius: 0;
- box-shadow: none;
- padding: 0;
- position: relative;
- }
- /* 头部样式 - 深色背景 */
- .header {
- text-align: left;
- margin-bottom: 0;
- padding: 32px 24px;
- border-bottom: 1px solid #1f1f1f;
- background-color: #0d0d0d;
- }
- .brand {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- gap: 12px;
- margin-bottom: 24px;
- }
- .brand-logo {
- width: 40px;
- height: 40px;
- background: linear-gradient(135deg, #f0b90b 0%, #f8d12f 100%);
- border-radius: 8px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #0d0d0d;
- font-weight: bold;
- font-size: 18px;
- }
- .brand-name {
- font-size: 18px;
- font-weight: 600;
- color: #ffffff;
- }
- .page-title {
- font-size: 24px;
- color: #ffffff;
- margin-bottom: 8px;
- font-weight: 700;
- }
- .update-time {
- color: #888888;
- font-size: 13px;
- margin-bottom: 12px;
- }
- .page-description {
- color: #aaaaaa;
- font-size: 14px;
- max-width: 100%;
- line-height: 1.6;
- }
- /* 内容区域样式 */
- .content {
- font-size: 14px;
- color: #cccccc;
- padding: 24px;
- max-width: 100%;
- margin: 0 auto;
- }
- .section {
- margin-bottom: 32px;
- background-color: #141414;
- border-radius: 12px;
- padding: 20px;
- border: 1px solid #1f1f1f;
- }
- .section-title {
- font-size: 16px;
- font-weight: 600;
- color: #ffffff;
- margin-bottom: 16px;
- padding-bottom: 12px;
- border-bottom: 1px solid #1f1f1f;
- }
- .section-content {
- margin-left: 0;
- }
- .paragraph {
- margin-bottom: 16px;
- text-align: justify;
- color: #b0b0b0;
- line-height: 1.8;
- font-size: 14px;
- }
- .paragraph:last-child {
- margin-bottom: 0;
- }
- .sub-section {
- margin-left: 16px;
- margin-bottom: 16px;
- }
- .sub-title {
- font-weight: 600;
- color: #e0e0e0;
- margin-bottom: 8px;
- font-size: 14px;
- }
- /* 列表样式 */
- .list {
- margin-left: 24px;
- margin-bottom: 16px;
- }
- .list-item {
- margin-bottom: 8px;
- position: relative;
- color: #b0b0b0;
- line-height: 1.7;
- }
- .list-item:before {
- content: "•";
- color: #f0b90b;
- font-weight: bold;
- position: absolute;
- left: -16px;
- font-size: 14px;
- }
- .numbered-list {
- margin-left: 24px;
- margin-bottom: 16px;
- counter-reset: item;
- }
- .numbered-item {
- margin-bottom: 8px;
- position: relative;
- color: #b0b0b0;
- line-height: 1.7;
- }
- .numbered-item:before {
- counter-increment: item;
- content: counter(item) ".";
- color: #f0b90b;
- font-weight: bold;
- position: absolute;
- left: -20px;
- font-size: 13px;
- }
- /* 强调文本 - 深色主题 */
- .important {
- background-color: #1a1500;
- border-left: 4px solid #f0b90b;
- padding: 16px;
- margin: 20px 0;
- border-radius: 0 8px 8px 0;
- }
- .important p {
- color: #d4a50a;
- font-size: 13px;
- line-height: 1.6;
- }
- .warning {
- background-color: #1a0a0a;
- border-left: 4px solid #ff4d4f;
- padding: 16px;
- margin: 20px 0;
- border-radius: 0 8px 8px 0;
- }
- .warning p {
- color: #ff7875;
- font-size: 13px;
- line-height: 1.6;
- }
- .note {
- background-color: #0a1a1a;
- border-left: 4px solid #52c41a;
- padding: 16px;
- margin: 20px 0;
- border-radius: 0 8px 8px 0;
- }
- .note p {
- color: #73d13d;
- font-size: 13px;
- line-height: 1.6;
- }
- /* 底部导航 */
- .footer {
- margin-top: 40px;
- padding: 32px 24px;
- border-top: 1px solid #1f1f1f;
- text-align: center;
- background-color: #0d0d0d;
- }
- .back-button {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #f0b90b 0%, #f8d12f 100%);
- color: #0d0d0d;
- padding: 12px 32px;
- border-radius: 24px;
- text-decoration: none;
- font-weight: 600;
- transition: all 0.3s ease;
- border: none;
- cursor: pointer;
- font-size: 14px;
- }
- .back-button:hover {
- transform: translateY(-2px);
- box-shadow: 0 4px 20px rgba(240, 185, 11, 0.3);
- }
- .back-button i {
- margin-right: 8px;
- font-size: 13px;
- }
- .copyright {
- margin-top: 24px;
- color: #666666;
- font-size: 12px;
- line-height: 1.8;
- }
- .copyright p {
- margin-bottom: 4px;
- }
- .copyright p:last-child {
- margin-bottom: 0;
- }
- /* 响应式设计 */
- @media (max-width: 768px) {
- body {
- padding: 0;
- }
-
- .container {
- padding: 0;
- border-radius: 0;
- }
-
- .header {
- padding: 24px 16px;
- }
-
- .page-title {
- font-size: 22px;
- }
-
- .page-description {
- font-size: 13px;
- }
-
- .content {
- padding: 16px;
- font-size: 13px;
- }
-
- .section {
- padding: 16px;
- margin-bottom: 24px;
- }
-
- .section-title {
- font-size: 15px;
- }
-
- .section-content {
- margin-left: 0;
- }
-
- .sub-section {
- margin-left: 12px;
- }
-
- .list {
- margin-left: 20px;
- }
-
- .numbered-list {
- margin-left: 20px;
- }
-
- .footer {
- padding: 24px 16px;
- }
- }
- @media (max-width: 480px) {
- body {
- padding: 0;
- }
-
- .container {
- padding: 0;
- }
-
- .header {
- padding: 20px 12px;
- }
-
- .brand-logo {
- width: 36px;
- height: 36px;
- font-size: 16px;
- }
-
- .brand-name {
- font-size: 16px;
- }
-
- .page-title {
- font-size: 20px;
- }
-
- .content {
- padding: 12px;
- font-size: 12px;
- }
-
- .section {
- padding: 12px;
- margin-bottom: 16px;
- border-radius: 8px;
- }
-
- .section-title {
- font-size: 14px;
- padding-bottom: 8px;
- }
-
- .paragraph {
- font-size: 12px;
- line-height: 1.7;
- }
-
- .back-button {
- width: 100%;
- text-align: center;
- padding: 12px 20px;
- }
-
- .footer {
- padding: 20px 12px;
- }
- }
- /* 目录导航 - 深色主题 */
- .toc {
- background-color: #141414;
- border-radius: 12px;
- padding: 20px;
- margin-bottom: 24px;
- border: 1px solid #1f1f1f;
- }
- .toc-title {
- font-size: 16px;
- font-weight: 600;
- color: #ffffff;
- margin-bottom: 12px;
- }
- .toc-list {
- list-style: none;
- margin-left: 0;
- }
- .toc-item {
- margin-bottom: 8px;
- }
- .toc-link {
- color: #999999;
- text-decoration: none;
- transition: all 0.2s;
- display: block;
- padding: 6px 0;
- font-size: 13px;
- border-radius: 4px;
- }
- .toc-link:hover {
- color: #f0b90b;
- padding-left: 8px;
- }
- /* 高亮当前阅读部分 */
- :target {
- background-color: rgba(240, 185, 11, 0.05);
- padding: 8px;
- border-radius: 6px;
- animation: highlight 1.5s ease;
- }
- @keyframes highlight {
- 0% { background-color: transparent; }
- 30% { background-color: rgba(240, 185, 11, 0.1); }
- 100% { background-color: rgba(240, 185, 11, 0.05); }
- }
- /* 阅读进度指示器 */
- .reading-progress {
- position: fixed;
- top: 0;
- left: 0;
- width: 0%;
- height: 3px;
- background: linear-gradient(90deg, #f0b90b, #f8d12f);
- z-index: 1000;
- transition: width 0.15s ease-out;
- }
- /* 表格样式 - 深色主题 */
- .table-container {
- overflow-x: auto;
- margin: 16px 0;
- border-radius: 8px;
- border: 1px solid #1f1f1f;
- }
- .data-table {
- width: 100%;
- border-collapse: collapse;
- }
- .data-table th,
- .data-table td {
- padding: 12px 14px;
- text-align: left;
- border-bottom: 1px solid #1f1f1f;
- }
- .data-table th {
- background-color: #1a1a1a;
- font-weight: 600;
- color: #e0e0e0;
- font-size: 13px;
- }
- .data-table td {
- color: #b0b0b0;
- font-size: 13px;
- }
- .data-table tr:hover td {
- background-color: #1a1a1a;
- }
- .data-table tr:last-child td {
- border-bottom: none;
- }
- /* 按钮样式 - 金色主题 */
- .btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 10px 20px;
- border-radius: 8px;
- font-weight: 600;
- font-size: 13px;
- cursor: pointer;
- transition: all 0.3s ease;
- border: none;
- text-decoration: none;
- }
- .btn-primary {
- background: linear-gradient(135deg, #f0b90b 0%, #f8d12f 100%);
- color: #0d0d0d;
- }
- .btn-primary:hover {
- transform: translateY(-2px);
- box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
- }
- .btn-secondary {
- background-color: #1a1a1a;
- color: #e0e0e0;
- border: 1px solid #333333;
- }
- .btn-secondary:hover {
- background-color: #252525;
- }
- /* 卡片样式 - 深色主题 */
- .card {
- background-color: #141414;
- border-radius: 12px;
- padding: 20px;
- margin-bottom: 16px;
- border: 1px solid #1f1f1f;
- }
- .card-title {
- font-size: 16px;
- font-weight: 600;
- color: #ffffff;
- margin-bottom: 10px;
- }
- .card-content {
- color: #b0b0b0;
- font-size: 13px;
- line-height: 1.7;
- }
- /* 分隔线 */
- .divider {
- height: 1px;
- background: linear-gradient(90deg, transparent, #1f1f1f, transparent);
- margin: 24px 0;
- }
- /* 文字选择颜色 */
- ::selection {
- background-color: rgba(240, 185, 11, 0.3);
- color: #ffffff;
- }
- /* 滚动条样式 - 深色主题 */
- ::-webkit-scrollbar {
- width: 8px;
- }
- ::-webkit-scrollbar-track {
- background: #0d0d0d;
- }
- ::-webkit-scrollbar-thumb {
- background: #333333;
- border-radius: 4px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: #444444;
- }
- /* ==================== 浅色主题样式 ==================== */
- /* 浅色主题 - 基础 */
- body.theme-light {
- color: #121212;
- background-color: #FFFFFF;
- }
- body.theme-light .container {
- background-color: #FFFFFF;
- }
- /* 浅色主题 - 头部 */
- body.theme-light .header {
- background-color: #FFFFFF;
- border-bottom-color: #EFEFEF;
- }
- body.theme-light .brand-name {
- color: #121212;
- }
- body.theme-light .page-title {
- color: #121212;
- }
- body.theme-light .update-time {
- color: #666666;
- }
- body.theme-light .page-description {
- color: #555555;
- }
- /* 浅色主题 - 内容区域 */
- body.theme-light .content {
- color: #333333;
- }
- body.theme-light .section {
- background-color: #F4F4F4;
- border-color: #E8E8E8;
- }
- body.theme-light .section-title {
- color: #121212;
- border-bottom-color: #E8E8E8;
- }
- body.theme-light .paragraph {
- color: #333333;
- }
- body.theme-light .sub-title {
- color: #191919;
- }
- /* 浅色主题 - 列表 */
- body.theme-light .list-item {
- color: #333333;
- }
- body.theme-light .numbered-item {
- color: #333333;
- }
- /* 浅色主题 - 提示框 */
- body.theme-light .important {
- background-color: #FFF8E1;
- border-left-color: #f0b90b;
- }
- body.theme-light .important p {
- color: #8B6914;
- }
- body.theme-light .warning {
- background-color: #FFF2F0;
- border-left-color: #ff4d4f;
- }
- body.theme-light .warning p {
- color: #CF1322;
- }
- body.theme-light .note {
- background-color: #F6FFED;
- border-left-color: #52c41a;
- }
- body.theme-light .note p {
- color: #389E0D;
- }
- /* 浅色主题 - 底部 */
- body.theme-light .footer {
- background-color: #FFFFFF;
- border-top-color: #EFEFEF;
- }
- body.theme-light .copyright {
- color: #888888;
- }
- /* 浅色主题 - 目录导航 */
- body.theme-light .toc {
- background-color: #F4F4F4;
- border-color: #E8E8E8;
- }
- body.theme-light .toc-title {
- color: #121212;
- }
- body.theme-light .toc-link {
- color: #555555;
- }
- body.theme-light .toc-link:hover {
- color: #f0b90b;
- }
- /* 浅色主题 - 表格 */
- body.theme-light .table-container {
- border-color: #E8E8E8;
- }
- body.theme-light .data-table th {
- background-color: #F4F4F4;
- color: #121212;
- }
- body.theme-light .data-table td {
- color: #333333;
- border-bottom-color: #E8E8E8;
- }
- body.theme-light .data-table tr:hover td {
- background-color: #F9F9F9;
- }
- /* 浅色主题 - 按钮 */
- body.theme-light .btn-secondary {
- background-color: #F4F4F4;
- color: #121212;
- border-color: #E8E8E8;
- }
- body.theme-light .btn-secondary:hover {
- background-color: #EFEFEF;
- }
- /* 浅色主题 - 卡片 */
- body.theme-light .card {
- background-color: #F4F4F4;
- border-color: #E8E8E8;
- }
- body.theme-light .card-title {
- color: #121212;
- }
- body.theme-light .card-content {
- color: #333333;
- }
- /* 浅色主题 - 分隔线 */
- body.theme-light .divider {
- background: linear-gradient(90deg, transparent, #E8E8E8, transparent);
- }
- /* 浅色主题 - 文字选择 */
- body.theme-light ::selection {
- background-color: rgba(240, 185, 11, 0.2);
- color: #121212;
- }
- /* 浅色主题 - 滚动条 */
- body.theme-light ::-webkit-scrollbar-track {
- background: #FFFFFF;
- }
- body.theme-light ::-webkit-scrollbar-thumb {
- background: #CCCCCC;
- }
- body.theme-light ::-webkit-scrollbar-thumb:hover {
- background: #AAAAAA;
- }
- /* 浅色主题 - 高亮当前阅读部分 */
- body.theme-light :target {
- background-color: rgba(240, 185, 11, 0.08);
- }
- @keyframes highlight {
- 0% { background-color: transparent; }
- 30% { background-color: rgba(240, 185, 11, 0.15); }
- 100% { background-color: rgba(240, 185, 11, 0.08); }
- }
|