doc: (fixes #849) disable doxygen dark mode

This commit is contained in:
Tommaso Pecorella
2023-02-05 00:01:39 -06:00
committed by Tommaso Pecorella
parent 4845e2cbcd
commit 5f0c3c33c5
2 changed files with 45 additions and 36 deletions

View File

@@ -2691,3 +2691,7 @@ GENERATE_LEGEND = YES
# The default value is: YES.
DOT_CLEANUP = YES
# Disable dark mode in the generated HTML in Doxygen 1.9.6 or greater.
HTML_COLORSTYLE = LIGHT

View File

@@ -10,6 +10,7 @@ dl {
font-size: 12px;
}
/* Dark mode is not supported in Doxygen versions earlier than 1.9.6
@media (prefers-color-scheme: dark) {
body,
table,
@@ -18,7 +19,7 @@ dl {
dl {
color: ivory;
}
}
} */
a {
color: #91A501;
@@ -191,13 +192,16 @@ div.sphinxsidebar a {
/* cursor: pointer; */
display: block;
float: left;
font-weight: normal; /* default anchors are bold */
text-decoration:none; /* default anchors are underlined */
font-weight: normal;
/* default anchors are bold */
text-decoration: none;
/* default anchors are underlined */
}
#ns3-menu .menu ul li a:hover {
color: #cadc48;
text-decoration:none; /* don't add underline on hover */
text-decoration: none;
/* don't add underline on hover */
}
#ns3-menu .menu div {
@@ -223,5 +227,6 @@ div.sphinxsidebar a {
#ns3-menu .menu div a:hover {
color: #cadc48;
text-decoration:none; /* don't add underline on hover */
text-decoration: none;
/* don't add underline on hover */
}