home.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. body {
  2. /*background: #bdbdbd;*/
  3. }
  4. /*swiper*/
  5. /*.swiper-container {
  6. width: 100%;
  7. }
  8. .swiper-slide {
  9. text-align: center;
  10. font-size: 18px;
  11. background: #fff;
  12. !* Center slide text vertically *!
  13. display: -webkit-box;
  14. display: -ms-flexbox;
  15. display: -webkit-flex;
  16. display: flex;
  17. -webkit-box-pack: center;
  18. -ms-flex-pack: center;
  19. -webkit-justify-content: center;
  20. justify-content: center;
  21. -webkit-box-align: center;
  22. -ms-flex-align: center;
  23. -webkit-align-items: center;
  24. align-items: center;
  25. }
  26. .swiper-slide img {
  27. width: 100%;
  28. }
  29. .swiper-pagination-bullet-active {
  30. background-color: #516663 !important;
  31. }
  32. .swiper-pagination{
  33. bottom: 5px;
  34. width: 100%;
  35. height: 20px;
  36. background: aqua;
  37. }
  38. .swiper-pagination span{
  39. padding: 5px;
  40. background: #000000;
  41. margin:0 5px;
  42. }*/
  43. .swiper-container {
  44. width: 100%;
  45. color: #fff;
  46. text-align: center;
  47. }
  48. .swiper-slide {
  49. width: 100%;
  50. height: 100%;
  51. }
  52. .swiper-slide .title {
  53. font-style: italic;
  54. font-size: 42px;
  55. margin-top: 80px;
  56. margin-bottom: 0;
  57. line-height: 45px;
  58. }
  59. .swiper-slide img {
  60. width: 100%;
  61. }
  62. .pagination {
  63. position: absolute;
  64. z-index: 20;
  65. /*left: 10px;*/
  66. bottom: 0.15rem;
  67. width: 100%;
  68. text-align: center;
  69. }
  70. .swiper-pagination-switch {
  71. display: inline-block;
  72. width: 0.4rem;
  73. height: 0.4rem;
  74. border-radius: 10px;
  75. background: rgba(153, 153, 153, 0.5);
  76. box-shadow: 0px 1px 2px #555 inset;
  77. margin: 0 3px;
  78. cursor: pointer;
  79. }
  80. .swiper-visible-switch {
  81. background: #aaa;
  82. }
  83. .swiper-active-switch {
  84. background: #190f0d;
  85. box-shadow: 0px 1px 2px #555 inset;
  86. }
  87. /*swiper结束*/
  88. .content-header {
  89. width: 100%;
  90. height: 44px;
  91. }
  92. /*图标*/
  93. .home-content .home-remy {
  94. margin-top: 20px;
  95. margin-bottom: 0px;
  96. width: 100%;
  97. }
  98. .home-content .home-box {
  99. /*margin-top: 1.5rem;*/
  100. }
  101. .home-content .home-box .width-percent-50 {
  102. margin-top: 10px;
  103. -webkit-box-sizing: border-box;
  104. -moz-box-sizing: border-box;
  105. box-sizing: border-box;
  106. float: left;
  107. }
  108. .home-content .home-box .width-percent-50:nth-child(1),
  109. .home-content .home-box .width-percent-50:nth-child(3) {
  110. padding-left: 4%;
  111. padding-right: 2%;
  112. }
  113. .home-content .home-box .width-percent-50:nth-child(2),
  114. .home-content .home-box .width-percent-50:nth-child(4) {
  115. padding-right: 4%;
  116. padding-left: 2%;
  117. }
  118. .home-content .home-box .width-percent-50 img {
  119. width: 100%;
  120. }
  121. /*媒体查询开始*/
  122. @media (max-width: 320px) {
  123. .home-content .home-box {
  124. height: 320px;
  125. }
  126. }
  127. @media (min-width: 412px) {
  128. .home-content .home-box {
  129. height: 412px;
  130. }
  131. }
  132. @media (min-width: 414px) {
  133. .home-content .home-remy {
  134. margin-bottom: 30px;
  135. }
  136. }
  137. @media (min-width: 768px) {
  138. .home-content {
  139. }
  140. .home-content .home-remy {
  141. margin-top: 10px;
  142. margin-bottom: 0px;
  143. width: 100%;
  144. }
  145. .home-content .home-box {
  146. width: 100%;
  147. margin-top: 0rem;
  148. height: 36rem;
  149. }
  150. .home-content .home-box .width-percent-50 {
  151. margin-top: 1rem;
  152. -webkit-box-sizing: border-box;
  153. -moz-box-sizing: border-box;
  154. box-sizing: border-box;
  155. text-align: center;
  156. /*图片左右内边距*/
  157. /*图片上下外边距*/
  158. }
  159. .home-content .home-box .width-percent-50:nth-child(1),
  160. .home-content .home-box .width-percent-50:nth-child(3) {
  161. padding-left: 2rem;
  162. padding-right: 1rem;
  163. }
  164. .home-content .home-box .width-percent-50:nth-child(2),
  165. .home-content .home-box .width-percent-50:nth-child(4) {
  166. padding-left: 1rem;
  167. padding-right: 2rem;
  168. }
  169. .home-content .home-box .width-percent-50 img {
  170. width: 100%;
  171. }
  172. .prevent-scroll .width-percent-33 .title-container-square a .name {
  173. display: block;
  174. margin-top: 5px;
  175. font-size: 1.6rem;
  176. }
  177. }
  178. /*弹框*/
  179. .popup-box {
  180. /*background: #fff;*/
  181. position: fixed;
  182. top: 0;
  183. }
  184. .popup {
  185. position: fixed;
  186. top: 0;
  187. z-index: 5000;
  188. background: rgba(0, 0, 0, 0.3);
  189. }
  190. .popup-img {
  191. position: fixed;
  192. width: 75%;
  193. left: 12.5%;
  194. top: 5%;
  195. background: url("http://odulvej8l.bkt.clouddn.com/%E8%B7%B3%E8%BD%AC%E5%9B%BE.jpg");
  196. background-repeat: no-repeat;
  197. background-size: 100%;
  198. z-index: 6000;
  199. }
  200. .popup-close {
  201. position: fixed;
  202. right: 12.5%;
  203. top: 5%;
  204. width: 1rem;
  205. height: 1rem;
  206. line-height: 1.1rem;
  207. z-index: 7000;
  208. text-align: center;
  209. color: white;
  210. font-family: 'Helvetica', 'Arial', sans-serif;
  211. font-weight: lighter;
  212. }
  213. .nav-li-box{
  214. position: relative;
  215. width: 20px;
  216. height: 20px;
  217. border-radius: 50%;
  218. background: black;
  219. }
  220. .nav-li {
  221. cursor: pointer;
  222. display: block;
  223. position: absolute;
  224. width: 15px;
  225. height: 15px;
  226. border-radius: 50%;
  227. visibility: visible;
  228. }
  229. .nav-li hr {
  230. border: 1px solid #ffffff;
  231. width: 100%;
  232. margin: 7px 0;
  233. border-radius: 10%;
  234. }
  235. .rotatel{
  236. transform: rotate(-45deg);
  237. top: 3px;
  238. left: 2px;
  239. }
  240. .rotater{
  241. transform: rotate(45deg);
  242. top: 10px;
  243. }
  244. .navli-1 {
  245. transition: 500ms;
  246. position: absolute;
  247. }
  248. .navli-2 {
  249. transition: 500ms;
  250. top: 3px;
  251. position: absolute;
  252. left: 1px;
  253. }