2
0

style.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. #course_frame {
  2. display: flex;
  3. }
  4. #course_content {
  5. margin: 0;
  6. padding: 0;
  7. }
  8. #course_info_head_1 {
  9. display: flex;
  10. }
  11. #course_info_head_face img {
  12. width: 100%;
  13. border-radius: 12px;
  14. }
  15. .section_inner {
  16. max-width: 960px;
  17. margin: 0 auto;
  18. }
  19. #course_info_head_title {
  20. padding: 12px 0;
  21. }
  22. #course_title {
  23. font-size: 22px;
  24. font-weight: 700;
  25. }
  26. #course_subtitle {
  27. font-size: 13px;
  28. font-weight: 600;
  29. padding: 10px 0;
  30. }
  31. #lesson_list_shell {
  32. padding: 2rem 1rem;
  33. background-color: #f5f5f5;
  34. }
  35. .course_info_block {
  36. padding: 1rem 0;
  37. }
  38. .course_info_block h2 {
  39. font-size: 16px;
  40. }
  41. .course_info_block p {
  42. white-space: pre-wrap;
  43. }
  44. #lesson_list .lesson_card {
  45. width: 50%;
  46. padding: 15px;
  47. }
  48. .datatime {
  49. display: inline;
  50. padding: 1px 4px;
  51. }
  52. .not_started {
  53. background-color: orangered;
  54. color: var(--bg-color);
  55. }
  56. .in_progress,
  57. .already_over {
  58. color: var(--btn-hover-bg-color);
  59. }
  60. .lesson_card .title {
  61. padding: 5px;
  62. font-size: 17px;
  63. font-weight: 600;
  64. }
  65. .curr_lesson {
  66. border-left: 2px solid var(--tool-bt-bg-color1);
  67. }
  68. .curr_lesson a {
  69. color: var(--main-color);
  70. }
  71. .not_curr_lesson {
  72. border-left: 2px solid var(--border-line-color);
  73. color: gray;
  74. }
  75. .not_curr_lesson a {
  76. color: gray;
  77. }
  78. #lesson_info_head_2 {
  79. padding: 1rem 0;
  80. border-top: 1px solid var(--border-line-color);
  81. border-bottom: 1px solid var(--border-line-color);
  82. }
  83. .disable {
  84. cursor: not-allowed;
  85. opacity: 0.5;
  86. }
  87. .padding_2_1rem {
  88. padding: 2rem 1rem;
  89. }
  90. #main_video_win iframe {
  91. width: 100%;
  92. height: 100%;
  93. }
  94. #course_frame {
  95. display: flex;
  96. }
  97. #course_content {
  98. margin: 0;
  99. padding: 0;
  100. }
  101. #course_info_head_1 {
  102. display: grid;
  103. grid-template-columns: 200px 1fr;
  104. grid-gap: 20px;
  105. }
  106. #course_info_head_face img {
  107. width: 200px;
  108. height: 200px;
  109. border-radius: 12px;
  110. object-fit: cover;
  111. }
  112. .section_inner {
  113. max-width: 960px;
  114. margin: 0 auto;
  115. }
  116. #course_info_head_title {
  117. display: flex;
  118. flex-direction: column;
  119. word-wrap: break-word;
  120. }
  121. #course_title {
  122. font-size: 22px;
  123. font-weight: 700;
  124. }
  125. #course_subtitle {
  126. font-size: 13px;
  127. padding: 10px 0;
  128. word-wrap: break-word;
  129. }
  130. #course_button {
  131. margin-top: auto;
  132. }
  133. #lesson_list_shell {
  134. padding: 2rem 1rem;
  135. background-color: #f5f5f5;
  136. }
  137. .course_info_block {
  138. padding: 1rem 0;
  139. }
  140. #course_info_summary {
  141. border-top: 1px solid var(--border-line-color);
  142. border-bottom: 1px solid var(--border-line-color);
  143. }
  144. .course_info_block h2 {
  145. font-size: 16px;
  146. }
  147. #lesson_list {
  148. column-count: 2;
  149. position: relative;
  150. }
  151. #lesson_list .lesson_card {
  152. padding: 10px 10px 10px 0;
  153. -webkit-column-break-inside: avoid;
  154. page-break-inside: avoid;
  155. break-inside: avoid;
  156. }
  157. .datatime {
  158. display: inline;
  159. }
  160. .not_started {
  161. background-color: orangered;
  162. color: var(--bg-color);
  163. }
  164. .in_progress,
  165. .already_over {
  166. color: var(--btn-hover-bg-color);
  167. }
  168. .lesson_card .title {
  169. margin-top: 5px;
  170. font-size: 17px;
  171. font-weight: 600;
  172. display: -webkit-box;
  173. -webkit-box-orient: vertical;
  174. overflow: hidden;
  175. text-overflow: ellipsis;
  176. width: 100%;
  177. -webkit-line-clamp: 2;
  178. }
  179. #course_info_head_2 {
  180. margin: 1rem 0;
  181. }