From 79e86c7a4a69c6198295f5b6340a5b20c548f721 Mon Sep 17 00:00:00 2001 From: HungBacktracking <21120011@student.hcmus.edu.vn> Date: Fri, 8 Sep 2023 04:54:16 +0700 Subject: [PATCH] move html-class 'list-contest' to contest.scss because of transforming darkmode --- resources/contest.scss | 27 +++++++++++++++++++++++++++ templates/contest/list.html | 27 --------------------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/resources/contest.scss b/resources/contest.scss index 95da7a8..17697a4 100644 --- a/resources/contest.scss +++ b/resources/contest.scss @@ -1,5 +1,32 @@ @import "vars"; +.list-contest { + box-shadow: 0px 4px 8px rgba(4, 83, 67, 0.2), 0px 6px 20px rgba(4, 83, 67, 0.19); + border-radius: 15px; + padding: 20px; + margin-bottom: 20px; + width: 100%; + box-sizing: border-box; + display: flex; + + .info-contest { + flex: 1; + } + + .participate-button { + display: flex; + justify-content: center; + align-items: center; + } + + .contest-title { + font-size: 17px; + font-weight: 600; + line-height: 150%; + margin-bottom: 10px; + } +} + #contest-calendar { border-collapse: collapse; width: 100%; diff --git a/templates/contest/list.html b/templates/contest/list.html index f95ff0b..7c63c44 100644 --- a/templates/contest/list.html +++ b/templates/contest/list.html @@ -5,33 +5,6 @@ {% block two_col_media %}