diff options
author | Douwe Maan <douwe@selenight.nl> | 2019-03-23 16:09:14 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2019-03-26 16:29:33 +0300 |
commit | 838f7e56a407aa335cf4406632373bac3d05dee0 (patch) | |
tree | 07848abf08df3b4724e6e2a746636856766ab95f /app/assets/stylesheets/print.scss | |
parent | 30479246ed4ed2cdbadb4d359a38e592ffef2fe5 (diff) |
Remove .wiki and @md-typography mixin in favor of .md and .md-file
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.
Diffstat (limited to 'app/assets/stylesheets/print.scss')
-rw-r--r-- | app/assets/stylesheets/print.scss | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss index bb10928a037..9ed1600419d 100644 --- a/app/assets/stylesheets/print.scss +++ b/app/assets/stylesheets/print.scss @@ -1,21 +1,21 @@ -.wiki h1, -.wiki h2, -.wiki h3, -.wiki h4, -.wiki h5, -.wiki h6 { +.md h1, +.md h2, +.md h3, +.md h4, +.md h5, +.md h6 { margin-top: 17px; } -.wiki h1 { +.md h1 { font-size: 30px; } -.wiki h2 { +.md h2 { font-size: 22px; } -.wiki h3 { +.md h3 { font-size: 18px; font-weight: 600; } |