1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-17 00:46:34 +00:00
openmw/docs/source/_static/theme-override.css

36 lines
958 B
CSS

/* Hide text underline in tables since the underlines clash with table lines */
#content a.sd-badge:not(.toc-backref), #content table a:not(.toc-backref) {
text-decoration: none;
}
/* Disables the saturation filter on project icon in dark mode */
.dark\:invert {
--tw-invert: none !important;
}
/* Disable no-wrap set on some code blocks, causing x-overflow issues in right bar */
code {
white-space: normal;
}
/* Hide the keybind shortcut for search, we haven't linked this to sphinx search addon yet */
#searchbox kbd {
display: none !important;
}
/* Table headers are bolded in dark mode, do it in light mode too */
table th {
font-weight: 600 !important;
}
/* Highlight non-header rows on hover */
tbody tr:hover {
background-color: hsl(var(--muted));
}
/* Increase maximum width for docs, default is quite narrow at 1400px max */
@media (min-width: 1400px) {
.container {
max-width: 2000px !important;
}
}