body { font-family: 'HarmonyOS Sans SC Regular', Arial, sans-serif; margin: 0; padding: 0; background-color: #121212; animation: fadeIn 1s; color: #e0e0e0; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } #fullscreen-btn { position: absolute; top: 20px; right: 20px; padding: 10px 20px; font-size: 1.5rem; cursor: pointer; background-color: #1f1f1f; color: #e0e0e0; border: 1px solid #333; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); transition: background-color 0.3s ease, transform 0.3s ease; } #fullscreen-btn:hover { background-color: #333; transform: scale(1.05); } .container { padding: 20px; max-width: 1200px; margin: auto; background-color: #1f1f1f; border-radius: 8px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); } h1 { font-size: 4rem; font-weight: bold; text-align: left; margin-bottom: 5px; color: #e0e0e0; } #message { font-size: 1.5rem; color: #bb86fc; margin-bottom: 20px; } .content { display: flex; justify-content: space-between; } .left-column, .right-column { width: 48%; background-color: #1f1f1f; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); border-radius: 8px; } #current-time { font-size: 8rem; font-weight: bold; text-align: center; margin-bottom: 20px; color: #bb86fc; } #current-subject, #exam-timing, #remaining-time, #status { font-size: 3rem; margin: 10px 0; text-align: left; color: #e0e0e0; } table { width: 100%; border-collapse: collapse; margin-top: 20px; border: 1px solid #333; background-color: #1f1f1f; } th, td { border: 1px solid #333; padding: 8px; /* 缩短行高 */ font-size: 2rem; text-align: center; } th { background-color: #333; color: #bb86fc; font-weight: bold; border-bottom: 2px solid #bb86fc; } .exam-status-进行中 td { color: green !important; /* 绿色字体 */ } .exam-status-即将开始 td { color: orange !important; /* 橙色字体 */ } .exam-status-已结束 td { color: red !important; /* 红色字体 */ } .exam-status-空闲 td { color: blue !important; /* 蓝色字体 */ } tr:hover { background-color: #333; } table { border-radius: 8px; overflow: hidden; } td { border-bottom: 1px solid #333; } td:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; } td:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }