From d14321820680a670ed9f7edae29273614568dc28 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Thu, 16 Nov 2023 20:15:45 -0600 Subject: [PATCH] Add darkmode --- resources/darkmode.css | 6 +++--- templates/problem/problem.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/darkmode.css b/resources/darkmode.css index c1839d7..a50a400 100644 --- a/resources/darkmode.css +++ b/resources/darkmode.css @@ -2093,6 +2093,9 @@ ul.problem-list { #comment-announcement:hover { background-color: rgb(96, 104, 108); } +.new-problem-info { + background-color: rgb(54, 39, 0); +} .admin a, .admin { color: rgb(232, 230, 227) !important; @@ -2785,9 +2788,6 @@ a.voted { background-image: initial; background-color: rgb(49, 53, 55); } -.actionbar .actionbar-button a:hover { - color: inherit; -} .actionbar .actionbar-button:hover { background-image: initial; background-color: rgb(73, 79, 82); diff --git a/templates/problem/problem.html b/templates/problem/problem.html index 38d72dd..a2ee4fd 100644 --- a/templates/problem/problem.html +++ b/templates/problem/problem.html @@ -300,9 +300,9 @@ {{ _('Points:') }} {% if contest_problem %} - {{ contest_problem.points }}{% if contest_problem.partial %} {{ _('(partial)') }}{% endif %} + {{ contest_problem.points }} {% if contest_problem.partial %}(p){% endif %} {% else %} - {{ problem.points|floatformat }}{% if problem.partial %} {{ _('(partial)') }}{% endif %} + {{ problem.points|floatformat }} {% if problem.partial %}(p){% endif %} {% endif %}