1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-15 06:56:34 +00:00
openmw/docs/source/_static/luadoc.css
2025-06-19 19:32:57 -07:00

102 lines
No EOL
1.8 KiB
CSS

#luadoc code, #luadoc tt, #luadoc p em {
font-family: 'JetBrains Mono', monospace;
}
#luadoc pre.example {
background-color: hsl(var(--accent)) !important;
padding: 10px;
margin: 10px 0 10px 0;
overflow-x: auto;
}
#luadoc pre.example code {
color: black;
background-color: hsl(var(--accent)) !important;
border: none;
white-space: pre;
padding: 0px;
}
@media (prefers-color-scheme: dark) {
#luadoc pre.example,
#luadoc pre.example code {
background-color: hsl(var(--muted));
color: #ffffff;
}
}
#luadoc code {
background-color: unset;
}
#luadoc pre {
background-color: inherit;
color: inherit;
border: none;
}
#luadoc pre code {
white-space: normal;
}
#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;}
#content #luadoc dl.function dt:not(.sig):first-child {
border-bottom: 2px solid hsl(163.24deg 81.3% 74.1% / 30%);
background-color: hsl(155.69deg 27.84% 54.99% / 12%);
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(163.24deg 81.3% 74.1% / 20%);
background-color: hsl(155.69deg 27.84% 54.99% / 8%);
}
}
#luadoc .table-wrapper.container {
padding: 0;
}
table.docutils {
width: 100%;
}