main.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. /*包含index.html login.html 页面的css*/
  2. @charset 'utf-8'
  3. body
  4. {
  5. font-family: Tahoma, Arial, Verdana;
  6. /*color: #eee;*/
  7. }
  8. /*index.html*/
  9. .jumbotron
  10. {
  11. height: 420px;
  12. background-image: url(../img/background.jpg);
  13. background-position: center center;
  14. }
  15. #logo
  16. {
  17. height: 100px;
  18. margin-top: 50px;
  19. }
  20. #logo img
  21. {
  22. margin: 0 auto;
  23. }
  24. /*h2:32px 28px 26px 22px*/
  25. #logo h2
  26. {
  27. color: #2e6da4;
  28. font-size: 22px;
  29. font-weight: 700;
  30. }
  31. #nav
  32. {
  33. margin-top: 50px;
  34. }
  35. #search span
  36. {
  37. padding: 0 5px;
  38. }
  39. .search
  40. {
  41. padding: 0 auto;
  42. background-color: rgba(90,150,180,0.7);
  43. border-radius: 4px;
  44. overflow: visible;
  45. min-width: 180px;
  46. margin-top: 10px;
  47. }
  48. .search form
  49. {
  50. margin-top: 30px;
  51. text-align: center;
  52. }
  53. .search input , .search select
  54. {
  55. width: 150px;
  56. height: 30px;
  57. border: 1px solid #C4D6EC;
  58. }
  59. .search #search
  60. {
  61. height: 30px;
  62. font-size: 12px;
  63. color: #666;
  64. }
  65. .nav-btn .row
  66. {
  67. margin-top: 20px;
  68. }
  69. .nav-btn .btn
  70. {
  71. height: 50px;
  72. line-height: 50px;
  73. display: inline-table;
  74. }
  75. .nav-btn .btn-primary
  76. {
  77. font-size: 14px;
  78. font-weight: 700;
  79. background-color: rgba(80,134,194,0.7);
  80. border: 1px solid #5086C2;
  81. filter:alpha(opacity=70);
  82. /*This works in IE 8 & 9 too*/
  83. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  84. /*IE4-IE9*/
  85. filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  86. }
  87. .nav-btn .btn-primary span
  88. {
  89. font-size: 18px;
  90. padding-right: 10px;
  91. }
  92. .content
  93. {
  94. font-size: 14px;
  95. color: #666;
  96. margin-bottom: 20px;
  97. }
  98. .content .panel .panel-heading
  99. {
  100. background-color: #5B9BD5;
  101. }
  102. .panel .panel-heading span , .panel .panel-heading span a
  103. {
  104. color: #fff;
  105. font-weight: 700;
  106. }
  107. .more
  108. {
  109. float: right;
  110. }
  111. .panel-body ul
  112. {
  113. padding: 0;
  114. margin: 0;
  115. list-style: none;
  116. }
  117. .panel-body .news-item
  118. {
  119. padding: 4px 4px;
  120. margin: 0;
  121. border-bottom: 1px dotted #ddd;
  122. }
  123. .news-item a
  124. {
  125. color: #666;
  126. font-size: 12px;
  127. }
  128. .news-item a:hover
  129. {
  130. color: #666;
  131. text-decoration: none;
  132. }
  133. .news-item a.info-title
  134. {
  135. width:55%;
  136. display:block;
  137. overflow:hidden;
  138. white-space:nowrap;
  139. text-overflow: ellipsis;
  140. }
  141. .news-item a.info-time ,.news-item a.notice-time
  142. {
  143. float: right;
  144. }
  145. .login
  146. {
  147. position: relative;
  148. background-image: url(../img/map.gif);
  149. background-position: center center;
  150. height: 258px;
  151. border-radius: 8px;
  152. }
  153. .tm
  154. {
  155. width: 100%;
  156. height: 100%;
  157. border-radius: 8px;
  158. position: absolute;
  159. top: 0;
  160. left: 0;
  161. background-color: rgba(258,258,258,0.5);
  162. /* IE 4-9 */
  163. filter:alpha(opacity=50);
  164. /*This works in IE 8 & 9 too*/
  165. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  166. /*IE4-IE9*/
  167. filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  168. }
  169. .tm h3
  170. {
  171. background-color: transparent;
  172. padding-top: 20px;
  173. text-align: center;
  174. color: #284567;
  175. font-weight: 900;
  176. }
  177. .tm img
  178. {
  179. padding-top: 10px;
  180. }
  181. .tm a
  182. {
  183. font-size: 24px;
  184. font-weight: 700;
  185. color: #9C2B2F;
  186. display: block;
  187. margin: 15px auto;
  188. }
  189. .footer
  190. {
  191. text-align: center;
  192. font-size: 12px;
  193. color: #666;
  194. background-color: #eee;
  195. padding-top: 20px;
  196. padding-bottom: 25px;
  197. border-radius: 4px;
  198. }
  199. /*login.html*/
  200. .login-qiantai
  201. {
  202. background-image: url(../img/login/login_bg.jpg);
  203. background-size: cover;
  204. width: 100%;
  205. height: 100%;
  206. position: fixed;
  207. top: 0;
  208. left: 0;
  209. z-index: -1;
  210. text-align: center;
  211. }
  212. .login_content
  213. {
  214. background-color: rgba(92,116,150,0.8);
  215. border-radius: 8px;
  216. /*border: 1px solid #eee;*/
  217. margin-top: 130px;
  218. padding: 30px 20px;
  219. }
  220. .login_content h3
  221. {
  222. font-size: 20px;
  223. color: #DCE8F4;
  224. padding: 0px 15px;
  225. letter-spacing: 1px;
  226. }
  227. .login_content .login_form
  228. {
  229. margin-top: 20px;
  230. }
  231. .login_form img
  232. {
  233. margin-left: 10px;
  234. margin-right: 10px;
  235. }
  236. #login .btn
  237. {
  238. font-size: 12px;
  239. color: #666;
  240. margin-left: 10px;
  241. float: right;
  242. box-shadow: 2px 2px #073F78;
  243. }
  244. .footer-qiantai
  245. {
  246. background-color: rgba(34,84,135,1);
  247. font-size: 12px;
  248. text-align: center;
  249. color: #ccc;
  250. padding-top: 10px;
  251. }
  252. /*list.html*/
  253. #jumbtron_list
  254. {
  255. height: 200px;
  256. }
  257. /*#logo_list
  258. {
  259. margin-top: 0px;
  260. }*/
  261. /*小屏幕(平板,大于等于768px)*/
  262. @media (min-width: 768px)
  263. {
  264. .jumbotron
  265. {
  266. height: 420px;
  267. }
  268. .nav-btn .btn-primary
  269. {
  270. font-size: 16px;
  271. font-weight: 700px;
  272. }
  273. #logo h2
  274. {
  275. color: #2e6da4;
  276. font-size: 26px;
  277. font-weight: 900;
  278. }
  279. .login_content h3
  280. {
  281. font-size: 22px;
  282. letter-spacing: 2px;
  283. }
  284. #login .btn
  285. {
  286. margin-left: 20px;
  287. }
  288. }
  289. /*中等屏幕(桌面显示器,大于等于992px)*/
  290. @media (min-width: 992px)
  291. {
  292. .jumbotron
  293. {
  294. height: 520px;
  295. }
  296. .nav-btn .btn-primary
  297. {
  298. font-size: 18px;
  299. font-weight: 700px;
  300. }
  301. #logo h2
  302. {
  303. color: #2e6da4;
  304. font-size: 30px;
  305. font-weight: 900;
  306. }
  307. .login_content h3
  308. {
  309. font-size: 24px;
  310. }
  311. }
  312. /*大屏幕(大桌面显示器,大于等于1200px)*/
  313. @media (min-width: 1200px)
  314. {
  315. .jumbotron
  316. {
  317. height: 520px;
  318. }
  319. .nav-btn .btn-primary
  320. {
  321. font-size: 18px;
  322. font-weight: 700px;
  323. }
  324. #logo h2
  325. {
  326. color: #2e6da4;
  327. font-size: 34px;
  328. font-weight: 900;
  329. }
  330. .login_content h3
  331. {
  332. font-size: 28px;
  333. }
  334. }