mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
* api docs * more docstrings * logs * docs shakeup * fix notes, added intro to all apis * Remove defaults to * add note to events * note * use fira code
75 lines
1.2 KiB
CSS
75 lines
1.2 KiB
CSS
h2.doc.doc-heading {
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
padding-top: 48px;
|
|
}
|
|
|
|
h3 .doc-heading code {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.doc-heading code {
|
|
font-weight: normal;
|
|
font-family: "Roboto Mono", "SFMono-Regular", Consolas, "Courier New", Courier,
|
|
monospace;
|
|
}
|
|
|
|
body[data-md-color-primary="black"] .excalidraw svg {
|
|
filter: invert(100%) hue-rotate(180deg);
|
|
}
|
|
|
|
body[data-md-color-primary="black"] .excalidraw svg rect {
|
|
fill: transparent;
|
|
}
|
|
|
|
.excalidraw {
|
|
text-align: center;
|
|
}
|
|
|
|
.video-wrapper {
|
|
position: relative;
|
|
display: block;
|
|
height: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
padding-bottom: 56.25%;
|
|
}
|
|
.video-wrapper > iframe {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
}
|
|
|
|
.doc-object code {
|
|
font-family: "Fira Code", "SFMono-Regular", Consolas, "Courier New", Courier,
|
|
monospace;
|
|
}
|
|
|
|
|
|
/* Indentation. */
|
|
div.doc-contents:not(.first) {
|
|
padding-left: 25px;
|
|
border-left: .05rem solid var(--md-typeset-table-color);
|
|
}
|
|
|
|
/* Avoid breaking parameters name, etc. in table cells. */
|
|
td code {
|
|
word-break: normal !important;
|
|
}
|
|
|
|
|
|
.doc-label code {
|
|
background: transparent;
|
|
opacity: 0.8;
|
|
float: right;
|
|
}
|
|
|
|
|
|
.doc-function p strong {
|
|
opacity: 0.85;
|
|
|
|
}
|