html, body { width: 100%; height: 100%; margin: 0; padding: 0; font-family: 'Alibaba PuHuiTi R'; background-color: #e0e0e0; } .layui-laypage-skip { display: none; } .layout { display: flex; align-items: center; justify-content: start; box-sizing: border-box; } #content { width: 100%; height: 100%; box-sizing: border-box; background-color: #e0e0e0; justify-content: space-between; } #left { width: 100%; height: 100%; flex-direction: column; justify-content: space-between; } #topic { width: 100%; height: 100%; background-color: #e0e0e0; box-sizing: border-box; letter-spacing: 1px; overflow-y: auto; } .topic-box { width: 97%; background-color: #fff; border-radius: 6px; padding: 0.5%; margin: 1%; } .question-title { font-size: 18px; margin-bottom: 20px; } .options { margin-bottom: 30px; } .option { display: flex; align-items: center; margin: 5px 0; font-size: 16px; cursor: pointer; border-radius: 6px; padding: 8px 12px; transition: background 0.2s; position: relative; } /* .option input[type="radio"] { display: none; } */ .option input[type="radio"] { width: 24px; height: 24px; cursor: pointer; } .option input[type="checkbox"] { width: 24px; height: 24px; cursor: pointer; } .option .circle { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #B0B0B0; margin-right: 12px; display: flex; align-items: center; justify-content: center; background: #EEE; font-size: 16px; transition: border-color 0.2s, background 0.2s; color: #fff; } .option .circle.correct { background: #52CA68; border: none; border-radius: 50%; } .option .circle.error { background: #FF4447; border: none; font-size: 24px; border-radius: 50%; line-height: 24px; } .option .square { width: 24px; height: 24px; border: 1px solid #C7C7C7; margin-right: 12px; display: flex; align-items: center; justify-content: center; background: #EEE; font-size: 16px; transition: border-color 0.2s, background 0.2s; color: #fff; } .option .square.correct { background: #52CA68; border: none; border-radius: 50%; } .option .square.error { background: #FF4447; border: none; font-size: 24px; border-radius: 50%; line-height: 24px; } #answerBox { width: 100%; height: 14%; background-color: #fff; } #topicJump { width: 100%; height: 14%; background-color: #fff; justify-content: space-around; } #lastTopic, #nextTopic { cursor: pointer; color: #707070; font-size: 18px; } #right { width: 25%; height: 100%; background-color: #fff; } #answerSheet { width: 100%; height: 100%; } #answerSheetBox1 { width: 100%; height: 50px; padding: 0 20px; } #titleStyle { width: 10px; height: 24px; border-left: 5px solid #409EFF; color: #409EFF; font-size: 18px; } #answerSheetBox1 span { font-size: 20px; margin-right: 3px; } #answerSheetBox1 span:nth-of-type(3) { color: #409EFF; } #questionTitle { font-size: 18px; padding: 0 20px; } #questionNumber { width: 100%; max-height: 50%; padding: 0 10px; flex-wrap: wrap; align-items: start; } .save-answer-btn { width: 20%; height: 100%; } .answer-box { width: 20%; height: 80px; } .answer { width: 50%; height: 100%; flex-direction: column; justify-content: center; letter-spacing: 1px; } .answer p:nth-child(1) { font-size: 18px; } .answer:nth-child(1) p:nth-child(2) { color: #6FBE62; font-size: 20px; font-weight: bold; } .answer:nth-child(2) p:nth-child(2) { color: red; font-size: 20px; font-weight: bold; }