Namespace the rich text CSS

This commit is contained in:
Darius Kazemi 2019-09-16 15:41:33 -07:00
parent df3a42c4f2
commit f0b1c82d22

View File

@ -706,80 +706,81 @@
height: 20px; height: 20px;
margin: -3px 0 0; margin: -3px 0 0;
} }
.status__content__text {
p,
pre,
blockquote {
margin-bottom: 20px;
white-space: pre-wrap;
p, &:last-child {
pre, margin-bottom: 2px;
blockquote { }
margin-bottom: 20px;
white-space: pre-wrap;
&:last-child {
margin-bottom: 2px;
} }
}
h1, h1,
h2, h2,
h3, h3,
h4, h4,
h5 { h5 {
margin-top: 20px; margin-top: 20px;
margin-bottom: 20px; margin-bottom: 20px;
}
h1 {
font-weight: 700;
font-size: 22px;
}
h2 {
font-weight: 700;
font-size: 20px;
}
h3,
h4,
h5 {
font-weight: 500;
}
blockquote {
padding-left: 10px;
border-left: 3px solid $darker-text-color;
color: $darker-text-color;
white-space: normal;
p:last-child {
margin-bottom: 0;
} }
}
b, h1 {
strong { font-weight: 700;
font-weight: 700; font-size: 22px;
}
em,
i {
font-style: italic;
}
ul,
ol {
margin-left: 1em;
margin-bottom: 1em;
p {
margin: 0;
} }
}
ul { h2 {
list-style-type: disc; font-weight: 700;
} font-size: 20px;
}
ol { h3,
list-style-type: decimal; h4,
h5 {
font-weight: 500;
}
blockquote {
padding-left: 10px;
border-left: 3px solid $darker-text-color;
color: $darker-text-color;
white-space: normal;
p:last-child {
margin-bottom: 0;
}
}
b,
strong {
font-weight: 700;
}
em,
i {
font-style: italic;
}
ul,
ol {
margin-left: 1em;
margin-bottom: 1em;
p {
margin: 0;
}
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
} }
a { a {