teacherClassroom.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. page{
  2. background-color: #f6e5db;
  3. }
  4. @charset "UTF-8";
  5. /**
  6. * 这里是uni-app内置的常用样式变量
  7. *
  8. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  9. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  10. *
  11. */
  12. /**
  13. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  14. *
  15. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  16. */
  17. /* 颜色变量 */
  18. /* 行为相关颜色 */
  19. /* 文字基本颜色 */
  20. /* 背景颜色 */
  21. /* 边框颜色 */
  22. /* 尺寸变量 */
  23. /* 文字尺寸 */
  24. /* 图片尺寸 */
  25. /* Border Radius */
  26. /* 水平间距 */
  27. /* 垂直间距 */
  28. /* 透明度 */
  29. /* 文章场景相关 */
  30. .container .top.data-v-36d48cec {
  31. position: relative;
  32. z-index: 1;
  33. font-size: 78rpx;
  34. font-weight: 900;
  35. text-align: center;
  36. padding: 34rpx 0;
  37. /* 2. 双层渐变描边组合 */
  38. }
  39. .container .top .title.data-v-36d48cec {
  40. background: linear-gradient(to right, #333032, #5f3b32);
  41. -webkit-background-clip: text;
  42. background-clip: text;
  43. -webkit-text-fill-color: transparent;
  44. position: relative;
  45. z-index: 2;
  46. }
  47. .container .top .title-brown-group.data-v-36d48cec {
  48. position: relative;
  49. display: inline-block;
  50. line-height: 1;
  51. }
  52. .container .top .title-stroke.data-v-36d48cec {
  53. position: absolute;
  54. top: 0;
  55. left: 0;
  56. z-index: 1;
  57. color: #fff;
  58. -webkit-text-stroke: 4rpx #fff;
  59. text-shadow: 2rpx 2rpx 4rpx rgba(183, 94, 52, 0.5);
  60. }
  61. .container .top .title-fill.data-v-36d48cec {
  62. position: relative;
  63. z-index: 2;
  64. color: transparent;
  65. background: linear-gradient(to bottom, #c47243, #b0592a);
  66. -webkit-background-clip: text;
  67. background-clip: text;
  68. -webkit-text-fill-color: transparent;
  69. }
  70. .container .top .top-bg.data-v-36d48cec {
  71. position: absolute;
  72. top: 0;
  73. left: 0;
  74. width: 100%;
  75. z-index: 0;
  76. }
  77. .container .top .txt.data-v-36d48cec {
  78. font-style: italic;
  79. text-align: left;
  80. color: #fff;
  81. font-size: 36rpx;
  82. font-weight: 500;
  83. position: absolute;
  84. left: 8%;
  85. top: 172rpx;
  86. text-shadow: 0 0 1rpx #b0663c, 1rpx 1rpx 10rpx rgba(183, 0, 3, 0.3);
  87. }
  88. .container .container-body.data-v-36d48cec {
  89. margin-top: 250rpx;
  90. min-height: calc(100vh - 250rpx);
  91. padding: 50rpx 24rpx;
  92. display: flex;
  93. flex-direction: column;
  94. align-items: center;
  95. position: relative;
  96. z-index: 1;
  97. /* 下层:白描边 + 投影 */
  98. /* 上层:干净渐变填充 */
  99. }
  100. .container .container-body .bg.data-v-36d48cec {
  101. position: absolute;
  102. top: 0;
  103. left: 0;
  104. width: 100%;
  105. height: 100%;
  106. object-fit: cover;
  107. z-index: -1;
  108. }
  109. .container .container-body .title-wrap.data-v-36d48cec {
  110. position: relative;
  111. display: inline-block;
  112. font-size: 70rpx;
  113. font-weight: 900;
  114. line-height: 1;
  115. /* 防止上下空隙 */
  116. }
  117. .container .container-body .title-stroke.data-v-36d48cec {
  118. position: absolute;
  119. top: 0;
  120. left: 0;
  121. z-index: 1;
  122. color: #fff;
  123. /* 描边色 */
  124. -webkit-text-stroke: 2rpx #fff;
  125. text-shadow: 2rpx 2rpx 4rpx rgba(183, 94, 52, 0.5);
  126. }
  127. .container .container-body .title-fill.data-v-36d48cec {
  128. position: relative;
  129. z-index: 2;
  130. color: transparent;
  131. background: linear-gradient(to bottom, #c47243, #b0592a);
  132. -webkit-background-clip: text;
  133. background-clip: text;
  134. -webkit-text-fill-color: transparent;
  135. }
  136. .container .container-body .card-box.data-v-36d48cec {
  137. width: 100%;
  138. margin-top: 30rpx;
  139. }
  140. .container .container-body .card-box .bar.data-v-36d48cec {
  141. position: relative;
  142. }
  143. .container .container-body .card-box .bar image.data-v-36d48cec {
  144. position: absolute;
  145. width: 100%;
  146. height: 100%;
  147. z-index: -1;
  148. }
  149. .container .container-body .card-box .bar .tit.data-v-36d48cec {
  150. text-align: center;
  151. line-height: 90rpx;
  152. color: #fff;
  153. font-weight: 500;
  154. font-size: 36rpx;
  155. }
  156. .container .container-body .card-box .img-box.data-v-36d48cec {
  157. margin-top: -8rpx;
  158. padding: 24rpx;
  159. background-color: #fff;
  160. border-radius: 0 0 20rpx 20rpx;
  161. }
  162. .container .container-body .card-box .img-box .img.data-v-36d48cec {
  163. max-height: 380rpx;
  164. overflow: hidden;
  165. border-radius: 20rpx;
  166. }
  167. .container .container-body .card-box .img-box .img image.data-v-36d48cec {
  168. width: 100%;
  169. height: 100%;
  170. }