* 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
38 lines
580 B
SCSS
38 lines
580 B
SCSS
@import "./stylesheets/code.scss";
|
|
@import "./stylesheets/headers.scss";
|
|
@import "./stylesheets/lists.scss";
|
|
@import "./stylesheets/table.scss";
|
|
|
|
.markdownBody {
|
|
summary {
|
|
outline: none;
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
display: inline-block;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|