Skip to content

Commit 0828574

Browse files
committed
Modify the default theme markdown styles.
1 parent b411a99 commit 0828574

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

theme/default/lib/markdown/style/default.less

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,20 @@ table {
110110
border-collapse: collapse;
111111
border-spacing: 0;
112112
width: 100%;
113-
display: block;
114-
width: 100%;
113+
& + table {
114+
margin-top: 16px;
115+
}
115116
}
116117

117118
table th {
118119
font-weight: 600;
120+
white-space: nowrap;
121+
color: #5c6b77;
122+
background: rgba(0,0,0,.02);
119123
}
120124

121125
table th,table td {
122-
padding: 6px 13px;
126+
padding: 8px 13px;
123127
border: 1px solid #dfe2e5;
124128
}
125129

theme/default/lib/markdown/style/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
font-size: 14px;
77
line-height: 1.5;
88
word-wrap: break-word;
9-
color: #24292e;
9+
color: #314659;
1010
& >*:first-child {
1111
margin-top: 0 !important
1212
}

0 commit comments

Comments
 (0)