mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-08 20:05:19 -04:00
50 lines
1.1 KiB
CSS
50 lines
1.1 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;
|
|
}
|
|
|
|
|
|
/* EXAMPLE: this should serve as a template on how to conditonally apply styles for dark themes
|
|
body[data-theme="dark"] #luadoc pre.example {
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body:not([data-theme="light"]) #luadoc pre.example {
|
|
}
|
|
} */
|
|
|
|
#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%;
|
|
} |