diff --git a/forum/templates/base.html b/forum/templates/base.html index af0c787..dbce856 100644 --- a/forum/templates/base.html +++ b/forum/templates/base.html @@ -8,8 +8,12 @@ @@ -33,10 +37,8 @@ } - @media (prefers-color-scheme: dark) { - body { - background-color: #0d1117; - } + [data-bs-theme="dark"] body { + background-color: #0d1117; } {% block extra_head %}{% endblock %} @@ -72,24 +74,29 @@ - {% if user.is_authenticated %} - @@ -107,13 +114,28 @@