Skip to content

Commit

Permalink
특수 문서 등에서의 heading 스타일 미적용 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Oct 19, 2018
1 parent 25bcfe7 commit a4377cf
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions resources/screen-common.less
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,44 @@ button {
color: #723;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
position: relative;
margin: 3.8rem 0 1.6rem;
padding: 0;
border-bottom: 0;
font-weight: normal;
color: #252525;
border-bottom: none;
}

h2 {
font-size: 1.429rem;
}

h3 {
font-size: 1.143rem;
}

h4,
h5,
h6 {
font-size: 1rem;
}

h1 ~ h2,
h2 ~ h3,
h3 ~ h4,
h4 ~ h5,
h5 ~ h6 {
margin-top: 1.6rem;
}

*:not(.mw-highlight) > pre:not(.CodeMirror-line) {
font-family: inherit;
overflow: hidden;
Expand Down Expand Up @@ -463,44 +501,6 @@ button {
list-style-type: disc;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
position: relative;
margin: 3.8rem 0 1.6rem;
padding: 0;
border-bottom: 0;
font-weight: normal;
color: #252525;
border-bottom: none;
}

h2 {
font-size: 1.429rem;
}

h3 {
font-size: 1.143rem;
}

h4,
h5,
h6 {
font-size: 1rem;
}

h1 ~ h2,
h2 ~ h3,
h3 ~ h4,
h4 ~ h5,
h5 ~ h6 {
margin-top: 1.6rem;
}

.tocnumber:after,
.mw-headline-number:after {
content: ".";
Expand Down

0 comments on commit a4377cf

Please sign in to comment.