fix markdown header margin-top
This commit is contained in:
parent
351dfc95a9
commit
4df378b892
|
@ -1097,7 +1097,7 @@ footer .container .links > *:first-child {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
.markdown.file-view {
|
.markdown.file-view {
|
||||||
padding: 5px 2em 2em !important;
|
padding: 2em 2em 2em !important;
|
||||||
}
|
}
|
||||||
.markdown > *:first-child {
|
.markdown > *:first-child {
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
|
@ -1136,6 +1136,14 @@ footer .container .links > *:first-child {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
.markdown h1:first-of-type,
|
||||||
|
.markdown h2:first-of-type,
|
||||||
|
.markdown h3:first-of-type,
|
||||||
|
.markdown h4:first-of-type,
|
||||||
|
.markdown h5:first-of-type,
|
||||||
|
.markdown h6:first-of-type {
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
||||||
.markdown h1 .octicon-link,
|
.markdown h1 .octicon-link,
|
||||||
.markdown h2 .octicon-link,
|
.markdown h2 .octicon-link,
|
||||||
.markdown h3 .octicon-link,
|
.markdown h3 .octicon-link,
|
||||||
|
@ -2310,7 +2318,6 @@ footer .container .links > *:first-child {
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
.repository .diff-file-box .header {
|
.repository .diff-file-box .header {
|
||||||
border-bottom: 1px solid #d8d8d8;
|
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
}
|
}
|
||||||
.repository .diff-file-box .file-body.file-code .lines-num {
|
.repository .diff-file-box .file-body.file-code .lines-num {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
||||||
&.file-view {
|
&.file-view {
|
||||||
padding: 5px 2em 2em !important;
|
padding: 2em 2em 2em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
>*:first-child {
|
>*:first-child {
|
||||||
|
@ -51,6 +51,10 @@
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
|
||||||
|
&:first-of-type {
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 .octicon-link,
|
h1 .octicon-link,
|
||||||
|
|
Loading…
Reference in New Issue