mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-10 04:46:08 -04:00
docs - clean up styles and add comments for each override
This commit is contained in:
parent
e649498f06
commit
49a651761f
@ -1,23 +1,24 @@
|
|||||||
|
/* 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) {
|
#content a.sd-badge:not(.toc-backref), #content table a:not(.toc-backref) {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disables the saturation filter on project icon in dark mode */
|
||||||
.dark\:invert {
|
.dark\:invert {
|
||||||
--tw-invert: none !important;
|
--tw-invert: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disable no-wrap set on some code blocks, causing x-overflow issues in right bar */
|
||||||
code {
|
code {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-sidebar--primary {
|
/* Hide the keybind shortcut for search, we haven't linked this to sphinx search addon yet */
|
||||||
width: 500px; /* default is 240px */
|
|
||||||
}
|
|
||||||
|
|
||||||
.md-content {
|
|
||||||
margin-left: 500px; /* match the new sidebar width */
|
|
||||||
}
|
|
||||||
|
|
||||||
#searchbox kbd {
|
#searchbox kbd {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Table headers are bolded in dark mode, do it in light mode too */
|
||||||
|
table th {
|
||||||
|
font-weight: 600 !important;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user