2025-02-10 19:20:12 +08:00
|
|
|
@import "tailwindcss";
|
2025-01-16 10:38:01 +08:00
|
|
|
|
|
|
|
:root {
|
2025-02-13 15:54:18 +08:00
|
|
|
--background: #f9f9f9;
|
2025-01-16 10:38:01 +08:00
|
|
|
--foreground: #171717;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--background: #0a0a0a;
|
|
|
|
--foreground: #ededed;
|
|
|
|
}
|
|
|
|
}
|
2025-02-13 15:54:18 +08:00
|
|
|
@theme {
|
|
|
|
--prose-link-color: #1e90ff;
|
|
|
|
}
|
|
|
|
@layer components {
|
|
|
|
#markdown-view-preview {
|
|
|
|
p {
|
|
|
|
font-size: var(--background);
|
|
|
|
color: var(--color-gray-700);
|
|
|
|
margin: 4px 0;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
line-height: 1.6;
|
|
|
|
}
|
|
|
|
blockquote {
|
|
|
|
border-left: 4px solid #1e90ff;
|
|
|
|
padding-left: 10px;
|
|
|
|
color: #333;
|
|
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: var(--color-gray-800);
|
|
|
|
font-weight: 600;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
border-bottom: 1px solid var(--prose-link-color);
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
border-bottom: 2px solid var(--prose-link-color);
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
margin-left: 30px;
|
|
|
|
list-style: disc;
|
|
|
|
}
|
|
|
|
ul > li {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2025-02-10 19:20:12 +08:00
|
|
|
@layer base {
|
|
|
|
ol {
|
|
|
|
list-style-type: decimal;
|
2025-01-16 10:38:01 +08:00
|
|
|
|
2025-02-10 19:20:12 +08:00
|
|
|
margin: 1em 0;
|
|
|
|
|
|
|
|
padding-left: 2em;
|
|
|
|
}
|
|
|
|
}
|
2025-01-16 10:38:01 +08:00
|
|
|
body {
|
|
|
|
color: var(--foreground);
|
|
|
|
background: var(--background);
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
}
|
2025-02-07 19:02:22 +08:00
|
|
|
.ant-input-disabled,
|
|
|
|
.ant-select-disabled .ant-select-selector {
|
|
|
|
background-color: transparent !important;
|
|
|
|
color: rgba(0, 0, 0, 0.85) !important;
|
|
|
|
}
|
2025-02-10 19:20:12 +08:00
|
|
|
.ant-checkbox-disabled + span {
|
2025-02-07 19:02:22 +08:00
|
|
|
background-color: transparent !important;
|
|
|
|
color: rgba(0, 0, 0, 0.85) !important;
|
|
|
|
}
|