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
|
#luadoc code, #luadoc tt, #luadoc p em {
font-family: 'JetBrains Mono', monospace;
}
#luadoc pre.example code {
white-space: pre;
}
#luadoc code:not([class*="language-"]) {
background-color: unset;
}
#luadoc pre:not([class*="language-"]) {
background-color: inherit;
color: inherit;
border: none;
}
#luadoc pre code {
white-space: normal;
}
html:has(#luadoc) {
scroll-padding-top: 4.0rem;
}
#content #luadoc code a:not(.toc-backref) {
font-weight: 600;
}
#luadoc > p:nth-child(1) {
margin: 12px 0 12px 0;
}
#luadoc a:not([href]) {
text-decoration: none;
cursor: inherit;
color: inherit;
}
#luadoc a:not([href]):hover {
color: inherit;
}
#luadoc code a em {
color: inherit;
font-weight: inherit;
}
#luadoc em {
font-size: 13px;
font-style: normal;
}
.context-wrapper {
display: flex;
margin-top: 14px;
gap: 4px;
}
#luadoc ul { list-style-type: disc; }
#luadoc li {list-style: bullet;}
#luadoc .function a:not(.toc-backref) {
font-weight: 500;
}
#content #luadoc dl.function dt:not(.sig):first-child {
border-bottom: 2px solid hsl(var(--muted) / 50%);
background-color: hsl(var(--muted));
padding: 6px;
}
#content #luadoc dl.function dt:not(.sig):first-child a {
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
#content #luadoc dl.function dt:not(.sig):first-child {
border-bottom: 2px solid hsl(var(--accent) / 50%);
background-color: hsl(var(--accent));
}
}
#luadoc .table-wrapper.container {
padding: 0;
}
table.docutils {
width: 100%;
}
|