Add darkmode

This commit is contained in:
cuom1999 2023-11-16 20:15:45 -06:00
parent 5cbf3489b3
commit d143218206
2 changed files with 5 additions and 5 deletions

View file

@ -2093,6 +2093,9 @@ ul.problem-list {
#comment-announcement:hover { #comment-announcement:hover {
background-color: rgb(96, 104, 108); background-color: rgb(96, 104, 108);
} }
.new-problem-info {
background-color: rgb(54, 39, 0);
}
.admin a, .admin a,
.admin { .admin {
color: rgb(232, 230, 227) !important; color: rgb(232, 230, 227) !important;
@ -2785,9 +2788,6 @@ a.voted {
background-image: initial; background-image: initial;
background-color: rgb(49, 53, 55); background-color: rgb(49, 53, 55);
} }
.actionbar .actionbar-button a:hover {
color: inherit;
}
.actionbar .actionbar-button:hover { .actionbar .actionbar-button:hover {
background-image: initial; background-image: initial;
background-color: rgb(73, 79, 82); background-color: rgb(73, 79, 82);

View file

@ -300,9 +300,9 @@
<i class="fa fa-check fa-fw"></i><span class="pi-name">{{ _('Points:') }}</span> <i class="fa fa-check fa-fw"></i><span class="pi-name">{{ _('Points:') }}</span>
<span class="new-pi-value"> <span class="new-pi-value">
{% if contest_problem %} {% if contest_problem %}
{{ contest_problem.points }}{% if contest_problem.partial %} {{ _('(partial)') }}{% endif %} {{ contest_problem.points }} {% if contest_problem.partial %}(p){% endif %}
{% else %} {% else %}
{{ problem.points|floatformat }}{% if problem.partial %} {{ _('(partial)') }}{% endif %} {{ problem.points|floatformat }} {% if problem.partial %}(p){% endif %}
{% endif %} {% endif %}
</span> </span>
</span> </span>