Spaces:
Sleeping
Sleeping
Keldos
commited on
Commit
•
0f313bc
1
Parent(s):
27f4755
perf: 调整段落间距
Browse files- assets/custom.css +9 -2
assets/custom.css
CHANGED
@@ -291,7 +291,11 @@ ol:not(.options), ul:not(.options) {
|
|
291 |
border-bottom-right-radius: 0 !important;
|
292 |
}
|
293 |
|
294 |
-
.message p {
|
|
|
|
|
|
|
|
|
295 |
.message p:last-of-type { margin-bottom: 0 !important; }
|
296 |
|
297 |
.message .md-message {
|
@@ -417,10 +421,13 @@ pre code {
|
|
417 |
background-color: hsla(0, 0%, 0%, 80%)!important;
|
418 |
border-radius: 10px;
|
419 |
padding: 1.4em 1.2em 0em 1.4em;
|
420 |
-
margin: 0.6em 2em
|
421 |
color: #FFF;
|
422 |
box-shadow: 6px 6px 16px hsla(0, 0%, 0%, 0.2);
|
423 |
}
|
|
|
|
|
|
|
424 |
/* 代码高亮样式 */
|
425 |
.highlight .hll { background-color: #49483e }
|
426 |
.highlight .c { color: #75715e } /* Comment */
|
|
|
291 |
border-bottom-right-radius: 0 !important;
|
292 |
}
|
293 |
|
294 |
+
.message p {
|
295 |
+
margin-top: 0.6em !important;
|
296 |
+
margin-bottom: 0.6em !important;
|
297 |
+
}
|
298 |
+
.message p:first-child { margin-top: 0 !important; }
|
299 |
.message p:last-of-type { margin-bottom: 0 !important; }
|
300 |
|
301 |
.message .md-message {
|
|
|
421 |
background-color: hsla(0, 0%, 0%, 80%)!important;
|
422 |
border-radius: 10px;
|
423 |
padding: 1.4em 1.2em 0em 1.4em;
|
424 |
+
margin: 0.6em 2em 1em 0.2em;
|
425 |
color: #FFF;
|
426 |
box-shadow: 6px 6px 16px hsla(0, 0%, 0%, 0.2);
|
427 |
}
|
428 |
+
.message pre {
|
429 |
+
padding: 0 !important;
|
430 |
+
}
|
431 |
/* 代码高亮样式 */
|
432 |
.highlight .hll { background-color: #49483e }
|
433 |
.highlight .c { color: #75715e } /* Comment */
|