cssOMS/article.scss
Dennis Eichhorn 85ef1f8ccb bump
2024-02-28 05:09:14 +00:00

127 lines
2.0 KiB
SCSS
Executable File

.portlet-body > article {
padding: 0;
}
article {
background: #fff;
padding: 10px;
margin: 0;
font-size: .9rem;
color: #000;
line-height: 2rem;
white-space: normal;
del, ins, mark {
padding: 3px;
text-decoration: none;
}
.tag {
margin: 0.1rem;
}
del {
background: #ff9e9e;
}
ins {
background: #b0f3b0;
}
mark {
background: #f9ffa1;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
//padding-bottom: 1rem;
}
h1 {
font-size: 1.4rem;
}
h2 {
font-size: 1.3rem;
}
h3 {
font-size: 1.1rem;
}
h4, h5, h6 {
font-size: 1rem;
}
a {
color: var(--link-c);
border-bottom: 1px dotted var(--link-c);
&:hover {
border-bottom: none;
}
}
p {
line-height: 1.5em;
}
ol, ul {
list-style-position: outside;
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;
}
img {
display: block;
margin: 0 auto;
max-width: 100%;
max-height: 100%;
display: inline-block;
&:focus {
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
text-align: center;
width: auto;
height: auto;
}
&[tabindex="0"] {
cursor: pointer;
}
}
table {
border-collapse: collapse;
border: 1px solid var(--bborder);
margin: 0 auto;
margin-bottom: 1rem;
min-width: 90%;
th, td {
padding: 5px;
border: 1px solid var(--bborder);
}
th {
background: var(--thead-bg);
color: var(--thead-c);
}
tr:nth-child(2n) td {
background: var(--trow-bg);
}
}
}