add nowcoder

This commit is contained in:
hanyixuanten
2026-07-20 20:02:29 +08:00
parent 964f186cd6
commit 0498544fcb
7 changed files with 166 additions and 2 deletions
+3 -1
View File
@@ -164,7 +164,8 @@ if ($finished_contests_json === false) {
$platform_class = [
'Codeforces' => 'cf',
'AtCoder' => 'atc',
'UOJ' => 'uoj'
'UOJ' => 'uoj',
'Nowcoder' => 'nowcoder'
];
function h($value) {
@@ -209,6 +210,7 @@ function contest_value($contest, $key, $default) {
.platform.cf { background: #1f8acb; }
.platform.atc { background: #5b8c5a; }
.platform.uoj { background: #c0392b; }
.platform.nowcoder { background: #00a6a6; }
.info { flex: 1; margin-left: 15px; }
.title { font-size: 18px; font-weight: 600; color: #2c3e50; }
.time { font-size: 14px; color: #7f8c8d; margin-top: 5px; }