main.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. /*包含index.html login.html 页面的css*/
  2. @charset 'utf-8'
  3. body
  4. {
  5. font-family: '宋体', Arial, Helvetica, sans-serif;
  6. background: #F8F8F8;
  7. }
  8. /*index.html*/
  9. .jumbotron
  10. {
  11. height: 420px;
  12. background-image: url(../img/background.jpg);
  13. background-position: center center;
  14. }
  15. .pl0 { padding-left:0 !important;}
  16. .pr0 { padding-left:0 !important;}
  17. #logo
  18. {
  19. height: 100px;
  20. margin-top: 50px;
  21. }
  22. #logo img
  23. {
  24. margin: 0 auto;
  25. }
  26. /*h2:32px 28px 26px 22px*/
  27. #logo h2
  28. {
  29. color: #2e6da4;
  30. font-size: 22px;
  31. font-weight: 700;
  32. }
  33. #nav
  34. {
  35. margin-top: 50px;
  36. }
  37. #search span
  38. {
  39. padding: 0 5px;
  40. }
  41. .search
  42. {
  43. padding: 0 auto;
  44. background-color: rgba(90,150,180,0.7);
  45. border-radius: 4px;
  46. overflow: visible;
  47. /*min-width: 180px;*/
  48. margin-top: 20px;
  49. margin-left: -20px;
  50. height: 148px;
  51. width: 200px;
  52. }
  53. .search form
  54. {
  55. margin-top: 20px;
  56. text-align: center;
  57. }
  58. .search input , .search select
  59. {
  60. width: 200px;
  61. height: 30px;
  62. border: 1px solid #C4D6EC;
  63. }
  64. .search #search
  65. {
  66. width: 100px;
  67. height: 30px;
  68. font-size: 12px;
  69. color: #666;
  70. }
  71. .login1{
  72. /*padding: 0 auto;
  73. background-color: rgba(90,150,180,0.7);
  74. border-radius: 4px;
  75. overflow: visible;*/
  76. /*min-width: 180px;*/
  77. /*margin-top: 20px;*/
  78. height: 300px;
  79. width: 50px;
  80. margin-left: 5px;
  81. margin-top: 10px;
  82. }
  83. /*新增*/
  84. .nav-btn{
  85. /*margin-top: 25px;
  86. padding-top: 20px;*/
  87. }
  88. .nav-btn .row
  89. {
  90. margin-top: 20px;
  91. }
  92. .nav-btn .btn
  93. {
  94. height: 50px;
  95. line-height: 50px;
  96. display: inline-table;
  97. }
  98. .nav-btn .btn-primary
  99. {
  100. font-size: 14px;
  101. font-weight: 700;
  102. background-color: rgba(80,134,194,0.7);
  103. border: 1px solid #5086C2;
  104. filter:alpha(opacity=70);
  105. /*This works in IE 8 & 9 too*/
  106. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  107. /*IE4-IE9*/
  108. filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  109. }
  110. .nav-btn .btn-primary span
  111. {
  112. font-size: 18px;
  113. padding-right: 10px;
  114. }
  115. /*导航新增*/
  116. /*.nav-btn{
  117. margin-top: 25px;
  118. padding-top: 20px;
  119. }
  120. .nav-btn .row
  121. {
  122. margin-top: 20px;
  123. }
  124. .nav-btn .btn
  125. {
  126. height: 50px;
  127. line-height: 50px;
  128. display: inline-table;
  129. }
  130. .nav-btn .btn-primary
  131. {
  132. font-size: 14px;
  133. font-weight: 700;
  134. background-color: rgba(80,134,194,0.7);
  135. border: 1px solid #5086C2;
  136. filter:alpha(opacity=70);
  137. /*This works in IE 8 & 9 too*/
  138. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  139. /*IE4-IE9*/
  140. filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  141. }
  142. .nav-btn .btn-primary span
  143. {
  144. font-size: 18px;
  145. padding-right: 10px;
  146. }*/
  147. .content
  148. {
  149. font-size: 14px;
  150. color: #666;
  151. }
  152. .content .panel .panel-heading
  153. {
  154. background-color: #5B9BD5;
  155. }
  156. .panel .panel-heading span , .panel .panel-heading span
  157. {
  158. color: #fff;
  159. font-weight: 700;
  160. font-size:14px;
  161. }
  162. .panel-heading .more a
  163. {
  164. float: right;
  165. color: white;
  166. text-decoration:none;
  167. font-size:12px;
  168. padding-top:2px;
  169. font-weight: 500;
  170. }
  171. .panel-body ul
  172. {
  173. padding: 0;
  174. margin: 0;
  175. list-style: none;
  176. /*增加*/
  177. height: 230px;
  178. }
  179. .zcfg{
  180. height: 230px;
  181. }
  182. .zxzx{
  183. height: 230px;
  184. }
  185. .info-list{
  186. height: 230px;
  187. }
  188. .panel-body .news-item
  189. {
  190. padding: 4px 4px;
  191. margin: 0;
  192. border-bottom: 1px dotted #ddd;
  193. height: 30px;
  194. }
  195. .news-item a
  196. {
  197. color: #666;
  198. }
  199. .news-item a:hover
  200. {
  201. color: #666;
  202. text-decoration: none;
  203. }
  204. .news-item a.info-title
  205. {
  206. width: 220px;
  207. display:inline-block;
  208. white-space: nowrap;
  209. overflow: hidden;
  210. text-overflow: ellipsis;
  211. }
  212. .news-item a.notice-title{
  213. width: 370px;
  214. display:inline-block;
  215. white-space: nowrap;
  216. overflow: hidden;
  217. text-overflow: ellipsis;
  218. }
  219. .news-item a.info-time ,.news-item a.notice-time
  220. {
  221. float: right;
  222. }
  223. .login
  224. {
  225. position: relative;
  226. background-image: url(../img/map.gif);
  227. background-position: center center;
  228. /*height: 258px;*/
  229. border-radius: 8px;
  230. }
  231. .tm
  232. {
  233. width: 50%;
  234. height: 50%;
  235. border-radius: 8px;
  236. position: absolute;
  237. top: 0;
  238. left: 0;
  239. background-color: rgba(258,258,258,0.5);
  240. /* IE 4-9 */
  241. filter:alpha(opacity=50);
  242. /*This works in IE 8 & 9 too*/
  243. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  244. /*IE4-IE9*/
  245. filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  246. }
  247. .tm h3
  248. {
  249. background-color: transparent;
  250. padding-top: 20px;
  251. text-align: center;
  252. color: #284567;
  253. font-weight: 900;
  254. }
  255. .tm img
  256. {
  257. padding-top: 10px;
  258. }
  259. .tm a
  260. {
  261. font-size: 24px;
  262. font-weight: 700;
  263. color: #9C2B2F;
  264. display: block;
  265. margin: 15px auto;
  266. }
  267. .footer
  268. {
  269. text-align: left;
  270. font-size: 12px;
  271. color: #666;
  272. background-color: #eee;
  273. padding-top: 20px;
  274. padding-bottom: 25px;
  275. border-radius: 4px;
  276. }
  277. .footer p{
  278. margin-left: 50px;
  279. }
  280. .footer .p1 p{
  281. margin-left: -50px;
  282. }
  283. /*login.html*/
  284. .login-qiantai
  285. {
  286. background-image: url(../img/login/login_bg.jpg);
  287. background-size: cover;
  288. width: 100%;
  289. height: 100%;
  290. position: fixed;
  291. top: 0;
  292. left: 0;
  293. z-index: -1;
  294. text-align: center;
  295. }
  296. .login_content
  297. {
  298. background-color: rgba(92,116,150,0.8);
  299. border-radius: 8px;
  300. /*border: 1px solid #eee;*/
  301. margin-top: 130px;
  302. padding: 30px 20px;
  303. }
  304. .login_content h3
  305. {
  306. font-size: 20px;
  307. color: #DCE8F4;
  308. padding: 0px 15px;
  309. letter-spacing: 1px;
  310. }
  311. .login_content .login_form
  312. {
  313. margin-top: 20px;
  314. }
  315. .login_form img
  316. {
  317. margin-left: 10px;
  318. margin-right: 10px;
  319. }
  320. #login .btn
  321. {
  322. font-size: 12px;
  323. color: #666;
  324. margin-left: 10px;
  325. float: right;
  326. box-shadow: 2px 2px #073F78;
  327. }
  328. .footer-qiantai
  329. {
  330. background-color: rgba(34,84,135,1);
  331. font-size: 12px;
  332. text-align: center;
  333. color: #ccc;
  334. padding-top: 10px;
  335. }
  336. /*list.html*/
  337. #jumbtron_list
  338. {
  339. height: 200px;
  340. }
  341. /*#logo_list
  342. {
  343. margin-top: 0px;
  344. }*/
  345. /*小屏幕(平板,大于等于768px)*/
  346. @media (min-width: 768px)
  347. {
  348. .jumbotron
  349. {
  350. height: 420px;
  351. }
  352. .nav-btn .btn-primary
  353. {
  354. font-size: 16px;
  355. font-weight: 700px;
  356. }
  357. #logo h2
  358. {
  359. color: #2e6da4;
  360. font-size: 26px;
  361. font-weight: 900;
  362. }
  363. .login_content h3
  364. {
  365. font-size: 22px;
  366. letter-spacing: 2px;
  367. }
  368. #login .btn
  369. {
  370. margin-left: 20px;
  371. }
  372. }
  373. /*中等屏幕(桌面显示器,大于等于992px)*/
  374. @media (min-width: 992px)
  375. {
  376. .jumbotron
  377. {
  378. height: 520px;
  379. }
  380. .nav-btn .btn-primary
  381. {
  382. font-size: 18px;
  383. font-weight: 700px;
  384. }
  385. #logo h2
  386. {
  387. color: #2e6da4;
  388. font-size: 30px;
  389. font-weight: 900;
  390. }
  391. .login_content h3
  392. {
  393. font-size: 24px;
  394. }
  395. }
  396. /*大屏幕(大桌面显示器,大于等于1200px)*/
  397. @media (min-width: 1200px)
  398. {
  399. .jumbotron
  400. {
  401. height: 520px;
  402. }
  403. .nav-btn .btn-primary
  404. {
  405. font-size: 18px;
  406. font-weight: 700px;
  407. }
  408. #logo h2
  409. {
  410. color: #2e6da4;
  411. font-size: 34px;
  412. font-weight: 900;
  413. }
  414. .login_content h3
  415. {
  416. font-size: 28px;
  417. }
  418. }
  419. /*新增*/
  420. /*declare.html*/
  421. .declare
  422. {
  423. overflow: hidden;
  424. margin-top: 20px;
  425. margin-bottom: 40px;
  426. }
  427. .declare-bordered
  428. {
  429. padding: 5px 5px 0;
  430. list-style: none;
  431. }
  432. .declare-bordered .declare-item
  433. {
  434. padding: 0px;
  435. margin: 5px;
  436. border: 1px solid #eee;
  437. box-shadow: none;
  438. transition: all 0.6s ease;
  439. }
  440. .declare-bordered .am-gallery-title
  441. {
  442. text-align: center;
  443. /*padding: 20px 0px;*/
  444. }
  445. .mask
  446. {
  447. position: absolute;
  448. top: 0;
  449. width: 100%;
  450. height: 100%;
  451. background-color: rgba(0,0,0,0.5);
  452. transform: translateY(-103%);
  453. -webkit-transform: translateY(-103%);
  454. -moz-transform: translateY(-103%);
  455. -ms-transform: translateY(-103%);
  456. -o-transform: translateY(-103%);
  457. transition: all 0.4s ease-in-out;
  458. -webkit-transition: all 0.4s ease-in-out;
  459. -moz-transition: all 0.4s ease-in-out;
  460. -ms-transition: all 0.4s ease-in-out;
  461. -o-transition: all 0.4s ease-in-out;
  462. }
  463. .mask span
  464. {
  465. display: block;
  466. width: 100%;
  467. height: 100%;
  468. }
  469. .declare-item:hover .mask
  470. {
  471. -webkit-transform: translateY(0);
  472. -moz-transform: translateY(0);
  473. -ms-transform: translateY(0);
  474. -o-transform: translateY(0);
  475. }
  476. .declare-bordered li:hover .mask
  477. {
  478. opacity: 1;
  479. }
  480. .declare-bordered li .declare-item
  481. {
  482. background-color: #5B9BD5;
  483. }
  484. .declare-bordered li:hover .declare-item
  485. {
  486. background-color: #23a6e8;
  487. }
  488. .declare-bordered li .declare-item a h3 ,.declare-bordered li:hover .declare-item a h3
  489. {
  490. color: #fff;
  491. font-weight: 700;
  492. text-decoration: none;
  493. }
  494. .img-wrap
  495. {
  496. position: relative;
  497. padding: 0;
  498. max-height: 230px;
  499. overflow: hidden;
  500. }
  501. /*小屏幕(平板,大于等于768px)*/
  502. @media (min-width: 768px)
  503. {
  504. #logo h2
  505. {
  506. color: #2e6da4;
  507. font-size: 26px;
  508. font-weight: 900;
  509. }
  510. .main_nav .nav-pills li a
  511. {
  512. font-size: 14px;
  513. }
  514. }
  515. /*中等屏幕(桌面显示器,大于等于992px)*/
  516. @media (min-width: 992px)
  517. {
  518. #logo h2
  519. {
  520. color: #2e6da4;
  521. font-size: 30px;
  522. font-weight: 900;
  523. }
  524. .main_nav .nav-pills li a
  525. {
  526. font-size: 16px;
  527. }
  528. }
  529. @media only screen and (min-width: 1025px)
  530. {
  531. .declare .declare-bordered .am-gallery-title{
  532. font-size: 16px;
  533. }
  534. .declare .declare-bordered>li{
  535. padding: 10px;
  536. }
  537. }
  538. /*大屏幕(大桌面显示器,大于等于1200px)*/
  539. @media (min-width: 1200px)
  540. {
  541. #logo h2
  542. {
  543. color: #2e6da4;
  544. font-size: 34px;
  545. font-weight: 900;
  546. }
  547. .main_nav .nav-pills li a
  548. {
  549. font-size: 20px;
  550. }
  551. }
  552. .footer
  553. {
  554. text-align: left;
  555. font-size: 12px;
  556. color: #666;
  557. background-color: #f5f5f5;
  558. padding-top: 20px;
  559. padding-bottom: 25px;
  560. border-radius: 4px;
  561. }
  562. .declare .declare-item a{
  563. text-decoration: none;
  564. }