feat: 调整
This commit is contained in:
26
src/App.vue
26
src/App.vue
@@ -241,41 +241,39 @@ body {
|
|||||||
.rich-content {
|
.rich-content {
|
||||||
padding: 24px 0;
|
padding: 24px 0;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.7;
|
line-height: 1.6;
|
||||||
color: var(--text-primary);
|
color: #333;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rich-content h1,
|
.rich-content h1,
|
||||||
.rich-content h2,
|
.rich-content h2,
|
||||||
.rich-content h3 {
|
.rich-content h3 {
|
||||||
color: var(--text-primary);
|
margin: 24px 0 16px;
|
||||||
margin: 32px 0 16px;
|
color: #000;
|
||||||
font-weight: 600;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rich-content h2 {
|
.rich-content h2 {
|
||||||
font-size: 20px;
|
font-size: 1.2rem;
|
||||||
border-left: 4px solid var(--primary-color);
|
font-weight: 600;
|
||||||
padding-left: 12px;
|
|
||||||
margin-left: -4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.rich-content p {
|
.rich-content p {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
text-align: justify;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rich-content strong {
|
.rich-content strong {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--text-primary);
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rich-content img {
|
.rich-content img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
border-radius: 12px;
|
display: block;
|
||||||
margin: 16px 0;
|
margin: 16px auto;
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.rich-content table {
|
.rich-content table {
|
||||||
@@ -283,8 +281,6 @@ body {
|
|||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
display: block;
|
|
||||||
overflow-x: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.rich-content th,
|
.rich-content th,
|
||||||
|
|||||||
Reference in New Issue
Block a user