Update doxygen for cffi docs (#4136)

fix styling
This commit is contained in:
Sebastian Klähn
2023-03-08 21:35:15 +01:00
committed by GitHub
parent d71bf1c4be
commit db28c1bdc4
3 changed files with 14 additions and 3 deletions

View File

@@ -1,14 +1,24 @@
:root {
--accent: hsl(0 0% 70%);
}
@media (prefers-color-scheme: dark) {
:root {
--accent: hsl(0 0% 30%);
}
}
/* the code snippet frame, defaults to white which tends to get badly readable in combination with explaining text around */ /* the code snippet frame, defaults to white which tends to get badly readable in combination with explaining text around */
div.fragment { div.fragment {
background-color: #e0e0e0; background-color: var(--accent);
border: 0; border: 0;
padding: 1em; padding: 1em;
border-radius: 6px; border-radius: 6px;
} }
code { code {
background-color: #e0e0e0; background-color: var(--accent);
padding-left: .5em; padding-left: .5em;
padding-right: .5em; padding-right: .5em;
border-radius: 6px; border-radius: 6px;

Submodule deltachat-ffi/doxygen-dark-theme added at 101c1f9152