Files
tf_provider/docs/30_registry/assets/extra.css
T
2026-06-30 15:45:24 +04:00

436 lines
7.6 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;
}
/* 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;
}