rtl blockquote better support

This commit is contained in:
zzossig 2020-02-17 01:29:39 +09:00
parent 4029c4beff
commit 3e3058c181
2 changed files with 19 additions and 7 deletions

View File

@ -252,18 +252,12 @@
} }
blockquote { blockquote {
margin: 0 1.75rem 1.75rem 1.5rem;
padding: 0 0 0 1.42188rem;
font-size: 1.05rem; font-size: 1.05rem;
line-height: 1.75; line-height: 1.75;
color: inherit; color: inherit;
opacity: 0.8; opacity: 0.8;
position: relative; position: relative;
@include themify($themes) {
border-left: 0.32813rem solid themed("single-blockquote-border-color");
}
code:not([class^=language]) { code:not([class^=language]) {
padding: 3px 7px; padding: 3px 7px;
margin: 0 0.25rem; margin: 0 0.25rem;
@ -303,12 +297,30 @@
li { li {
margin-right: 2rem; margin-right: 2rem;
} }
blockquote {
margin: 0 1.5rem 1.75rem 1.75rem;
padding: 0 1.42188rem 0 0;
@include themify($themes) {
border-right: 0.32813rem solid themed("single-blockquote-border-color");
}
}
} }
&[data-dir="ltr"] { &[data-dir="ltr"] {
li { li {
margin-left: 2rem; margin-left: 2rem;
} }
blockquote {
margin: 0 1.75rem 1.75rem 1.5rem;
padding: 0 0 0 1.42188rem;
@include themify($themes) {
border-left: 0.32813rem solid themed("single-blockquote-border-color");
}
}
} }
li { li {