public.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. *{
  2. margin: 0;
  3. padding: 0;
  4. }
  5. .noScroll::-webkit-scrollbar {
  6. display: none; /* Chrome Safari */
  7. }
  8. .noScroll {
  9. scrollbar-width: none; /* firefox */
  10. -ms-overflow-style: none; /* IE 10+ */
  11. }
  12. .header{
  13. /*width: 100%;*/
  14. /*height: 110px;*/
  15. position: fixed;
  16. top: 0;
  17. left: 0;
  18. z-index: 999;
  19. /*mix-blend-mode: difference;*/
  20. background-color: #ffffffad;
  21. }
  22. .content{
  23. width: 100%;
  24. position: relative;
  25. /*top: 110px;*/
  26. }
  27. .conBox{
  28. width: 1320px;
  29. margin: 0 auto;
  30. }
  31. .dropMap{
  32. position: absolute;
  33. top: 100%;
  34. background-color: #fff;
  35. box-shadow: 1px 0 4px #c2bfbf;
  36. color: black;
  37. }
  38. .drop-default{
  39. width: 740px;
  40. height: 340px;
  41. display: flex;
  42. }
  43. .drop-default .drop-menus{
  44. width: 250px;
  45. height: 100%;
  46. /*border-right: 1px solid darkgray;*/
  47. padding: 5px;
  48. box-sizing: border-box;
  49. box-shadow: 1px 0 1px gray;
  50. }
  51. .drop-default .drop-menus .menu{
  52. width: 100%;
  53. height: 50px;
  54. display: flex;
  55. align-items: center;
  56. padding: 0 5px;
  57. font-size: 1.1em;
  58. cursor: default;
  59. }
  60. .drop-default .drop-menus .now {
  61. background-color: #b9b7b7;
  62. color: white;
  63. }
  64. .drop-default .drop-view{
  65. width: 540px;
  66. box-sizing: border-box;
  67. padding: 5px;
  68. overflow: auto;
  69. cursor: default;
  70. }
  71. .drop-default .drop-view .sub-item{
  72. width: 100%;
  73. height: 110px;
  74. display: flex;
  75. align-items: center;
  76. }
  77. .drop-default .drop-view .now-sub{
  78. background-color: #f3f3f3;
  79. }
  80. .drop-default .drop-view .sub-item .con{
  81. width: 100%;
  82. height: 90px;
  83. display: flex;
  84. }
  85. .drop-default .drop-view .sub-item .img-box{
  86. display: flex;
  87. justify-content: center;
  88. align-items: center;
  89. width: 90px;
  90. height: 90px;
  91. box-sizing: border-box;
  92. padding: 5px;
  93. border-radius: 3px;
  94. box-shadow: 1px 1px 3px beige;
  95. flex-shrink: 0;
  96. }
  97. .img-box img{
  98. display: block;
  99. max-width: 100%;
  100. max-height: 100%;
  101. }
  102. .drop-default .drop-view .sub-item .text-box{
  103. width: 420px;
  104. }
  105. .drop-default .drop-view .sub-item .text-box .name{
  106. }
  107. .drop-default .drop-view .sub-item .text-box .remark{
  108. font-size: 0.9em;
  109. color: gray;
  110. /* 多行文本*/
  111. overflow: hidden;
  112. text-overflow: ellipsis;
  113. display: -webkit-box;
  114. line-clamp: 3;
  115. -webkit-line-clamp: 3;
  116. -webkit-box-orient: vertical;
  117. /* 首行缩进*/
  118. text-indent: 2em;
  119. }
  120. .blurImg{
  121. width: 100%;
  122. height: 100%;
  123. display: block;
  124. z-index: 1;
  125. position: absolute;
  126. left: 0;
  127. top: 0;
  128. }
  129. .blur{
  130. -webkit-filter: blur(5px); /* Chrome, Opera */
  131. -moz-filter: blur(5px);
  132. -ms-filter: blur(5px);
  133. filter: blur(5px);
  134. }
  135. .footer{
  136. box-shadow: 1px 1px 3px black;
  137. margin-top: 20px;
  138. }
  139. .footer-list{
  140. display: flex;
  141. padding: 15px 5px;
  142. justify-content: space-between;
  143. flex-wrap: wrap;
  144. }
  145. @media screen and (min-width: 1024px) {
  146. .footer-list{
  147. padding: 15px 0;
  148. }
  149. }
  150. .footer-list .footerItem{
  151. /*width: calc(1320px / 5);*/
  152. }
  153. .footer-list .footerItem .title{
  154. font-size: 1.4em;
  155. color: black;
  156. padding-top: 10px;
  157. padding-bottom: 20px;
  158. }
  159. .footer-list .footerItem .footer-list-item{
  160. display: block;
  161. height: 35px;
  162. }
  163. .footer-list .footerItem .footer-list-item:hover{
  164. color: #1e45e7;
  165. }
  166. .big-title{
  167. display: flex;
  168. justify-content: center;
  169. align-items: center;
  170. letter-spacing: 0.5rem;
  171. position: relative;
  172. cursor: default;
  173. }
  174. .big-title .hr{
  175. width: 80px;
  176. height: 4px;
  177. background-color: orangered;
  178. position: absolute;
  179. bottom: 5px;
  180. }
  181. /**
  182. 图片框,可以加上动态效果
  183. */
  184. .imgBox{
  185. display: block;
  186. position: relative;
  187. overflow: hidden;
  188. }
  189. .imgBox > img{
  190. display: block;
  191. position: absolute;
  192. left: 0;
  193. top: 0;
  194. width: 100%;
  195. height: 100%;
  196. transition: all .5s;
  197. }
  198. .mark{
  199. color: #343434;
  200. font-weight: bold;
  201. }
  202. .mark-gold{
  203. color: #f0ad4e;
  204. font-weight: bold;
  205. }
  206. .mark-gold:hover{
  207. color: #f0ad4e;
  208. font-weight: bold;
  209. text-decoration: underline;
  210. }
  211. .text-b{
  212. font-weight: bold;
  213. margin: 0 10px;
  214. }
  215. .text-m{
  216. margin-left: 20px;
  217. }
  218. .noScroll::-webkit-scrollbar {
  219. display: none; /* Chrome Safari */
  220. }
  221. .noScroll {
  222. scrollbar-width: none; /* firefox */
  223. -ms-overflow-style: none; /* IE 10+ */
  224. }
  225. /*css 变量,根据媒体查询得出 */
  226. :root {
  227. --primary-color: #3f51b5;
  228. }