Fix Markdown preview style

However styles in markdown-body affect tab. So there are invalid margin at the top of the tab.
This commit is contained in:
Naoki Takezoe
2016-01-16 22:00:29 +09:00
parent 15e8527e01
commit 9b3e8bd22b
4 changed files with 30 additions and 15 deletions

View File

@@ -1718,28 +1718,34 @@ div.markdown-body h1 {
border-bottom: 1px solid #ddd;
font-size: 2.5em;
font-weight: bold;
line-height: 1.7;
}
div.markdown-body h2 {
border-bottom: 1px solid #eee;
font-size: 2em;
line-height: 1.7;
}
div.markdown-body h3 {
font-size: 1.5em;
line-height: 1.7;
}
div.markdown-body h4 {
font-size: 1.2em;
line-height: 1.7;
}
div.markdown-body h5 {
font-size: 1em;
line-height: 1.7;
}
div.markdown-body h6 {
color:#777;
font-size: 1em;
line-height: 1.7;
}
div.markdown-body li {
@@ -1905,7 +1911,6 @@ div.markdown-body table colgroup + tbody tr:first-child td:last-child {
.markdown-head {
position: relative;
line-height: 1.7;
}
a.markdown-anchor-link {