cssOMS/article.scss
2022-02-19 13:57:39 +01:00

129 lines
2.1 KiB
SCSS
Executable File

.portlet-body > article {
padding: 0;
}
article {
background: #fff;
padding: 10px;
margin: 0;
font-size: .9rem;
color: #48465b;
line-height: 2rem;
white-space: normal;
del, ins, mark {
padding: 3px;
text-decoration: none;
}
del {
background: #ff9e9e;
}
ins {
background: #b0f3b0;
}
mark {
background: #f9ffa1;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 500;
//padding-bottom: 1rem;
}
h1 {
font-size: 1.4rem;
}
h2 {
font-size: 1.3rem;
}
h3 {
font-size: 1.1rem;
}
h4, h5, h6 {
font-size: 1rem;
}
pre {
margin: 1rem 0 1rem 0;
border: 1px solid #ddd;
border-left: 3px solid var(--button-colored-background);
background: #f4f4f4;
line-height: 1rem;
font-size: .8rem;
code {
background: none;
color: #000;
}
}
code {
color: var(--link-hover);
font-style: italic;
font-family: monospace;
}
a {
color: var(--link-color);
border-bottom: 1px dotted var(--link-color);
&:hover {
border-bottom: none;
}
}
p {
line-height: 1.5em;
}
ol, ul {
margin: 0.5rem 0 0.5rem 3rem;
line-height: 1rem;
}
ul {
list-style: disc;
}
li {
margin: 0.3rem 0 0.3rem 0;
line-height: 1.5em;
}
blockquote {
margin: 10px 0 10px 0;
p:last-child {
margin-bottom: 0;
}
}
img {
display: block;
margin: 0 auto;
max-width: 100%;
max-height: 100%;
}
table {
border-collapse: collapse;
border: 1px solid var(--box-border);
margin: 0 auto;
margin-bottom: 1rem;
th, td {
padding: 5px;
border: 1px solid var(--box-border);
}
tr:nth-child(2n) {
background: var(--table-row-background);
}
}
}