general.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /*list.html declare.html*/
  2. @charset 'utf-8'
  3. body
  4. {
  5. font-family: Tahoma, Arial, Verdana;
  6. /*color: #eee;*/
  7. }
  8. .container .jumbotron
  9. {
  10. height: 220px;
  11. background-image: url(../img/background.jpg);
  12. background-position: center center;
  13. border-radius: 6px 6px 0 0;
  14. padding-right: 0;
  15. padding-left: 0;
  16. }
  17. .jumbotron
  18. {
  19. padding-top: 20px;
  20. padding-bottom: 0;
  21. }
  22. #logo
  23. {
  24. height: 100px;
  25. }
  26. #logo img
  27. {
  28. margin: 0 auto;
  29. }
  30. /*h2:32px 28px 26px 22px*/
  31. #logo h2
  32. {
  33. color: #2e6da4;
  34. font-size: 22px;
  35. font-weight: 700;
  36. }
  37. .main_nav
  38. {
  39. margin-top: 18px;
  40. }
  41. .main_nav .nav
  42. {
  43. background-color: rgba(11,42,96,0.3);
  44. }
  45. .main_nav .nav-pills li a
  46. {
  47. padding: 27px 5px;
  48. font-size: 14px;
  49. color: #fff;
  50. font-weight: 700;
  51. border-radius: 0;
  52. }
  53. .main_nav .nav-pills li a:hover , .main_nav .nav-pills li a:focus
  54. {
  55. background-color: #5A96B4;
  56. }
  57. .main_nav .nav-pills li a span
  58. {
  59. padding-right: 5px;
  60. }
  61. /*.nav-pill_border
  62. {
  63. border: 1px solid #fff;
  64. }*/
  65. /*list.html */
  66. .sidebar-nav .nav
  67. {
  68. background-color: rgba(165,192,222,0.7);
  69. border-radius: 8px;
  70. padding-top: 25px;
  71. padding-bottom: 25px;
  72. }
  73. a
  74. {
  75. color: #2e6da4;
  76. }
  77. .sidebar-nav li a span
  78. {
  79. color: #143D65;
  80. margin-left: 25px;
  81. margin-right: 15px;
  82. }
  83. .panel-heading span
  84. {
  85. color: #2e6da4;
  86. padding-right:10px;
  87. }
  88. .panel-body ul
  89. {
  90. padding: 0;
  91. margin: 0;
  92. list-style: none;
  93. }
  94. .panel-body .news-item
  95. {
  96. padding: 4px 4px;
  97. margin: 0;
  98. /* border-bottom: 1px dotted #ddd;*/
  99. }
  100. .news-item a
  101. {
  102. font-size: 12px;
  103. color: #666;
  104. }
  105. .news-item a:hover
  106. {
  107. color: red;
  108. text-decoration: none;
  109. }
  110. .news-item a.info-title
  111. {
  112. text-overflow: ellipsis;
  113. }
  114. .news-item span
  115. {
  116. margin-left: 8px;
  117. }
  118. .panel-footer
  119. {
  120. padding: 0 auto;
  121. margin: 0;
  122. }
  123. /*declare.html*/
  124. .declare
  125. {
  126. overflow: hidden;
  127. margin-top: 20px;
  128. margin-bottom: 40px;
  129. }
  130. .declare-bordered
  131. {
  132. padding: 5px 5px 0;
  133. list-style: none;
  134. }
  135. .declare-bordered .declare-item
  136. {
  137. padding: 0px;
  138. margin: 5px;
  139. border: 1px solid #eee;
  140. box-shadow: none;
  141. transition: all 0.6s ease;
  142. }
  143. .declare-bordered .declare-item a:hover
  144. {
  145. text-decoration: none;
  146. }
  147. .declare-bordered .am-gallery-title
  148. {
  149. text-align: center;
  150. padding: 20px 0px;
  151. }
  152. .mask
  153. {
  154. position: absolute;
  155. top: 0;
  156. width: 100%;
  157. height: 100%;
  158. background-color: rgba(0,0,0,0.5);
  159. transform: translateY(-103%);
  160. -webkit-transform: translateY(-103%);
  161. -moz-transform: translateY(-103%);
  162. -ms-transform: translateY(-103%);
  163. -o-transform: translateY(-103%);
  164. transition: all 0.4s ease-in-out;
  165. -webkit-transition: all 0.4s ease-in-out;
  166. -moz-transition: all 0.4s ease-in-out;
  167. -ms-transition: all 0.4s ease-in-out;
  168. -o-transition: all 0.4s ease-in-out;
  169. }
  170. .mask span
  171. {
  172. display: block;
  173. width: 100%;
  174. height: 100%;
  175. }
  176. .declare-item:hover .mask
  177. {
  178. -webkit-transform: translateY(0);
  179. -moz-transform: translateY(0);
  180. -ms-transform: translateY(0);
  181. -o-transform: translateY(0);
  182. }
  183. .declare-bordered li:hover .mask
  184. {
  185. opacity: 1;
  186. }
  187. .declare-bordered li .declare-item
  188. {
  189. background-color: #5B9BD5;
  190. }
  191. .declare-bordered li:hover .declare-item
  192. {
  193. background-color: #23a6e8;
  194. }
  195. .declare-bordered li .declare-item a h3 ,.declare-bordered li:hover .declare-item a h3
  196. {
  197. color: #fff;
  198. font-weight: 700;
  199. text-decoration: none;
  200. }
  201. .img-wrap
  202. {
  203. position: relative;
  204. padding: 0;
  205. max-height: 230px;
  206. overflow: hidden;
  207. }
  208. /*小屏幕(平板,大于等于768px)*/
  209. @media (min-width: 768px)
  210. {
  211. #logo h2
  212. {
  213. color: #2e6da4;
  214. font-size: 26px;
  215. font-weight: 900;
  216. }
  217. .main_nav .nav-pills li a
  218. {
  219. font-size: 14px;
  220. }
  221. }
  222. /*中等屏幕(桌面显示器,大于等于992px)*/
  223. @media (min-width: 992px)
  224. {
  225. #logo h2
  226. {
  227. color: #2e6da4;
  228. font-size: 30px;
  229. font-weight: 900;
  230. }
  231. .main_nav .nav-pills li a
  232. {
  233. font-size: 16px;
  234. }
  235. }
  236. @media only screen and (min-width: 1025px)
  237. {
  238. .declare .declare-bordered .am-gallery-title{
  239. font-size: 16px;
  240. }
  241. .declare .declare-bordered>li{
  242. padding: 10px;
  243. }
  244. }
  245. /*大屏幕(大桌面显示器,大于等于1200px)*/
  246. @media (min-width: 1200px)
  247. {
  248. #logo h2
  249. {
  250. color: #2e6da4;
  251. font-size: 34px;
  252. font-weight: 900;
  253. }
  254. .main_nav .nav-pills li a
  255. {
  256. font-size: 20px;
  257. }
  258. }
  259. .footer
  260. {
  261. text-align: center;
  262. font-size: 12px;
  263. color: #666;
  264. background-color: #eee;
  265. padding-top: 20px;
  266. padding-bottom: 25px;
  267. border-radius: 4px;
  268. }