Home-Toolbox-Plugin/components/ui/article/article.module.less

45 lines
588 B
Plaintext

.article {
overflow-x: auto;
a {
color: #28b9be;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
margin-top: 1.5em;
&:first-child {
margin-top: 0;
}
}
h1, h2, h3, h4, h5, h6, p {
margin-bottom: 1em;
}
p {
line-height: 1.7;
}
img {
height: auto;
}
pre {
color: #fff;
padding: .5em;
overflow: auto;
border-radius: .5em;
background-color: #333;
}
:not(pre) > code {
color: brown;
padding: 0 .5em;
border-radius: .5em;
display: inline-block;
background-color: antiquewhite;
}
}