teacherClassroom.wxss 4.4 KB

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