* 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
31 lines
404 B
SCSS
31 lines
404 B
SCSS
.extended-markdown {
|
|
.note,
|
|
.tip,
|
|
.warning,
|
|
.danger {
|
|
// remove extra space under lists inside of notes
|
|
ul,
|
|
ol {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
p:not(:first-child) {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
&.note pre code {
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
&.note pre {
|
|
background: none;
|
|
padding: 10px 10px 10px 0;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|