mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-12 08:25:50 +01:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user