style.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. @charset "utf-8";
  2. @import url(../../admin/lib/layui/css/layui.css);
  3. * {
  4. margin: 0;
  5. padding: 0;
  6. box-sizing: border-box;
  7. font: 14px/28px "微软雅黑";
  8. }
  9. a {
  10. text-decoration: none;
  11. }
  12. ul {
  13. list-style: none;
  14. }
  15. @font-face {
  16. font-family: icon;
  17. src: url("../font/iconfont.eot") format("embedded-opentype"), url("../font/iconfont.svg") format("woff"),
  18. url("../font/iconfont.ttf") format("truetype"), url("../font/iconfont.woff") format("truetype");
  19. }
  20. .icon {
  21. font-family: icon;
  22. }
  23. .pagination > li > a,
  24. .pagination > li > span {
  25. border-radius: 4px;
  26. margin: 0 5px;
  27. }
  28. .pagination > .active > a {
  29. background: #1890ff;
  30. border-color: #1890ff;
  31. }
  32. .input-group-addon {
  33. background: none;
  34. }
  35. /*nav*/
  36. .nav a,
  37. .indexSearch p a,
  38. .tag {
  39. line-height: 60px;
  40. color: #b8b8b5;
  41. padding: 0 5px;
  42. }
  43. .index .nav a:first-child,
  44. .class .nav a:nth-child(2),
  45. .hot .nav a:nth-child(3),
  46. .new .nav a:nth-child(4),
  47. .tagl .nav a:nth-child(5),
  48. .downloading .nav a:nth-child(6) {
  49. display: none;
  50. }
  51. /*page*/
  52. .page {
  53. text-align: center;
  54. margin-top: 30px;
  55. }
  56. .page .page {
  57. display: inline-block;
  58. }
  59. .page span {
  60. line-height: 76px;
  61. margin-right: 20px;
  62. }
  63. /*slideR*/
  64. .slideR {
  65. padding: 0 20px;
  66. }
  67. .slideR a {
  68. margin-right: 20px;
  69. border-bottom: 1px solid #2727d2;
  70. color: #2727d2;
  71. }
  72. .slideR p {
  73. margin: 0;
  74. }
  75. .navbar-default {
  76. background: transparent;
  77. }
  78. /*首页*/
  79. .indexBackground {
  80. background: url("../img/indexBackground.jpg") no-repeat center fixed;/*center/cover fixed;*/
  81. background: #000;
  82. }
  83. .indexSearch {
  84. position: relative;
  85. top: 200px;
  86. }
  87. .indexSearch h1 {
  88. text-align: center;
  89. margin-bottom: 50px;
  90. font-weight: 700;
  91. }
  92. .indexShow {
  93. margin-bottom: 50px;
  94. }
  95. .indexSearch button,
  96. .indexShow .search button {
  97. background: #1890ff;
  98. border-color: #1890ff;
  99. color: #fff;
  100. }
  101. .indexSearch p {
  102. color: #b8b8b5;
  103. overflow: hidden;
  104. text-overflow: ellipsis;
  105. white-space: nowrap;
  106. }
  107. .navTitle {
  108. border-bottom: 1px solid #ddd;
  109. }
  110. .navTitle h2 {
  111. line-height: 60px;
  112. margin: 0;
  113. font-size: 20px;
  114. font-weight: 600;
  115. color: #000;
  116. }
  117. .navTitle h3 {
  118. line-height: 60px;
  119. margin: 0;
  120. font-size: 18px;
  121. margin-left: 50px;
  122. }
  123. .navTitle h2 img {
  124. margin-right: 10px;
  125. }
  126. .indexShow .search {
  127. margin: 15px 0;
  128. }
  129. .indexShow ul li {
  130. position: relative;
  131. padding: 15px 0;
  132. border-bottom: 1px solid #ddd;
  133. height: 160px;
  134. }
  135. .indexShow ul li a {
  136. color: #5a5a5a;
  137. }
  138. .indexShow ul li .title h3 {
  139. margin: 0;
  140. color: #2727fc;
  141. margin-right: 20px;
  142. margin-bottom: 10px;
  143. }
  144. .indexShow ul li .content .p-img {
  145. width: auto;
  146. }
  147. .indexShow ul li .content .p-img img {
  148. width: 160px;
  149. margin-right: 20px;
  150. }
  151. .indexShow ul li .content .p-con .star span.cur {
  152. color: #f38104;
  153. }
  154. .indexShow ul li .content .p-con .list p {
  155. margin: 10px;
  156. margin-top: 0;
  157. }
  158. .indexShow ul li .content .p-con .list {
  159. position: absolute;
  160. bottom: 0;
  161. right: 0;
  162. }
  163. .indexShow ul li .content .p-con .font {
  164. position: relative;
  165. margin: 0;
  166. height: 56px;
  167. overflow: hidden;
  168. }
  169. .indexShow ul li .content .p-con .font:after {
  170. content: "...";
  171. font-weight: bold;
  172. position: absolute;
  173. bottom: 0;
  174. right: 0;
  175. padding: 0 20px 1px 45px;
  176. /* background: url(http://newimg88.b0.upaiyun.com/newimg88/2014/09/ellipsis_bg.png) repeat-y; */
  177. }
  178. .indexShow ul li .content .p-con .list p {
  179. margin: 10px;
  180. margin-top: 0;
  181. }
  182. .indexShow .about h3 {
  183. font-size: 20px;
  184. }
  185. .indexShow .about p a {
  186. color: #2727d2;
  187. border-bottom: 1px solid #2727d2;
  188. margin-right: 20px;
  189. }
  190. .col-md-2,
  191. .col-md-10,
  192. .col-md-1,
  193. .col-md-12,
  194. .col-md-8 {
  195. padding: 0;
  196. }
  197. /*分类搜索*/
  198. .classifiedSearch {
  199. margin-bottom: 10px;
  200. }
  201. .classifiedSearch .p-item {
  202. margin: 10px auto;
  203. line-height: 54px;
  204. padding: 0;
  205. }
  206. .classifiedSearch .item .col-md-1 {
  207. line-height: 54px;
  208. }
  209. .classifiedSearch .item .p-item .form-control {
  210. position: relative;
  211. padding-right: 25px;
  212. }
  213. .classifiedSearch .item .p-item .form-control .iconR {
  214. position: absolute;
  215. right: 5px;
  216. bottom: 0;
  217. }
  218. .classifiedSearch .item .p-item .form-control .controlFont {
  219. border: 1px solid #ccc;
  220. border-radius: 4px;
  221. float: left;
  222. margin-top: -5px;
  223. margin-right: 10px;
  224. padding: 0 5px;
  225. }
  226. .classifiedSearch .item .p-item .form-control .controlFont .icon {
  227. display: inline-block;
  228. margin-left: 5px;
  229. font-size: 12px;
  230. cursor: pointer;
  231. }
  232. .classifiedSearch .item .p-item .form-control .iconR.cur {
  233. -webkit-transform: rotate(180deg);
  234. -moz-transform: rotate(180deg);
  235. -ms-transform: rotate(180deg);
  236. -o-transform: rotate(180deg);
  237. transform: rotate(180deg);
  238. -webkit-transition: 0.5s;
  239. -moz-transition: 0.5s;
  240. -ms-transition: 0.5s;
  241. -o-transition: 0.5s;
  242. transition: 0.5s;
  243. }
  244. .classifiedSearch .item .p-item .select {
  245. margin: 0;
  246. border: 1px solid #ccc;
  247. border-radius: 4px;
  248. padding: 15px;
  249. display: none;
  250. }
  251. .classifiedSearch .item .p-item .select.cur {
  252. display: block;
  253. }
  254. .classifiedSearch .item .p-item .select span {
  255. cursor: pointer;
  256. }
  257. .classifiedSearch .item .p-item .select span:hover {
  258. color: #000;
  259. }
  260. /*tag*/
  261. .tag .input-group {
  262. margin: 30px auto;
  263. }
  264. .tag a {
  265. padding: 0 5px;
  266. color: #5a5a5a;
  267. }
  268. #myCarousel a {
  269. display: block;
  270. }
  271. .carousel-control {
  272. background: #fff;
  273. font-size: 50px;
  274. top: 50%;
  275. margin-top: -25px;
  276. color: #d3d3d3;
  277. }
  278. .carousel-control.right {
  279. right: -15%;
  280. left: auto;
  281. background: #fff;
  282. }
  283. .carousel-control.left {
  284. right: auto;
  285. left: -15%;
  286. background: #fff;
  287. }
  288. .showPicture h2 {
  289. font-size: 24px;
  290. line-height: 48px;
  291. text-align: center;
  292. }
  293. .showPicture .list {
  294. text-align: center;
  295. margin-bottom: 15px;
  296. }
  297. .showPicture .list a {
  298. margin: 0 10px;
  299. color: #5a5a5a;
  300. }
  301. video {
  302. width: 100%;
  303. }
  304. .dataDownloading.indexShow ul li {
  305. height: auto;
  306. }
  307. .dataDownloading p {
  308. margin-bottom: 0;
  309. }
  310. .dataDownloading .indent {
  311. text-indent: 2em;
  312. }
  313. .dataDownloading .danwei p {
  314. margin-right: 15px;
  315. }
  316. .dataDownloading ul li .content button {
  317. background: #1890ff;
  318. color: #fff;
  319. border: 1px solid #1890ff;
  320. margin-right: 15px;
  321. }
  322. .login {
  323. margin-top: 100px;
  324. }
  325. .login .input-group {
  326. margin: 20px 0;
  327. }
  328. .login .remember a {
  329. color: #1890ff;
  330. }
  331. .login input[type="submit"] {
  332. margin: 20px 0;
  333. height: 40px;
  334. border-radius: 6px;
  335. background: #1890ff;
  336. border: none;
  337. color: #fff;
  338. letter-spacing: 5px;
  339. font-size: 16px;
  340. }
  341. em {
  342. font-style: normal;
  343. font-weight: bolder;
  344. color: #c00;
  345. }
  346. /*资源分类*/
  347. .searchCategoryBar {
  348. padding: 10px;
  349. background: rgb(250, 250, 250);
  350. margin-top: -12px;
  351. margin-left: 0px;
  352. margin-right: 0px;
  353. }
  354. .searchCategoryBarItem {
  355. padding: 10px;
  356. background: rgb(250, 250, 250);
  357. margin-left: 0px;
  358. margin-right: 0px;
  359. cursor: pointer;
  360. }
  361. .searchCategoryBarItemActive {
  362. border-bottom: 2px solid rgb(6, 6, 58);
  363. }
  364. .cur {
  365. color: rgb(230, 149, 0);
  366. }
  367. /*底部*/
  368. .footerBar {
  369. padding: 10px;
  370. background: rgb(240, 240, 240);
  371. border-top: 1px solid rgb(200, 200, 200);
  372. text-align: center;
  373. }
  374. /*热门TAG*/
  375. .tagItem {
  376. line-height: 25px;
  377. padding: 0px 10px 0px 0px;
  378. }
  379. myModal{
  380. left: 50%;
  381. top: 50%;
  382. transform: translate(-50%,-50%);
  383. min-width:100%;/*这个比例可以自己按需调节*/
  384. overflow: visible;
  385. bottom: inherit;
  386. right: inherit;
  387. }