mirror of
https://github.com/sindresorhus/github-markdown-css.git
synced 2024-03-22 13:10:53 +08:00
various fixes
removed duplicate line-height definition in .markdown-body removed Roboto font reference table width table cell line-height table cell padding
This commit is contained in:
parent
7b86e65de4
commit
cca2f0ebc0
|
@ -6,9 +6,8 @@
|
||||||
.markdown-body {
|
.markdown-body {
|
||||||
-ms-text-size-adjust: 100%;
|
-ms-text-size-adjust: 100%;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
line-height: 1.5;
|
|
||||||
color: #333;
|
color: #333;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
@ -228,7 +227,7 @@
|
||||||
|
|
||||||
.markdown-body td,
|
.markdown-body td,
|
||||||
.markdown-body th {
|
.markdown-body th {
|
||||||
padding: 0;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body h1,
|
.markdown-body h1,
|
||||||
|
@ -515,7 +514,6 @@
|
||||||
|
|
||||||
.markdown-body table {
|
.markdown-body table {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -525,7 +523,7 @@
|
||||||
|
|
||||||
.markdown-body table th,
|
.markdown-body table th,
|
||||||
.markdown-body table td {
|
.markdown-body table td {
|
||||||
padding: 6px 13px;
|
padding: 6px 13px !important;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user