604 lines
13 KiB
CSS
604 lines
13 KiB
CSS
.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;
|
|
}
|
|
|
|
/* Resource pages: right sidebar (TOC) hidden, left sidebar visible */
|
|
.md-sidebar--secondary {
|
|
display: none !important;
|
|
}
|
|
|
|
.md-grid {
|
|
max-width: 61rem;
|
|
}
|
|
|
|
.md-main__inner {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* Active tab highlight in resource nav */
|
|
.md-content a:has(strong) {
|
|
text-decoration: underline;
|
|
text-decoration-thickness: 2px;
|
|
}
|
|
|
|
/* Keep horizontal scrollbars visible for wide tables */
|
|
.md-typeset__scrollwrap {
|
|
overflow-x: auto;
|
|
padding-bottom: 0.3rem;
|
|
}
|
|
|
|
/* MAN content inside admonition */
|
|
|
|
/* Resource title + tabs: compact */
|
|
.md-typeset .md-content__inner > h1:first-child {
|
|
font-size: 0.77rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.md-typeset .md-content__inner > h1:first-child + p {
|
|
font-size: 0.65rem;
|
|
}
|
|
|
|
/* ---- ALL TABLE RULES — prefixed .md-typeset for MkDocs specificity ---- */
|
|
.md-typeset .resource-table {
|
|
width: 100%;
|
|
table-layout: auto;
|
|
border-collapse: collapse;
|
|
font-size: 0.82rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.md-typeset .resource-table th,
|
|
.md-typeset .resource-table td {
|
|
padding: 0.3rem 0.4rem;
|
|
vertical-align: top;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.md-typeset .resource-table thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
background: #fff;
|
|
font-weight: 700;
|
|
font-size: 0.72rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.md-typeset .resource-table tbody tr:nth-child(even) {
|
|
background: #fafafa;
|
|
}
|
|
|
|
/* ID column: HIDDEN */
|
|
.md-typeset .resource-table th:nth-child(1),
|
|
.md-typeset .resource-table td:nth-child(1) {
|
|
display: none;
|
|
}
|
|
|
|
/* Code column: bold for all resource tables */
|
|
.md-typeset .resource-table td:nth-child(2) code {
|
|
font-weight: 700;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
/* ★ — main required table (no defaults, MUST enter) */
|
|
.md-typeset .resource-table-required td:nth-child(2) code::before {
|
|
content: "★ ";
|
|
color: #e74c3c;
|
|
}
|
|
|
|
/* ★ — main default table (has defaults, can skip) */
|
|
.md-typeset .resource-table:not(.resource-table-required):not(.resource-table-nested) td:nth-child(2) code::before {
|
|
content: "★ ";
|
|
color: #27ae60;
|
|
}
|
|
|
|
.md-typeset .resource-table:not(.resource-table-nested) {
|
|
table-layout: fixed;
|
|
}
|
|
|
|
/* 5-col (no Default): Code(22%) Type(6%) Descr(45%) Constr(27%) = 100% */
|
|
.md-typeset .resource-table:not(.resource-table-nested):not(:has(th:nth-child(6))) th:nth-child(2),
|
|
.md-typeset .resource-table:not(.resource-table-nested):not(:has(th:nth-child(6))) td:nth-child(2) {
|
|
width: 22%;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.md-typeset .resource-table:not(.resource-table-nested):not(:has(th:nth-child(6))) th:nth-child(3),
|
|
.md-typeset .resource-table:not(.resource-table-nested):not(:has(th:nth-child(6))) td:nth-child(3) {
|
|
width: 6%;
|
|
white-space: nowrap;
|
|
font-size: 0.63rem;
|
|
}
|
|
.md-typeset .resource-table:not(.resource-table-nested):not(:has(th:nth-child(6))) th:nth-child(4),
|
|
.md-typeset .resource-table:not(.resource-table-nested):not(:has(th:nth-child(6))) td:nth-child(4) {
|
|
width: 45%;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
font-size: 0.63rem;
|
|
color: #777;
|
|
}
|
|
.md-typeset .resource-table:not(.resource-table-nested):not(:has(th:nth-child(6))) th:nth-child(5),
|
|
.md-typeset .resource-table:not(.resource-table-nested):not(:has(th:nth-child(6))) td:nth-child(5) {
|
|
width: 27%;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
|
|
font-size: 0.62rem;
|
|
}
|
|
|
|
/* 6-col (with Default): Code(20%) Type(5%) Default(12%) Descr(38%) Constr(25%) = 100% */
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) th:nth-child(2),
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) td:nth-child(2) {
|
|
width: 20%;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) th:nth-child(3),
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) td:nth-child(3) {
|
|
width: 5%;
|
|
white-space: nowrap;
|
|
font-size: 0.63rem;
|
|
}
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) th:nth-child(4),
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) td:nth-child(4) {
|
|
width: 12%;
|
|
white-space: normal;
|
|
color: #2c6f8c;
|
|
font-size: 0.72rem;
|
|
}
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) th:nth-child(5),
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) td:nth-child(5) {
|
|
width: 38%;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
font-size: 0.63rem;
|
|
color: #777;
|
|
}
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) th:nth-child(6),
|
|
.md-typeset .resource-table:not(.resource-table-nested):has(th:nth-child(6)) td:nth-child(6) {
|
|
width: 25%;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
|
|
font-size: 0.62rem;
|
|
}
|
|
|
|
/* ---- NESTED TABLE ---- */
|
|
.md-typeset .resource-table-nested {
|
|
width: 100%;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.md-typeset .resource-table-nested th,
|
|
.md-typeset .resource-table-nested td {
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
font-size: 0.72rem;
|
|
padding: 0.25rem 0.3rem;
|
|
}
|
|
|
|
.md-typeset .resource-table-nested th:nth-child(2),
|
|
.md-typeset .resource-table-nested td:nth-child(2) {
|
|
width: 19%;
|
|
min-width: 16ch;
|
|
}
|
|
|
|
.md-typeset .resource-table-nested td:nth-child(2) code {
|
|
font-weight: 700;
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.md-typeset .resource-table-nested th:nth-child(4),
|
|
.md-typeset .resource-table-nested td:nth-child(4) {
|
|
width: 4%;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Header: "Req" instead of "Required" */
|
|
.md-typeset .resource-table-nested th:nth-child(4) {
|
|
font-size: 0;
|
|
}
|
|
.md-typeset .resource-table-nested th:nth-child(4)::before {
|
|
content: "Req";
|
|
font-size: 0.63rem;
|
|
}
|
|
|
|
/* Hide "**yes**" text, show ★ */
|
|
.md-typeset .resource-table-nested td:nth-child(4):not(:empty) {
|
|
font-size: 0;
|
|
}
|
|
|
|
/* ★ RED — required, NO default (must enter) */
|
|
.md-typeset .resource-table-nested tr:has(td:nth-child(4):not(:empty)):has(td:nth-child(5):empty) td:nth-child(4)::before {
|
|
content: "★";
|
|
color: #e74c3c;
|
|
font-weight: 700;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* ★ GREEN — required, HAS default (can skip) */
|
|
.md-typeset .resource-table-nested tr:has(td:nth-child(4):not(:empty)):not(:has(td:nth-child(5):empty)) td:nth-child(4)::before {
|
|
content: "★";
|
|
color: #27ae60;
|
|
font-weight: 700;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.md-typeset .resource-table-nested th:nth-child(3),
|
|
.md-typeset .resource-table-nested td:nth-child(3) {
|
|
width: 5%;
|
|
white-space: nowrap;
|
|
font-size: 0.63rem;
|
|
}
|
|
|
|
.md-typeset .resource-table-nested th:nth-child(5),
|
|
.md-typeset .resource-table-nested td:nth-child(5) {
|
|
width: 6%;
|
|
white-space: nowrap;
|
|
color: #2c6f8c;
|
|
font-size: 0.72rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.md-typeset .resource-table-nested th:nth-child(6),
|
|
.md-typeset .resource-table-nested td:nth-child(6) {
|
|
width: 37%;
|
|
font-size: 0.63rem;
|
|
color: #777;
|
|
word-break: break-word;
|
|
}
|
|
.md-typeset .resource-table-nested td:nth-child(6) {
|
|
}
|
|
|
|
.md-typeset .resource-table-nested th:nth-child(7),
|
|
.md-typeset .resource-table-nested td:nth-child(7) {
|
|
width: 30%;
|
|
font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
|
|
font-size: 0.62rem;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
/* v20260718-1015 */
|