mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
BREAKING CHANGE: deprecate .markdown-body
used as .prose
This commit is contained in:
parent
3db644fa05
commit
e9c955a8f1
@ -1,12 +1,6 @@
|
|||||||
%container {
|
@mixin container {
|
||||||
max-width: fit-content;
|
max-width: fit-content;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: var(--xm-c-general);
|
color: var(--xm-c-general);
|
||||||
line-height: 1.75;
|
line-height: 1.75;
|
||||||
> :first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
> :last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
@use '_partial/container' as *;
|
@use '_partial/container' as *;
|
||||||
|
|
||||||
.markdown-body,
|
|
||||||
.prose {
|
.prose {
|
||||||
@extend %container;
|
@include container;
|
||||||
@import '_partial/title';
|
@import '_partial/title';
|
||||||
@import '_partial/text';
|
@import '_partial/text';
|
||||||
@import '_partial/link';
|
@import '_partial/link';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user