838f7e56a4
Before, the styling for `img:not(.emoji)`` was repeated between `.md:not(.use-csslab):not(.wiki)` (for comments and the Markdown preview), `.documentation.wiki` (for help pages), and `.issuable-details .description .wiki` (for MR and issue descriptions). In these places, we now simply use `.md`. Wherever we use `.md` but don't want this image styling (like wikis and blobs), `.md-file` is added.
62 lines
788 B
SCSS
62 lines
788 B
SCSS
.md h1,
|
|
.md h2,
|
|
.md h3,
|
|
.md h4,
|
|
.md h5,
|
|
.md h6 {
|
|
margin-top: 17px;
|
|
}
|
|
|
|
.md h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.md h2 {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.md h3 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
header,
|
|
nav,
|
|
nav.navbar-collapse,
|
|
nav.navbar-collapse.collapse,
|
|
.nav-sidebar,
|
|
.profiler-results,
|
|
.tree-ref-holder,
|
|
.tree-holder .breadcrumb,
|
|
.nav,
|
|
.btn,
|
|
ul.notes-form,
|
|
.merge-request-ci-status .ci-status-link::after,
|
|
.issuable-gutter-toggle,
|
|
.gutter-toggle,
|
|
.issuable-details .content-block-small,
|
|
.edit-link,
|
|
.note-action-button,
|
|
.right-sidebar,
|
|
.flash-container,
|
|
#js-peek {
|
|
display: none !important;
|
|
}
|
|
|
|
pre {
|
|
page-break-before: avoid;
|
|
page-break-inside: auto;
|
|
}
|
|
|
|
.page-gutter {
|
|
padding-top: 0;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.right-sidebar {
|
|
top: 0;
|
|
}
|
|
|
|
a[href]::after {
|
|
content: none !important;
|
|
}
|