notice.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. @import url('./common.css');
  2. main {
  3. width: 100%;
  4. margin-top: 110px;
  5. margin-bottom: 90px;
  6. }
  7. .top_banner {
  8. width: 100%;
  9. height: 500px;
  10. background: url('https://cookhome-images-1.oss-cn-hangzhou.aliyuncs.com/guangwangindex/123/notice_banner.png') no-repeat center;
  11. background-size: cover;
  12. position: relative;
  13. }
  14. .top_banner .info {
  15. position: absolute;
  16. left: 330px;
  17. top: 150px;
  18. font-size: 24px;
  19. color: #fff;
  20. }
  21. .top_banner .info .name {
  22. font-size: 50px;
  23. margin-bottom: 65px;
  24. }
  25. .top_banner .info .name::after {
  26. content: '';
  27. width: 50px;
  28. height: 5px;
  29. background-color: #fff;
  30. position: absolute;
  31. top: 92px;
  32. left: 0;
  33. }
  34. main .crumb {
  35. color: #666666;
  36. margin-top: 32px;
  37. }
  38. main .title {
  39. font-size: 40px;
  40. text-align: center;
  41. margin-top: 48px;
  42. font-weight: 500;
  43. }
  44. main .sub_title {
  45. font-size: 14px;
  46. color: #AAAAAA;
  47. text-align: center;
  48. margin: 3px 0 8px;
  49. }
  50. main .notice_info .single {
  51. width: calc((100% - 96px) / 4);
  52. margin-right: 32px;
  53. text-align: center;
  54. margin-top: 32px;
  55. box-shadow: 0px 0px 26px 1px rgba(0, 0, 0, 0.1000);
  56. }
  57. main .notice_info .single:nth-child(4n) {
  58. margin-right: 0;
  59. }
  60. main .single img {
  61. width: 100%;
  62. height: 167px;
  63. object-fit: cover;
  64. }
  65. main .single .title {
  66. font-size: 20px;
  67. margin: 16px 0;
  68. padding: 0 16px;
  69. }
  70. main .single .sub_title {
  71. padding: 0 16px;
  72. text-align: left;
  73. height: 36px;
  74. }
  75. main .single .look {
  76. width: 100%;
  77. height: 46px;
  78. margin-top: 26px;
  79. }
  80. main .single .look p {
  81. display: none;
  82. width: 100%;
  83. height: 46px;
  84. background-color: #D4AA68;
  85. text-align: center;
  86. line-height: 46px;
  87. color: #fff;
  88. cursor: pointer;
  89. }
  90. main .lookMore {
  91. text-align: center;
  92. margin-top: 40px;
  93. display: none;
  94. }
  95. main .lookMore button {
  96. width: 120px;
  97. height: 40px;
  98. line-height: 40px;
  99. text-align: center;
  100. margin: 0 auto;
  101. background-color: #fff;
  102. border: 1px solid #909297;
  103. cursor: pointer;
  104. font-size: 16px;
  105. }
  106. @media (min-width: 1366px) {
  107. main .single img {
  108. height: 115px;
  109. }
  110. }
  111. @media (min-width: 1440px) {
  112. main .single img {
  113. height: 122px;
  114. }
  115. }
  116. @media (min-width: 1600px) {
  117. main .single img {
  118. height: 137px;
  119. }
  120. }
  121. @media (min-width: 1680px) {
  122. main .single img {
  123. height: 144px;
  124. }
  125. }
  126. @media (min-width: 1920px) {
  127. main .single img {
  128. height: 167px;
  129. }
  130. }