bigEvent.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. @import 'global.scss';
  2. .bigEvent{
  3. padding-top: 20px;
  4. @media(min-width:768px){
  5. padding-top: 45px;
  6. }
  7. @media(min-width:1200px){
  8. padding-top: 60px;
  9. }
  10. .list-title{
  11. line-height: 1.4;
  12. font-size: 24px;
  13. padding: 25px 0;
  14. @media(min-width:768px){
  15. padding: 50px 0;
  16. font-size: 36px;
  17. }
  18. @media(min-width:1200px){
  19. font-size: 46px;
  20. margin-bottom: 30px;
  21. }
  22. }
  23. }
  24. .time-line{
  25. .yaer-box{
  26. position: relative;
  27. padding-left: 25px;
  28. padding-bottom:20px;
  29. @media(min-width:768px){
  30. padding-left: 50px;
  31. padding-bottom: 50px;
  32. }
  33. &:before{
  34. content: '';
  35. position: absolute;
  36. left: 0;
  37. top: 0;
  38. z-index: 4;
  39. display: block;
  40. width: 20px;
  41. height: 24px;
  42. background: #fff url('/assets/image/time-line.png') no-repeat center;
  43. background-size: contain;
  44. }
  45. &:after{
  46. content: '';
  47. position: absolute;
  48. left: 9.5px;
  49. top: 0px;
  50. display: block;
  51. width: 1px;
  52. height: 100%;
  53. z-index: 1;
  54. background-color: #ff9b9b;
  55. }
  56. &~.yaer-box:before{
  57. width: 12px;
  58. height: 12px;
  59. border-radius: 50%;
  60. border:1px solid #ff9b9b;
  61. left: 4px;
  62. top: 9px;
  63. background:#fff;
  64. }
  65. }
  66. h3{
  67. font-size: 30px;
  68. line-height: 30px;
  69. padding-bottom: 30px;
  70. }
  71. ul{
  72. li{
  73. padding-left: 20px;
  74. padding-bottom: 30px;
  75. line-height: 30px;
  76. position: relative;
  77. font-size: 16px;
  78. @media(min-width:768px){
  79. padding-left: 30px;
  80. }
  81. &:before{
  82. content:'';
  83. position: absolute;
  84. width: 8px;
  85. height: 8px;
  86. border-radius: 50%;
  87. background-color: $color;
  88. left: 0;
  89. top: 11px;
  90. z-index: 5;
  91. }
  92. }
  93. span{
  94. color: #333;
  95. transition: all .5s ease;
  96. padding: 5px 0;
  97. cursor: text;
  98. @media(min-width:1920px){
  99. font-size: 16px;
  100. }
  101. @media(max-width:1920px){
  102. font-size: 15px;
  103. }
  104. @media(max-width:768px){
  105. font-size: 14px;
  106. }
  107. }
  108. }
  109. }
  110. .date-list{
  111. width: 100px;
  112. position: fixed;
  113. padding-top: 70px;
  114. a{
  115. display: block;
  116. height: 50px;
  117. line-height: 50px;
  118. text-align: center;
  119. color: $color;
  120. transition: all 0.5s ease;
  121. &.cur{
  122. background-color: $color;
  123. color:#fff;
  124. }
  125. }
  126. }
  127. @media(max-width:768px){
  128. .date-list-box{
  129. display: none;
  130. }
  131. }