Files
school-developer/public/bot/assets/index-dc175dce.css
吴红兵 94c3473958 fix
2026-03-07 01:34:48 +08:00

381 lines
10 KiB
CSS

.markdown-body {
background-color: transparent;
font-size: 14px;
}
.markdown-body p {
white-space: pre-wrap;
}
.markdown-body ol {
list-style-type: decimal;
}
.markdown-body ul {
list-style-type: disc;
}
.markdown-body pre code,
.markdown-body pre tt {
line-height: 1.65;
}
.markdown-body .highlight pre,
.markdown-body pre {
background-color: #fff;
}
.markdown-body code.hljs {
padding: 0;
}
.markdown-body .code-block-wrapper {
position: relative;
padding-top: 24px;
}
.markdown-body .code-block-header {
position: absolute;
top: 5px;
right: 0;
width: 100%;
padding: 0 1rem;
display: flex;
justify-content: flex-end;
align-items: center;
color: #b3b3b3;
}
.markdown-body .code-block-header__copy {
cursor: pointer;
margin-left: 0.5rem;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.markdown-body .code-block-header__copy:hover {
color: #65a665;
}
.markdown-body div[id^='mermaid-container'] {
padding: 4px;
border-radius: 4px;
overflow-x: auto !important;
background-color: #fff;
border: 1px solid #e5e5e5;
}
.markdown-body.markdown-body-generate > dd:last-child:after,
.markdown-body.markdown-body-generate > dl:last-child:after,
.markdown-body.markdown-body-generate > dt:last-child:after,
.markdown-body.markdown-body-generate > h1:last-child:after,
.markdown-body.markdown-body-generate > h2:last-child:after,
.markdown-body.markdown-body-generate > h3:last-child:after,
.markdown-body.markdown-body-generate > h4:last-child:after,
.markdown-body.markdown-body-generate > h5:last-child:after,
.markdown-body.markdown-body-generate > h6:last-child:after,
.markdown-body.markdown-body-generate > li:last-child:after,
.markdown-body.markdown-body-generate > ol:last-child li:last-child:after,
.markdown-body.markdown-body-generate > p:last-child:after,
.markdown-body.markdown-body-generate > pre:last-child code:after,
.markdown-body.markdown-body-generate > td:last-child:after,
.markdown-body.markdown-body-generate > ul:last-child li:last-child:after {
animation: blink 1s steps(5, start) infinite;
color: #000;
content: '_';
font-weight: 700;
margin-left: 3px;
vertical-align: baseline;
}
@keyframes blink {
to {
visibility: hidden;
}
}
html.dark .markdown-body.markdown-body-generate > dd:last-child:after,
html.dark .markdown-body.markdown-body-generate > dl:last-child:after,
html.dark .markdown-body.markdown-body-generate > dt:last-child:after,
html.dark .markdown-body.markdown-body-generate > h1:last-child:after,
html.dark .markdown-body.markdown-body-generate > h2:last-child:after,
html.dark .markdown-body.markdown-body-generate > h3:last-child:after,
html.dark .markdown-body.markdown-body-generate > h4:last-child:after,
html.dark .markdown-body.markdown-body-generate > h5:last-child:after,
html.dark .markdown-body.markdown-body-generate > h6:last-child:after,
html.dark .markdown-body.markdown-body-generate > li:last-child:after,
html.dark .markdown-body.markdown-body-generate > ol:last-child li:last-child:after,
html.dark .markdown-body.markdown-body-generate > p:last-child:after,
html.dark .markdown-body.markdown-body-generate > pre:last-child code:after,
html.dark .markdown-body.markdown-body-generate > td:last-child:after,
html.dark .markdown-body.markdown-body-generate > ul:last-child li:last-child:after {
color: #65a665;
}
html.dark .message-reply .whitespace-pre-wrap {
white-space: pre-wrap;
color: var(--n-text-color);
}
html.dark .highlight pre,
html.dark pre {
background-color: #282c34;
}
.mobile-text-container {
overflow-x: auto !important;
overflow-y: visible !important;
-webkit-overflow-scrolling: touch;
width: 100%;
min-width: 0;
}
.mobile-text-container::-webkit-scrollbar {
height: 8px;
width: 8px;
}
.mobile-text-container::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
border-radius: 4px;
}
.mobile-text-container::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.3);
border-radius: 4px;
}
.mobile-text-container::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.5);
}
.test-wide-table {
width: 800px !important;
min-width: 800px !important;
background: #f0f0f0;
border: 2px solid #ff0000;
}
.test-wide-table td,
.test-wide-table th {
min-width: 150px !important;
padding: 10px !important;
border: 1px solid #ccc !important;
white-space: nowrap !important;
}
.mobile-markdown {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
min-width: 0;
width: 100%;
scroll-behavior: smooth;
}
.mobile-markdown table {
display: block !important;
width: auto !important;
min-width: 100% !important;
overflow-x: auto !important;
white-space: nowrap !important;
-webkit-overflow-scrolling: touch;
}
.mobile-markdown table th,
.mobile-markdown table td {
min-width: 100px !important;
white-space: nowrap !important;
padding: 6px 13px !important;
}
.mobile-markdown pre {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
white-space: pre !important;
word-wrap: normal !important;
min-width: 100%;
width: auto !important;
}
.mobile-markdown code:not(pre code) {
white-space: nowrap !important;
word-break: keep-all !important;
}
.mobile-markdown .katex-display {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
text-align: left;
margin: 0.5em 0;
width: auto !important;
min-width: 100%;
}
.mobile-markdown blockquote,
.mobile-markdown div[id^='mermaid-container'],
.mobile-markdown .code-block-wrapper {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
min-width: 100%;
width: auto !important;
}
@media screen and (max-width: 533px) {
.markdown-body {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
}
.markdown-body table {
display: block !important;
width: 100% !important;
overflow-x: auto !important;
white-space: nowrap !important;
-webkit-overflow-scrolling: touch;
}
.markdown-body table th,
.markdown-body table td {
min-width: 100px !important;
white-space: nowrap !important;
}
.markdown-body pre {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
white-space: pre !important;
word-wrap: normal !important;
}
.markdown-body code:not(pre code) {
white-space: nowrap !important;
word-break: keep-all !important;
}
.markdown-body a {
word-break: break-all;
}
.markdown-body img {
max-width: 100%;
height: auto;
}
.markdown-body blockquote,
.markdown-body .katex-display {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
}
.markdown-body .code-block-wrapper {
padding: unset;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
}
.markdown-body .code-block-wrapper code {
padding: 24px 16px 16px;
}
}
.welcome-message[data-v-53171d54] {
margin-left: auto;
margin-right: auto;
margin-bottom: 1.5rem;
margin-top: 0.5rem;
width: 100%;
max-width: 48rem;
}
.welcome-card[data-v-53171d54] {
overflow: hidden;
border-radius: 0.5rem;
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
transition-property: box-shadow;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 0.3s;
}
.welcome-card[data-v-53171d54]:hover {
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.welcome-header[data-v-53171d54] {
display: flex;
align-items: center;
padding: 1rem;
}
.avatar-container[data-v-53171d54] {
background-color: var(--e021b1e6);
margin-right: 1rem;
display: flex;
height: 3rem;
width: 3rem;
align-items: center;
justify-content: center;
border-radius: 9999px;
}
.avatar-icon[data-v-53171d54] {
color: var(--0c7688a6);
height: 2rem;
width: 2rem;
}
.bot-name[data-v-53171d54] {
color: var(--7e16b446);
font-size: 1.25rem;
line-height: 1.75rem;
font-weight: 600;
}
.welcome-content[data-v-53171d54] {
padding: 1.5rem;
}
.markdown-content[data-v-53171d54] {
color: var(--0d14c421);
line-height: 1.625;
}
.quick-actions[data-v-53171d54] {
background-color: var(--46e30edc);
border-color: var(--8bde705c);
border-top-width: 1px;
padding: 1.5rem;
}
.quick-actions-title[data-v-53171d54] {
color: var(--0d14c420);
margin-bottom: 1rem;
font-size: 1.125rem;
line-height: 1.75rem;
font-weight: 600;
}
.quick-actions-list[data-v-53171d54] {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: 0.75rem;
}
@media (min-width: 640px) {
.quick-actions-list[data-v-53171d54] {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.quick-action-item[data-v-53171d54] {
background-color: var(--24cefba4);
color: var(--0c7688a6);
border-color: var(--ff292078);
display: flex;
cursor: pointer;
align-items: center;
border-radius: 0.375rem;
border-width: 1px;
padding: 0.75rem;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 0.2s;
}
.quick-action-item[data-v-53171d54]:hover {
--tw-bg-opacity: 0.5;
color: #fff;
background-color: var(--ff292078);
}
.quick-action-item svg[data-v-53171d54] {
margin-right: 0.5rem;
flex-shrink: 0;
}
[data-v-53171d54] ul {
list-style-type: disc;
}
[data-v-53171d54] ul > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
[data-v-53171d54] ul {
padding-left: 1.25rem;
}
[data-v-53171d54] li {
margin-bottom: 0.25rem;
}
[data-v-53171d54] p {
margin-bottom: 1rem;
}
[data-v-53171d54] h1 {
margin-bottom: 0.5rem;
margin-top: 1rem;
font-weight: 700;
}
[data-v-53171d54] a {
--tw-text-opacity: 1;
color: rgb(37 99 235 / var(--tw-text-opacity));
}
[data-v-53171d54] a:hover {
--tw-text-opacity: 1;
color: rgb(30 64 175 / var(--tw-text-opacity));
}
.dark[data-v-53171d54] a {
--tw-text-opacity: 1;
color: rgb(96 165 250 / var(--tw-text-opacity));
}
.dark[data-v-53171d54] a:hover {
--tw-text-opacity: 1;
color: rgb(147 197 253 / var(--tw-text-opacity));
}