1
0
mirror of synced 2026-01-06 15:01:04 -05:00
Files
docs/components/ui/MarkdownContent/stylesheets/headers.scss
Mike Surowiec d76c16da19 Scope markdown body (#21082)
* update article content to markdown ui component

* decouple lunr indexing from class name

* remove summary outline none rule, apply utility class instead

* improve typing

* scope more styles down to markdown-body/extended-markdown

* move all markdown-body style overrides to MarkdownContent component

* fix class targeting within css module

* clean up MarkdownContent header style

* rename data-lunr to data-search

* fix: inline code color issue

* fix: update article markdown to work with MarkdownContent
2021-08-30 14:24:49 +00:00

32 lines
419 B
SCSS

.markdownBody {
h1,
h2,
h3,
h4,
h5 {
padding-top: 16px;
}
h2 {
font-size: 1.25em;
}
// all h2 headers that are links should be blue-500
h2 a {
color: var(--color-auto-blue-5);
}
h3 {
font-size: 1em;
}
h4 {
font-size: 0.875em;
}
h5 {
font-size: 0.85em;
}
// needs specificity to override
[class~="lead-mktg"] p {
color: var(--color-auto-gray-9);
}
}