1+ /* === CSS CHO TRANG LISTENING PART 1 === */
2+
3+ .listening-question .question-title {
4+ font-weight : 500 ;
5+ margin-bottom : 20px ;
6+ }
7+
8+ .options-container {
9+ display : flex;
10+ flex-direction : column;
11+ gap : 10px ;
12+ }
13+
14+ .radio-label {
15+ display : block;
16+ padding : 15px ;
17+ border : 1px solid # ddd ;
18+ border-radius : 8px ;
19+ cursor : pointer;
20+ transition : all 0.2s ease-in-out;
21+ }
22+
23+ .radio-label : hover {
24+ background-color : # f8f9fa ;
25+ border-color : # 007bff ;
26+ }
27+
28+ .radio-label input [type = "radio" ] {
29+ margin-right : 10px ;
30+ }
31+
32+ /* Style cho trạng thái Đúng/Sai */
33+ .quiz-card .correct {
34+ border-left : 5px solid # 28a745 ;
35+ background-color : # e6ffed ;
36+ }
37+
38+ .quiz-card .incorrect {
39+ border-left : 5px solid # dc3545 ;
40+ background-color : # ffe6e6 ;
41+ }
42+
43+ .feedback-answer {
44+ margin-top : 15px ;
45+ font-weight : 500 ;
46+ }
47+
48+ .quiz-card .correct .feedback-answer {
49+ color : # 28a745 ;
50+ }
51+
52+ .quiz-card .incorrect .feedback-answer {
53+ color : # dc3545 ;
54+ }
55+
56+ /* === STYLE MỚI CHO PHÂN TRANG (DÙNG CSS GRID) === */
57+ .pagination-controls {
58+ display : grid;
59+ /* Desktop: 10 cột bằng nhau */
60+ grid-template-columns : repeat (15 , 1fr );
61+ gap : 8px ;
62+ margin : 30px 0 ;
63+ }
64+
65+ .pagination-controls button {
66+ /* Làm cho nút có kích thước đồng đều và vuông vắn */
67+ width : 100% ;
68+ aspect-ratio : 1 / 1 ;
69+ /* Giữ tỷ lệ 1:1 (vuông) */
70+ padding : 0 ;
71+ /* Bỏ padding để nút lấp đầy ô grid */
72+
73+ /* Căn giữa số bên trong nút */
74+ display : flex;
75+ align-items : center;
76+ justify-content : center;
77+
78+ /* Style cơ bản */
79+ background-color : # fff ;
80+ border : 1px solid # ccc ;
81+ color : # 333 ;
82+ border-radius : 5px ;
83+ cursor : pointer;
84+ font-size : 1em ;
85+ font-weight : 500 ;
86+ }
87+
88+ .pagination-controls button .active {
89+ background-color : # 007bff ;
90+ color : # fff ;
91+ border-color : # 007bff ;
92+ }
93+
94+ /* Responsive: Áp dụng cho màn hình nhỏ hơn 768px (máy tính bảng và điện thoại) */
95+ @media (max-width : 768px ) {
96+ .pagination-controls {
97+ /* Mobile: 5 cột bằng nhau */
98+ grid-template-columns : repeat (7 , 1fr );
99+ }
100+ }
101+
102+ .audio-player {
103+ width : 100% ;
104+ margin-bottom : 20px ;
105+
106+ /* === ĐÂY LÀ DÒNG ĐỂ ẨN AUDIO === */
107+ display : none;
108+ }
109+
110+ /* === CSS MỚI CHO HỘP GIẢI THÍCH === */
111+
112+ .resource-links {
113+ display : flex;
114+ justify-content : center;
115+ gap : 15px ;
116+ margin : 25px 0 ;
117+ }
118+
119+ .resource-links .action-btn {
120+ text-decoration : none;
121+ }
122+
123+ .explanation-box h4 {
124+ margin-top : 20px ;
125+ text-align : center;
126+ }
127+
128+ .explanation-box .custom-ol {
129+ max-width : 650px ;
130+ /* Giới hạn chiều rộng để dễ đọc */
131+ margin : 15px auto 0 ;
132+ /* Căn giữa block */
133+ padding-left : 20px ;
134+ text-align : left;
135+ /* Căn trái nội dung text */
136+ }
137+
138+ .explanation-box .custom-ol li {
139+ margin-bottom : 10px ;
140+ line-height : 1.6 ;
141+ }
0 commit comments