From d21e24dd6cfa7fc0f6029cc89d7d23ddd6c5ef34 Mon Sep 17 00:00:00 2001 From: Van Duc Le <121172468+yucyle@users.noreply.github.com> Date: Thu, 23 Nov 2023 21:46:45 -0600 Subject: [PATCH] Problem UI (#96) --- resources/widgets.scss | 10 +++++----- templates/problem/problem.html | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/resources/widgets.scss b/resources/widgets.scss index 96d2ba9..ea9096c 100644 --- a/resources/widgets.scss +++ b/resources/widgets.scss @@ -797,7 +797,7 @@ ul.errorlist { align-self: center !important; } -body { +.a-problem { font-size: 15px; line-height: 1.8; font-weight: normal; @@ -810,10 +810,10 @@ a { } button:hover, button:focus { - text-decoration: none !important; - outline: none !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; + text-decoration: none; + outline: none; + -webkit-box-shadow: none; + box-shadow: none; } .btn { diff --git a/templates/problem/problem.html b/templates/problem/problem.html index acf56f3..9fb3444 100644 --- a/templates/problem/problem.html +++ b/templates/problem/problem.html @@ -178,31 +178,31 @@ {% if request.user.is_authenticated and has_submissions %}
{% endif %} - - + + {% if editorial and editorial.is_public and not (request.user.is_authenticated and request.in_contest_mode) %}