fix: 调整考试状态颜色和背景透明度以改善视觉效果

This commit is contained in:
MKStoler1024 2025-01-16 07:43:29 +00:00
parent 8022143a71
commit 7a71449e05
2 changed files with 3 additions and 3 deletions

View File

@ -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 }))}`;

View File

@ -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 {