Skip to content

Commit

Permalink
Modify the default theme markdown styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 11, 2018
1 parent b411a99 commit 0828574
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions theme/default/lib/markdown/style/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,20 @@ table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
display: block;
width: 100%;
& + table {
margin-top: 16px;
}
}

table th {
font-weight: 600;
white-space: nowrap;
color: #5c6b77;
background: rgba(0,0,0,.02);
}

table th,table td {
padding: 6px 13px;
padding: 8px 13px;
border: 1px solid #dfe2e5;
}

Expand Down
2 changes: 1 addition & 1 deletion theme/default/lib/markdown/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
font-size: 14px;
line-height: 1.5;
word-wrap: break-word;
color: #24292e;
color: #314659;
& >*:first-child {
margin-top: 0 !important
}
Expand Down

0 comments on commit 0828574

Please sign in to comment.