diff --git a/resources/screen-common.less b/resources/screen-common.less index 0bccd475..f22e99be 100755 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -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; @@ -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: ".";