| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- /**
- * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
- * SPDX-License-Identifier: MIT
- */
- .rspress-doc-container:not(:has(.aside-container_edeb4)) .rspress-doc {
- width: auto;
- max-width: 1400px;
- }
- .rspress-doc-container:not(:has(.aside-container_edeb4)) .rspress-doc-footer {
- width: auto;
- max-width: 1400px;
- }
- .sp-preview {
- height: 100% !important;
- }
- //.medium-zoom-image {
- // width: 100%;
- //}
- .gedit-playground .medium-zoom-image {
- pointer-events: none;
- }
- .rs-table {
- width: 100%;
- }
- .rs-table td {
- padding: 8px;
- border: 1px solid var(--rp-c-divider-light);
- }
- .rs-table img {
- max-height: 500px;
- max-width: 500px;
- }
- .rs-table td:first-child {
- width: 20%;
- }
- .rs-center {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .rs-tip {
- color: var(--rp-c-text-2);
- border-left: 2px solid #ccc;
- padding: 0 8px;
- margin: 16px 0;
- }
- .rs-highlight {
- border: 1px solid var(--rp-container-warning-border);
- background-color: var(--rp-container-warning-bg);
- padding: 12px 24px;
- font-size: 14px;
- font-weight: 400;
- line-height: 1.7;
- border-radius: var(--rp-radius);
- color: var(--rp-c-text-1);
- }
- .rs-link {
- color: var(--rp-c-link);
- }
- .rs-red {
- color: var(--rp-container-danger-text);
- }
- .light-mode {
- color-scheme: light;
- --background-color: #ffffff !important; /* 强制使用浅色背景 */
- --text-color: #000000 !important; /* 强制使用深色文本 */
- --rp-c-bg: #fff !important;
- --rp-c-text-1: #000000 !important; /* 强制使用深色文本 */
- button {
- background: transparent;
- }
- }
- .preview-ediitor {
- button {
- color: #000000e6;
- background: #e1e3e4;
- border: 1px solid #e5e6eb;
- border-radius: 8px;
- justify-content: center;
- align-items: center;
- gap: 8px;
- height: 30px;
- padding: 0px 8px;
- font-size: 14px;
- font-style: normal;
- font-weight: 400;
- transition: background .3s, border .3s, opacity .3s;
- display: inline-flex
- }
- input {
- border: 1px solid #e5e6eb;
- background-color: var(--rp-c-bg);
- padding: 4px 8px;
- }
- }
- .light-mode * {
- color: var(--text-color) !important;
- }
- // .semi-tooltip-content {
- // color: black;
- // }
- .dark {
- .invert-img {
- filter: invert(0.9);
- }
- }
|