stacker.news/components/text.module.css

49 lines
731 B
CSS

.text {
font-size: 94%;
font-family: inherit;
word-break: break-word;
line-height: 140%;
}
@media screen and (min-width: 767px) {
.text {
line-height: 130%;
}
}
.text p {
margin-bottom: .5rem;
white-space: pre-wrap;
word-break: break-word;
}
.text pre {
margin-bottom: .5rem;
}
.text pre > div {
margin: 0 !important;
}
.text > *:last-child {
margin-bottom: 0 !important;
}
.text blockquote > *:last-child {
margin-bottom: 0 !important;
}
.text img {
max-width: 100%;
max-height: 300px;
}
.text table {
width: auto;
}
.text blockquote {
border-left: 2px solid var(--theme-grey);
padding-left: 1rem;
margin: 0 0 0.5rem 0.5rem !important;
}