1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-16 15:46:34 +00:00
openmw/docs/source/_static/luadoc.css
2025-06-16 16:41:37 -07:00

54 lines
No EOL
1.2 KiB
CSS

#luadoc code, #luadoc tt {
font-family: monospace;
}
#luadoc pre.example {
background-color: #eeffcc;
padding: 10px;
margin: 10px 0 10px 0;
overflow-x: auto;
}
#luadoc pre.example code {
color: black;
background-color: #eeffcc;
border: none;
white-space: pre;
padding: 0px;
}
@media (prefers-color-scheme: dark) {
body:not([data-theme="light"]) #luadoc pre.example,
body:not([data-theme="light"]) #luadoc pre.example code {
background-color: #2a3a49;
color: #ffffff;
}
}
body[data-theme="dark"] #luadoc pre.example,
body[data-theme="dark"] #luadoc pre.example code {
background-color: #2a3a49;
color: #ffffff;
}
#luadoc a:not(:link) {
font-weight: bold;
color: var(--color-content-foreground);
text-decoration: none;
cursor: inherit;
}
#luadoc p em { font-family: 'monospace';}
#luadoc a:link { font-weight: bold; color: var(--color-link);; text-decoration: none; }
#luadoc a:visited { font-weight: bold; color: var(--color-link--hover); text-decoration: none; }
#luadoc a:link:hover { text-decoration: underline; }
.context-wrapper {
display: flex;
gap: 4px;
}
table.docutils {
width: 100%;
}