diff --git a/doc/doxygen.conf b/doc/doxygen.conf index 1ee923022..4f78da138 100644 --- a/doc/doxygen.conf +++ b/doc/doxygen.conf @@ -2693,5 +2693,5 @@ GENERATE_LEGEND = YES DOT_CLEANUP = YES # Disable dark mode in the generated HTML in Doxygen 1.9.6 or greater. -HTML_COLORSTYLE = LIGHT +# HTML_COLORSTYLE = LIGHT diff --git a/doc/ns3_html_theme/static/ns3_stylesheet.css b/doc/ns3_html_theme/static/ns3_stylesheet.css index c20341dbc..e71944956 100644 --- a/doc/ns3_html_theme/static/ns3_stylesheet.css +++ b/doc/ns3_html_theme/static/ns3_stylesheet.css @@ -10,16 +10,21 @@ dl { font-size: 12px; } -/* Dark mode is not supported in Doxygen versions earlier than 1.9.6 +/* Dark mode is not supported in Doxygen versions earlier than 1.9.6 */ @media (prefers-color-scheme: dark) { body, table, div, p, - dl { + dl, + div.body, + div.sphinxsidebar h3, + div.sphinxsidebar h4 , + div.sphinxsidebar h3 a{ color: ivory; + background:black; } -} */ +} a { color: #91A501; @@ -110,8 +115,8 @@ div.sphinxsidebar a { } #projecttext { - align: left; - font-color: white; + text-align: left; + color: white; padding-left: 2em; width: 250px; }