diff --git a/exam/script.js b/exam/script.js index b1d2567..7e9142a 100644 --- a/exam/script.js +++ b/exam/script.js @@ -92,7 +92,7 @@ document.addEventListener("DOMContentLoaded", () => { } statusElem.textContent = "状态: 进行中"; - statusElem.style.color = "green"; + statusElem.style.color = "#5ba838"; } else if (nextExam) { currentSubjectElem.textContent = `下一场科目: ${nextExam.name}`; examTimingElem.textContent = `起止时间: ${formatTimeWithoutSeconds(new Date(nextExam.start).toLocaleTimeString('zh-CN', { hour12: false }))} - ${formatTimeWithoutSeconds(new Date(nextExam.end).toLocaleTimeString('zh-CN', { hour12: false }))}`; diff --git a/exam/styles.css b/exam/styles.css index cc6ed38..90b054a 100644 --- a/exam/styles.css +++ b/exam/styles.css @@ -60,9 +60,9 @@ body { padding: 20px; max-width: 1400px; /* 增加主体部分宽度 */ margin: auto; - background-color: rgba(31, 31, 31, 0.8); /* 使用rgba设置背景透明度 */ + background-color: rgba(31, 31, 31, 0.5); /* 使用rgba设置背景透明度 */ border-radius: 8px; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); + box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); } h1 {