File size: 2,041 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
.plugin-sections__content {
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 600;
margin: 32px 0;
font-size: $font-body-large;
}
h1 {
font-size: $font-title-large;
}
h2 {
font-size: $font-title-medium;
}
h3 {
font-size: $font-title-small;
}
li {
margin-bottom: 8px;
}
a {
word-break: normal;
}
blockquote {
padding: 10px;
margin-bottom: 16px;
p:last-child {
margin-bottom: 0;
}
}
code {
font-size: $font-body;
padding: 1px 4px;
border-radius: 2px;
background: var(--color-neutral-0);
}
> code {
display: block;
margin-bottom: 16px;
padding: 8px;
border-radius: 0;
}
div {
margin-bottom: 20px;
}
img {
margin: 32px 0;
display: block;
}
position: relative;
font-family: $sans;
font-size: $font-body;
font-weight: 400;
line-height: 21px;
word-wrap: break-word;
hyphens: auto;
margin-bottom: 32px;
}
.plugin-sections__header + .plugin-sections__content {
margin-top: 32px;
}
/* Remove top margin for the element if we don't render the header. */
.plugin-sections__content:not(:has(+ .plugin-sections__header)) .plugin-sections__banner > img:first-child,
.plugin-sections__content:not(:has(+ .plugin-sections__header)) > img:first-child,
.plugin-sections__content:not(:has(+ .plugin-sections__header)) > h1:first-child,
.plugin-sections__content:not(:has(+ .plugin-sections__header)) > h2:first-child,
.plugin-sections__content:not(:has(+ .plugin-sections__header)) > h3:first-child,
.plugin-sections__content:not(:has(+ .plugin-sections__header)) > h4:first-child,
.plugin-sections__content:not(:has(+ .plugin-sections__header)) > h5:first-child,
.plugin-sections__content:not(:has(+ .plugin-sections__header)) > h6:first-child {
margin-top: 0;
}
.plugin-sections__support {
margin-bottom: 16px;
padding-bottom: 16px;
border-bottom: 1px solid var(--color-border-subtle);
font-size: $font-body-small;
h3 {
font-weight: bold;
margin-bottom: 16px;
}
}
.plugin-sections__header > div {
margin-bottom: 0;
}
.plugin-sections__banner {
margin-bottom: 0;
}
|