section5.vue 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <template>
  2. <div class="section unit">
  3. <div class="box">
  4. <div class="unit-num">第一单元</div>
  5. <div class="unit-title">万年</div>
  6. <div class="unit-intro">
  7. <p>
  8. 遥远的洪荒时代,自然的力量巨大而神秘,华夏先民笃信万物皆有灵。在生存探索中,他们发现坚韧而温润的玉不仅是工具,更是可与天地对话的灵物。
  9. </p>
  10. <p>
  11. 在东北乌苏里江畔的小南山,燃起了华夏大地成熟用玉的星火。由此,玉器承载起中华民族对美的追求、对信仰的寄托,这是中华民族万年用玉的文明曙光。
  12. </p>
  13. </div>
  14. </div>
  15. </div>
  16. </template>
  17. <script setup></script>
  18. <style lang="scss" scoped>
  19. @import "/src/assets/style/index.css";
  20. .section {
  21. position: relative;
  22. position: relative;
  23. -webkit-box-sizing: border-box;
  24. -moz-box-sizing: border-box;
  25. box-sizing: border-box;
  26. background: no-repeat center/cover;
  27. justify-content: flex-start;
  28. }
  29. .unit {
  30. background-image: url(/img/chapterunit/unit-bg.webp);
  31. }
  32. .unit .box {
  33. padding-top: 15vh;
  34. margin: 0 var(--wall-margin-left3);
  35. display: -webkit-box;
  36. display: -ms-flexbox;
  37. display: flex;
  38. -webkit-box-orient: vertical;
  39. -webkit-box-direction: normal;
  40. -ms-flex-flow: column;
  41. flex-flow: column;
  42. -webkit-box-pack: center;
  43. -ms-flex-pack: center;
  44. justify-content: center;
  45. -webkit-box-align: center;
  46. -ms-flex-align: center;
  47. align-items: center;
  48. }
  49. .unit-num {
  50. color: #d09d68;
  51. padding: 0.5rem 1.5rem;
  52. border: 1px solid #d09d68;
  53. font-size: 1.125rem;
  54. margin-bottom: 2rem;
  55. }
  56. .unit-title {
  57. color: #d09d68;
  58. font-family: "syst-bold";
  59. font-size: 3rem;
  60. }
  61. .unit-intro {
  62. font-size: 1.5rem;
  63. line-height: 1.7;
  64. padding-top: 11vh;
  65. }
  66. .unit-intro p {
  67. text-indent: 2em;
  68. margin-bottom: 1.5rem;
  69. }
  70. </style>