page.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. article.index {
  2. max-width: 750px;
  3. margin: 0 auto;
  4. }
  5. article.index .banner {
  6. position: relative;
  7. }
  8. article.index .banner .banner_pic {
  9. width: 100%;
  10. }
  11. article.index .banner .link {
  12. position: absolute;
  13. bottom: 0;
  14. width: 16rem;
  15. margin-left: -8rem;
  16. left: 50%;
  17. height: 8.5rem;
  18. background: url("../images/link.png") no-repeat center;
  19. background-size: 100% 100%;
  20. display: flex;
  21. flex-direction: column;
  22. justify-content: center;
  23. align-items: center;
  24. color: #850f11;
  25. }
  26. article.index .banner .link > h4 {
  27. font-size: 1rem;
  28. font-weight: bold;
  29. }
  30. article.index .banner .link p {
  31. font-size: .75rem;
  32. font-weight: bold;
  33. margin: .1rem 0 .3rem 0;
  34. }
  35. article.index .banner .link a {
  36. display: inline-block;
  37. text-align: center;
  38. width: 7rem;
  39. height: 1.875rem;
  40. color: #fff799;
  41. border: none;
  42. line-height: 1.875rem;
  43. background: linear-gradient(to bottom, #c01e1e, #db3333, #a70909);
  44. border-radius: .4rem;
  45. font-weight: 600;
  46. font-size: .875rem;
  47. }
  48. article.index .content {
  49. background: url("../images/bg.jpg") no-repeat top;
  50. padding-bottom: 2rem;
  51. background-size: cover;
  52. }
  53. article.index .content .title {
  54. position: relative;
  55. text-align: center;
  56. letter-spacing: 2px;
  57. }
  58. article.index .content .title > span {
  59. display: inline-block;
  60. text-align: center;
  61. padding: 0 .3rem;
  62. height: 1.8rem;
  63. line-height: 1.8rem;
  64. color: #fff;
  65. background: #a91110;
  66. position: relative;
  67. z-index: 2;
  68. }
  69. article.index .content .title .line {
  70. position: absolute;
  71. height: 1px;
  72. background: #ea9594;
  73. width: 100%;
  74. top: 0.9rem;
  75. z-index: 1;
  76. }
  77. article.index .list {
  78. padding: 0 1.125rem;
  79. margin-top: .5rem;
  80. }
  81. article.index .list h4 {
  82. padding-left: .625rem;
  83. color: #fff;
  84. font-weight: bold;
  85. margin-bottom: .3rem;
  86. font-size: .95rem;
  87. position: relative;
  88. }
  89. article.index .list h4::after {
  90. content: "";
  91. width: 1px;
  92. height: 1rem;
  93. background: #fff;
  94. top: 2px;
  95. left: 0;
  96. position: absolute;
  97. }
  98. article.index .list ul {
  99. margin-left: .625rem;
  100. }
  101. article.index .list ul li {
  102. font-size: .875rem;
  103. color: #e4dada;
  104. line-height: 1.5;
  105. text-align: justify;
  106. }