mirror of
https://github.com/comeonzhj/Auto-Redbook-Skills.git
synced 2026-03-27 12:49:27 +08:00
refactor md2Redbook skill with themes and paging
This commit is contained in:
176
assets/themes/professional.css
Normal file
176
assets/themes/professional.css
Normal file
@@ -0,0 +1,176 @@
|
||||
/* ============================================
|
||||
Professional - 专业商务风格
|
||||
简洁、稳重、可读性强
|
||||
适配小红书卡片渲染
|
||||
============================================ */
|
||||
|
||||
/* 配色定义
|
||||
背景色: #FFFFFF (纯白)
|
||||
前景色: #1A202C (深灰黑)
|
||||
主蓝色: #2563EB (专业蓝)
|
||||
浅蓝: #DBEAFE (淡蓝背景)
|
||||
灰色: #64748B (中性灰)
|
||||
边框: #E2E8F0 (浅灰边框)
|
||||
*/
|
||||
|
||||
.card-inner {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.card-content {
|
||||
color: #1a202c;
|
||||
font-size: 42px;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
/* 标题样式 */
|
||||
.card-content h1 {
|
||||
font-size: 72px;
|
||||
font-weight: 700;
|
||||
color: #1a202c;
|
||||
margin-bottom: 40px;
|
||||
line-height: 1.3;
|
||||
padding-bottom: 20px;
|
||||
border-bottom: 3px solid #2563eb;
|
||||
}
|
||||
|
||||
.card-content h2 {
|
||||
font-size: 56px;
|
||||
font-weight: 600;
|
||||
color: #1e40af;
|
||||
margin: 50px 0 25px 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.card-content h3 {
|
||||
font-size: 48px;
|
||||
font-weight: 600;
|
||||
color: #374151;
|
||||
margin: 40px 0 20px 0;
|
||||
}
|
||||
|
||||
/* 段落 */
|
||||
.card-content p {
|
||||
margin-bottom: 35px;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
/* 粗体 */
|
||||
.card-content strong,
|
||||
.card-content b {
|
||||
font-weight: 700;
|
||||
color: #1a202c;
|
||||
}
|
||||
|
||||
/* 斜体 */
|
||||
.card-content em,
|
||||
.card-content i {
|
||||
font-style: italic;
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
/* 链接 */
|
||||
.card-content a {
|
||||
color: #2563eb;
|
||||
text-decoration: none;
|
||||
border-bottom: 2px solid #93c5fd;
|
||||
}
|
||||
|
||||
/* 列表 */
|
||||
.card-content ul,
|
||||
.card-content ol {
|
||||
margin: 30px 0;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.card-content li {
|
||||
margin-bottom: 20px;
|
||||
line-height: 1.6;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
.card-content li::marker {
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
/* 引用块 */
|
||||
.card-content blockquote {
|
||||
margin: 35px 0;
|
||||
padding: 30px 40px;
|
||||
background-color: #dbeafe;
|
||||
color: #1e40af;
|
||||
border-left: 5px solid #2563eb;
|
||||
border-radius: 0 8px 8px 0;
|
||||
}
|
||||
|
||||
.card-content blockquote p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* 行内代码 */
|
||||
.card-content code {
|
||||
font-family: 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
|
||||
font-size: 38px;
|
||||
background-color: #f1f5f9;
|
||||
color: #0f172a;
|
||||
padding: 6px 16px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
/* 代码块 */
|
||||
.card-content pre {
|
||||
margin: 35px 0;
|
||||
padding: 40px;
|
||||
background-color: #0f172a;
|
||||
color: #e2e8f0;
|
||||
border-radius: 12px;
|
||||
overflow-x: visible;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.card-content pre code {
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
font-size: 36px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* 分割线 */
|
||||
.card-content hr {
|
||||
margin: 50px 0;
|
||||
border: none;
|
||||
height: 2px;
|
||||
background-color: #e2e8f0;
|
||||
}
|
||||
|
||||
/* 图片 */
|
||||
.card-content img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 8px;
|
||||
margin: 35px auto;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Tags 标签样式 */
|
||||
.tags-container {
|
||||
margin-top: 50px;
|
||||
padding-top: 30px;
|
||||
border-top: 2px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.tag {
|
||||
display: inline-block;
|
||||
background-color: #2563eb;
|
||||
color: white;
|
||||
padding: 12px 28px;
|
||||
border-radius: 6px;
|
||||
font-size: 34px;
|
||||
margin: 10px 15px 10px 0;
|
||||
font-weight: 500;
|
||||
}
|
||||
Reference in New Issue
Block a user