add: documentation
This commit is contained in:
@@ -0,0 +1,435 @@
|
||||
.md-typeset {
|
||||
font-size: 0.82rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.md-typeset h1 {
|
||||
font-size: 1.15rem;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.md-typeset h2 {
|
||||
font-size: 1rem;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.md-typeset h3 {
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
/* Full-width resource pages without right TOC */
|
||||
.md-sidebar--secondary {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.md-content,
|
||||
.md-content__inner,
|
||||
.md-main__inner {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.md-content__inner {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Keep horizontal scrollbars visible for wide tables */
|
||||
.md-typeset__scrollwrap {
|
||||
overflow-x: auto;
|
||||
padding-bottom: 0.3rem;
|
||||
}
|
||||
|
||||
/* Column sizing for resource tables */
|
||||
.resource-table {
|
||||
width: 100%;
|
||||
table-layout: auto;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.82rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.resource-table th,
|
||||
.resource-table td {
|
||||
padding: 0.3rem 0.5rem;
|
||||
vertical-align: top;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.resource-table thead th {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.resource-table th:nth-child(1),
|
||||
.resource-table td:nth-child(1) {
|
||||
width: 6%;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.resource-table th:nth-child(2),
|
||||
.resource-table td:nth-child(2) {
|
||||
width: auto;
|
||||
max-width: 40ch;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.resource-table td:nth-child(2) code {
|
||||
font-weight: 700;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.resource-table th:nth-child(3),
|
||||
.resource-table td:nth-child(3),
|
||||
.resource-table th:nth-child(4),
|
||||
.resource-table td:nth-child(4),
|
||||
.resource-table th:nth-child(5),
|
||||
.resource-table td:nth-child(5) {
|
||||
white-space: nowrap;
|
||||
width: 6%;
|
||||
}
|
||||
|
||||
.resource-table th:nth-child(4),
|
||||
.resource-table td:nth-child(4) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.resource-table th:nth-child(5),
|
||||
.resource-table td:nth-child(5) {
|
||||
width: 8%;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.resource-table th:nth-child(6),
|
||||
.resource-table td:nth-child(6) {
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: normal;
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.resource-table th:nth-child(7),
|
||||
.resource-table td:nth-child(7) {
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: normal;
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.md-header__button.md-logo img,
|
||||
.md-header__button.md-logo svg {
|
||||
height: 34px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
body[data-md-url*="/vc_vm_v3/"] .md-typeset {
|
||||
font-size: 0.98rem;
|
||||
}
|
||||
|
||||
body[data-md-url*="_instruction"] .md-typeset {
|
||||
font-size: 0.51rem;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
body[data-md-url*="_instruction"] .md-typeset h1 {
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
body[data-md-url*="_instruction"] .md-typeset h2 {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
body[data-md-url*="_instruction"] .md-typeset h3 {
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
/* Instruction pages have a second h1 containing the body text */
|
||||
.md-typeset h1 + h1 {
|
||||
font-size: 0.58rem;
|
||||
line-height: 1.45;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.resource-table td:nth-child(2) code.code-no-wrap {
|
||||
white-space: nowrap !important;
|
||||
word-break: keep-all !important;
|
||||
overflow-wrap: normal !important;
|
||||
hyphens: none !important;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.resource-table td:nth-child(2) code.code-wrap {
|
||||
white-space: normal !important;
|
||||
word-break: normal !important;
|
||||
overflow-wrap: normal !important;
|
||||
hyphens: none !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Preview: reduce MAN content size only. */
|
||||
.man-content {
|
||||
font-size: 0.62rem;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.copy-ready-badges {
|
||||
margin: 0.5rem 0 0.75rem 0;
|
||||
}
|
||||
|
||||
.copy-ready-badges .badge {
|
||||
display: inline-block;
|
||||
padding: 0.1rem 0.5rem;
|
||||
margin-right: 0.4rem;
|
||||
border-radius: 999px;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.02em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.copy-ready-badges .badge-tf {
|
||||
background: #ffe7b3;
|
||||
color: #7a4b00;
|
||||
}
|
||||
|
||||
.copy-ready-badges .badge-provider {
|
||||
background: #cfe9ff;
|
||||
color: #0b3d91;
|
||||
}
|
||||
|
||||
.copy-ready-badges .badge-resource {
|
||||
background: #e2f7d9;
|
||||
color: #1f6b1f;
|
||||
}
|
||||
|
||||
.copy-ready-code .na {
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.copy-ready-code .s2,
|
||||
.copy-ready-code .m,
|
||||
.copy-ready-code .no,
|
||||
.copy-ready-code .nv {
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.copy-ready-code {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.copy-ready-code .token-keyword {
|
||||
color: #2f855a;
|
||||
}
|
||||
|
||||
.copy-ready-code .token-type {
|
||||
color: #0b5ed7;
|
||||
}
|
||||
|
||||
.copy-ready-code .token-name {
|
||||
color: #0f766e;
|
||||
}
|
||||
|
||||
.copy-ready-code .token-attr {
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.copy-ready-code .token-value {
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.copy-ready-code .token-comment {
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.copy-ready-code .token-type {
|
||||
color: #c026d3;
|
||||
}
|
||||
|
||||
.man-content .man-inline {
|
||||
color: #0b5ed7;
|
||||
background: #eef5ff;
|
||||
padding: 0.05rem 0.2rem;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.man-content .man-code {
|
||||
color: #1f2937;
|
||||
background: #f5f7fb;
|
||||
padding: 0.75rem 1rem;
|
||||
border-radius: 6px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.man-content .man-code .kw {
|
||||
color: #2f855a;
|
||||
}
|
||||
|
||||
.man-content .man-op {
|
||||
color: #b42318;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.man-content .man-kw {
|
||||
color: #2f855a;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.man-content .man-fn {
|
||||
color: #0f766e;
|
||||
}
|
||||
|
||||
.man-content .man-str {
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.man-content .man-num {
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.man-content .man-flag {
|
||||
color: #0b5ed7;
|
||||
}
|
||||
|
||||
.params-columns {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.params-column {
|
||||
flex: 1 1 480px;
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.params-column h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* Compact table variant for create params. */
|
||||
.resource-table-compact {
|
||||
font-size: 0.66rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.resource-table-compact th,
|
||||
.resource-table-compact td {
|
||||
padding: 0.24rem 0.4rem;
|
||||
font-size: 0.66rem;
|
||||
}
|
||||
|
||||
.resource-table-compact th:nth-child(1),
|
||||
.resource-table-compact td:nth-child(1) {
|
||||
width: 6%;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.resource-table-compact th:nth-child(2),
|
||||
.resource-table-compact td:nth-child(2) {
|
||||
width: auto;
|
||||
max-width: 40ch;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.resource-table-compact th:nth-child(3),
|
||||
.resource-table-compact td:nth-child(3),
|
||||
.resource-table-compact th:nth-child(4),
|
||||
.resource-table-compact td:nth-child(4) {
|
||||
white-space: nowrap;
|
||||
width: 8%;
|
||||
}
|
||||
|
||||
.resource-table-compact th:nth-child(4),
|
||||
.resource-table-compact td:nth-child(4) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.resource-table-compact th:nth-child(5),
|
||||
.resource-table-compact td:nth-child(5) {
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
font-size: 0.62rem;
|
||||
}
|
||||
|
||||
.resource-table-compact th:nth-child(6),
|
||||
.resource-table-compact td:nth-child(6) {
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: normal;
|
||||
font-size: 0.62rem;
|
||||
}
|
||||
|
||||
/* Create params column sizing overrides. */
|
||||
.resource-table-compact {
|
||||
table-layout: auto;
|
||||
}
|
||||
|
||||
.resource-table-compact th:nth-child(2),
|
||||
.resource-table-compact td:nth-child(2) {
|
||||
width: 1%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.resource-table-compact td:nth-child(2) code {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.resource-table-compact th:nth-child(5),
|
||||
.resource-table-compact td:nth-child(5) {
|
||||
width: 52%;
|
||||
}
|
||||
|
||||
.resource-table-compact th:nth-child(6),
|
||||
.resource-table-compact td:nth-child(6) {
|
||||
width: 18%;
|
||||
}
|
||||
|
||||
/* Required table (no Default column) column sizing. */
|
||||
.resource-table-required {
|
||||
table-layout: auto;
|
||||
}
|
||||
|
||||
.resource-table-required th:nth-child(2),
|
||||
.resource-table-required td:nth-child(2) {
|
||||
width: 1%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.resource-table-required td:nth-child(2) code {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.resource-table-required th:nth-child(4),
|
||||
.resource-table-required td:nth-child(4) {
|
||||
width: 58%;
|
||||
}
|
||||
|
||||
.resource-table-required th:nth-child(5),
|
||||
.resource-table-required td:nth-child(5) {
|
||||
width: 18%;
|
||||
}
|
||||
|
||||
/* Required table: left-align Description column. */
|
||||
.resource-table-required th:nth-child(4),
|
||||
.resource-table-required td:nth-child(4) {
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
/* Lifecycle note styling in create params. */
|
||||
.lifecycle-note {
|
||||
font-size: 0.66rem;
|
||||
line-height: 1.45;
|
||||
margin-top: 0.6rem;
|
||||
}
|
||||
|
||||
/* Modify params: left-align Description column. */
|
||||
.resource-table-compact th:nth-child(4),
|
||||
.resource-table-compact td:nth-child(4) {
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1017 B |
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Creator: CorelDRAW -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="82.3711mm" height="18.2443mm" version="1.1" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
viewBox="0 0 8221.93 1821.07"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:xodm="http://www.corel.com/coreldraw/odm/2003">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
<![CDATA[
|
||||
.fil0 {fill:#001C34}
|
||||
]]>
|
||||
</style>
|
||||
</defs>
|
||||
<g id="Слой_x0020_1">
|
||||
<metadata id="CorelCorpID_0Corel-Layer"/>
|
||||
<g id="_2283355517888">
|
||||
<path class="fil0" d="M477.49 479.69l-413.51 0 -63.98 276.48 178.44 0 1.17 1028.71 0 26.75 0.03 0 276.39 0 0 -871.72c0,-101.28 82.43,-183.69 183.75,-183.69l589.25 3.44c101.34,0 183.76,82.46 183.76,183.74l0 871.72 276.44 0 0 -871.72c0,-253.77 -206.46,-460.15 -460.05,-460.15l-589.52 -3.53 -162.17 0.45 0 -0.48z"/>
|
||||
<path class="fil0" d="M6664.65 1813.37l1181.04 0c212.14,0 376.24,-175.01 376.24,-387.08 0,-212.13 -172.55,-384.68 -384.69,-384.68l-653.66 0c-60.22,0 -109.16,-48.94 -109.16,-109.18l0 -66.18c0,-60.19 48.94,-109.14 109.16,-109.14l695.76 0 63.74 -275.49 -759.5 0c-212.13,0 -384.66,172.53 -384.66,384.63l0 66.18c0,212.13 172.53,384.67 384.66,384.67l653.66 0c60.2,0 109.2,49 109.2,109.19 0,60.13 -49,116.1 -109.2,116.1l-1118.9 0 -53.68 270.98z"/>
|
||||
<path class="fil0" d="M6200.79 483.5l-723.21 0c-215.88,0 -391.47,175.6 -391.47,391.51l0 485.5c0,248.38 202.05,450.4 450.4,450.4l989.38 0 62.13 -268.51 -1051.51 0c-96.41,0 -174.95,-85.37 -174.95,-181.88l-1.5 -39.46 923.62 0 308.51 -1.84 0 -237.95 0 -206.26c0,-215.91 -175.59,-391.51 -391.41,-391.51zm115.96 560.28l-955.19 0 0 -168.77c0,-63.96 52.07,-116.05 116.02,-116.05l723.21 0c63.91,0 115.96,52.08 115.96,116.05l0 168.77z"/>
|
||||
<path class="fil0" d="M4683.49 1194.24l0 168.28c0,100.92 -81.7,178.37 -182.67,178.37l-589.87 1.23c-93.18,0 -170.28,-69.96 -181.63,-160.09l0 -458.13c11.36,-90.1 88.46,-160.07 181.63,-160.07l589.44 3.5c100.97,0 183.1,82.18 183.1,183.1l0 30.42 0 213.4zm-1230.2 -345.53l-0.89 -795.03 276.91 -53.68 0 526.07c55.74,-24.16 117.03,-37.74 181.5,-37.74l589.71 3.5c252.69,0 458.42,205.72 458.42,458.59l0 30.42 0 213.4 0 168.28c0,252.86 -205.73,458.54 -458.42,458.54l-589.71 -3.5c-252.7,0 -458.41,-205.67 -458.41,-458.56l0 -171.61 0 -240.48 0.89 -98.2z"/>
|
||||
<path class="fil0" d="M3041.25 1150.84l0 204.28c0,100.93 -82.15,183.05 -183.11,183.05l-582.11 -3.46c-100.96,0 -183.11,-82.16 -183.11,-183.08l0 -67.42 1.48 0.24 0 -862.65 -276.91 53.68 0.12 103.41 -0.12 0.04 0 772.69c0,252.87 205.72,458.54 458.39,458.54l582.4 3.5c252.67,0 458.4,-205.68 458.4,-458.55l0 -70.79 0.71 0.12 0 -862.65 -276.91 53.68 0.76 675.35z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,4 @@
|
||||
/* Preview only: reduce content font size without changing navigation. */
|
||||
.md-content {
|
||||
font-size: 25% !important;
|
||||
}
|
||||
Reference in New Issue
Block a user