section2.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <template>
  2. <div class="section section2">
  3. <ul>
  4. <li class="fadeInUp">
  5. <h3>
  6. “玉,石之美有五德:润泽以温,仁之方也;䚡理自外,可以知中,义之方也;其声舒扬,专以远闻,智之方也;不挠而折,勇之方也;锐廉而不忮,洁之方也。”
  7. </h3>
  8. <p>——汉 许慎《说文解字》</p>
  9. </li>
  10. <li class="fadeInUp">
  11. <h3>
  12. “在全世界文化体系里,唯有华夏文明有尊玉爱玉的传统,且8000多年未曾中断。其中不仅有深厚的华夏文化背景,更隐喻着中国文化发展的客观规律,研究和推广玉文化,是关系到中华民族生死存亡的大事。”
  13. </h3>
  14. <p>——费孝通</p>
  15. </li>
  16. </ul>
  17. </div>
  18. </template>
  19. <script setup></script>
  20. <style lang="scss" scoped>
  21. @import "/src/assets/style/section2.css";
  22. .section {
  23. position: relative;
  24. }
  25. .section2 {
  26. display: flex;
  27. flex-flow: column;
  28. align-items: center;
  29. line-height: 2;
  30. color: #997946;
  31. justify-content: center;
  32. background: url(/img/section2/bg.webp) no-repeat center/cover;
  33. -webkit-box-pack: center;
  34. -ms-flex-pack: center;
  35. -webkit-box-align: center;
  36. -ms-flex-align: center;
  37. ul {
  38. li {
  39. list-style-type: none;
  40. position: relative;
  41. &:first-child:after {
  42. content: "";
  43. position: absolute;
  44. width: 100%;
  45. height: 2px;
  46. bottom: 0;
  47. left: 0;
  48. background: url(/img/section2/line.webp) no-repeat center/contain;
  49. }
  50. h3 {
  51. font-size: 1.5rem;
  52. padding: 0 var(--wall-margin-left3);
  53. padding-top: 5.875rem;
  54. }
  55. p {
  56. text-align: right;
  57. font-size: 1.5rem;
  58. padding: 0 var(--wall-margin-left3);
  59. padding-bottom: 5.875rem;
  60. }
  61. }
  62. }
  63. }
  64. </style>