1
0
mirror of synced 2026-01-01 00:04:41 -05:00
Files
docs/components/ui/MarkdownContent/MarkdownContent.module.scss
Kevin Heis d5281724e2 Update permalinks for accessibility (#36714)
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2023-05-01 14:03:02 +00:00

43 lines
690 B
SCSS

@import "./stylesheets/code.scss";
@import "./stylesheets/headers.scss";
@import "./stylesheets/lists.scss";
@import "./stylesheets/table.scss";
.markdownBody {
:not(h1, h2, h3, h4, h5, h6) > a {
text-decoration: underline;
text-underline-offset: 25%;
}
summary {
outline: none;
h1,
h2,
h3,
h4,
h5,
h6 {
display: inline-block;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
p {
margin: 0;
padding: 0;
}
}
}
[class~="note"],
[class~="tip"],
[class~="warning"],
[class~="danger"] {
// remove extra space under lists inside of notes
ul,
ol {
margin-bottom: 0;
}
}
}