156 lines
2.2 KiB
CSS
156 lines
2.2 KiB
CSS
.container {
|
|
max-width: var(--max-width-content);
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
|
|
& > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
& > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.heading {
|
|
color: var(--Text-Heading);
|
|
margin-top: var(--Space-x3);
|
|
text-wrap: balance;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.h1,
|
|
.h2 {
|
|
margin-bottom: var(--Space-x2);
|
|
}
|
|
|
|
.h3,
|
|
.h4,
|
|
.h5,
|
|
.p,
|
|
.blockquote,
|
|
.code,
|
|
.divider,
|
|
.div {
|
|
margin-bottom: var(--Space-x15);
|
|
}
|
|
|
|
.imageWithCaption {
|
|
display: grid;
|
|
gap: var(--Space-x1);
|
|
margin: var(--Space-x3) 0;
|
|
|
|
.imageWrapper {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.imageWrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 365px;
|
|
border-radius: var(--Corner-Radius-md);
|
|
margin: var(--Space-x3) 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.image {
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ul,
|
|
.ol {
|
|
padding: 0;
|
|
margin: var(--Space-x2) 0;
|
|
}
|
|
|
|
.ol > li::marker {
|
|
color: var(--Icon-Accent);
|
|
}
|
|
|
|
.li {
|
|
margin-left: var(--Space-x3);
|
|
margin-bottom: var(--Space-x05);
|
|
}
|
|
|
|
.heart > .li,
|
|
.check > .li,
|
|
.li:has(.check),
|
|
.li:has(.heart) {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
display: flex;
|
|
gap: var(--Space-x1);
|
|
|
|
&::before {
|
|
content: "";
|
|
position: relative;
|
|
top: 3px;
|
|
width: 16px;
|
|
height: 16px;
|
|
display: inline-flex;
|
|
flex-shrink: 0;
|
|
background-color: var(--Icon-Accent);
|
|
mask-size: contain;
|
|
mask-repeat: no-repeat;
|
|
}
|
|
}
|
|
|
|
.check > .li::before,
|
|
.li:has(.check)::before {
|
|
mask-image: url("/_static/icons/check_circle.svg");
|
|
background-color: var(--Icon-Interactive-Default);
|
|
}
|
|
|
|
.heart > .li::before,
|
|
.li:has(.heart)::before {
|
|
mask-image: url("/_static/shared/icons/heart.svg");
|
|
}
|
|
|
|
.li > * {
|
|
display: inline;
|
|
margin: 0;
|
|
}
|
|
|
|
.tableContainer {
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
margin: var(--Space-x3) 0;
|
|
}
|
|
|
|
.table .p {
|
|
display: inline;
|
|
margin: 0;
|
|
}
|
|
|
|
.theadContent {
|
|
color: var(--Text-Heading);
|
|
}
|
|
|
|
.iframe {
|
|
margin: var(--Space-x3) 0;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.ol,
|
|
.ul {
|
|
&.two-column,
|
|
&.two-columns,
|
|
&:has(.two-column, .two-columns) {
|
|
column-count: 2;
|
|
column-gap: var(--Space-x3);
|
|
}
|
|
}
|
|
}
|
|
|
|
@container sidebar (max-width: 360px) {
|
|
.ol,
|
|
.ul {
|
|
&.two-column,
|
|
&.two-columns,
|
|
&:has(.two-column, .two-columns) {
|
|
column-count: 1;
|
|
}
|
|
}
|
|
}
|