style.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. /*-------------头部------------*/
  2. /*头部边距*/
  3. .top {
  4. margin-top: 10px;
  5. }
  6. /*电话图标*/
  7. .phone {
  8. color: #666;
  9. float: right;
  10. }
  11. /*邮箱图标*/
  12. .mail {
  13. color: #666;
  14. float: right;
  15. }
  16. /*取消小图标的下划线*/
  17. .ant:link {
  18. text-decoration: none;
  19. }
  20. .ant:visited {
  21. text-decoration: none;
  22. }
  23. .ant:hover {
  24. text-decoration: none;
  25. }
  26. .ant:active {
  27. text-decoration: none;
  28. }
  29. /*-------------导航栏------------*/
  30. /* 导航条默认属性设置 */
  31. .navbar-default {
  32. margin-bottom: 0px;
  33. /* 底部边距调整为0 */
  34. border: 0px;
  35. /* 去掉边框 */
  36. background-color: #e7e7e7;
  37. /* 设置导航栏背景色 */
  38. margin-top: 30px;
  39. /* 设置导航栏的上边距 */
  40. }
  41. /* 导航栏栏目激活时属性 */
  42. .navbar-default .navbar-nav .active a,
  43. .navbar-default .navbar-nav .active a:hover,
  44. .navbar-default .navbar-nav .active a:focus {
  45. background-color: #005197;
  46. /* 背景色设置为深蓝色 */
  47. color: #fff;
  48. /* 前景文字颜色设置为白色 */
  49. }
  50. /* 一级菜单鼠标移过时属性 */
  51. .navbar-default .navbar-nav li a:hover {
  52. color: #fff;
  53. background-color: #005197;
  54. }
  55. /* 一级菜单单击展开时属性 */
  56. .navbar-default .navbar-nav li.open a.on {
  57. color: #fff;
  58. background-color: #005197;
  59. }
  60. /* 下拉菜单内边距 */
  61. .dropdown-menu {
  62. padding: 0px;
  63. }
  64. /* 二级菜单标签属性 */
  65. .dropdown-menu li a {
  66. padding-top: 10px;
  67. padding-bottom: 10px;
  68. color: #777;
  69. text-align: center;
  70. }
  71. /* 一级菜单宽度和文字对齐方式 */
  72. .nav-top {
  73. width: 14%;
  74. text-align: center;
  75. }
  76. /* 导航栏与横幅的分割线 */
  77. .line {
  78. height: 3px;
  79. width: 100%;
  80. background: #005197;
  81. }
  82. /*-------------主体------------*/
  83. /* 主题标题 */
  84. .model-details-title {
  85. padding: 15px 0px;
  86. font-size: 18px;
  87. border-bottom: 1px #005197 solid;
  88. /* 底部添加蓝色边框 */
  89. color: #005197;
  90. margin-bottom: 10px;
  91. margin-top: 30px;
  92. }
  93. /* 文字段落 */
  94. .model-details p {
  95. line-height: 30px;
  96. text-indent: 2em;
  97. text-align: justify;
  98. text-justify: inter-ideograph;
  99. }
  100. /* 主体图像 */
  101. .model-details img {
  102. margin: 0px auto;
  103. }
  104. /*-------------页脚------------*/
  105. .web-footer {
  106. width: 100%;
  107. /* 占满整个浏览器宽度 */
  108. margin-top: 30px;
  109. /* 设置与上边缘距离 */
  110. }
  111. #map-footer {
  112. background-color: #3A3A3A;
  113. /* 对整个站点地图设置背景色灰色 */
  114. }
  115. #map-footer dl {
  116. text-align: center;
  117. /* 站点链接文字对齐 */
  118. margin-top: 40px;
  119. /* 设置表格与上边缘边距 */
  120. }
  121. #map-footer dt {
  122. padding: 3px;
  123. /* 表格标题内边距为3像素 */
  124. color: #fff;
  125. /* 表格标题颜色为白色 */
  126. }
  127. #map-footer dd {
  128. padding: 3px;
  129. /* 表格内容内边距为3像素 */
  130. }
  131. /* 二维码广告段落 */
  132. #map-footer p {
  133. margin-top: 20px;
  134. margin-bottom: 10px;
  135. color: #fff;
  136. font-size: 16px;
  137. }
  138. #map-footer a {
  139. color: #A6A6A6;
  140. /* 站点链接文字颜色设置 */
  141. font-size: 13px;
  142. /* 站点链接文字大小 设置 */
  143. }
  144. #map-footer a:hover {
  145. color: #fff;
  146. text-decoration: none;
  147. /* 去除站点链接鼠标移过时出现的下划线 */
  148. }
  149. #wx {
  150. text-align: center;
  151. /* 二维码居中对齐 */
  152. }
  153. .qrimg {
  154. max-width: 170px;
  155. /* 二维码最大宽度为170像素 */
  156. }
  157. /*-------------尾部版权------------*/
  158. #patent-footer {
  159. text-align: center;
  160. background-color: #3A3A3A;
  161. }
  162. #patent-footer p {
  163. margin-top: 10px;
  164. padding-right: 80px;
  165. color: #8d8d8d;
  166. font-size: 11px;
  167. }
  168. /* 二级菜单鼠标移过时属性*/
  169. .navbar-default .navbar-nav li ul a:hover {
  170. color: #fff;
  171. background-color: #005197;
  172. }
  173. /* 一级菜单激活时,二级菜单鼠标移过时属性*/
  174. .navbar-default .navbar-nav li.active ul a:hover {
  175. color: #fff;
  176. background-color: #022a4d;
  177. }
  178. .row-3 {
  179. margin-top: 30px;
  180. }
  181. /* 侧边导航栏标题样式*/
  182. .model-title {
  183. text-align: center;
  184. color: #fff;
  185. font-size: 22px;
  186. padding: 15px 0px;
  187. background: #005197;
  188. margin-top: 25px;
  189. }
  190. /*侧边导航栏列表项样式*/
  191. .model-list li {
  192. text-align: center;
  193. background-color: #f6f6f6;
  194. font-size: 16px;
  195. }
  196. /*侧边导航栏列表项链接样式*/
  197. .model-list li a {
  198. color: #545353;
  199. }
  200. /*侧边导航栏列表项链接激活样式*/
  201. .model-list li a:hover {
  202. text-decoration: none;
  203. color: #005197;
  204. }
  205. /* 侧边导航栏激活样式 */
  206. .model-list li:active {
  207. text-align: center;
  208. background-color: #f6f6f6;
  209. font-size: 16px;
  210. border-color: #ddd;
  211. }
  212. /* 侧边导航栏激活状态下鼠标移过时样式 */
  213. .model-list li.active:hover {
  214. text-align: center;
  215. background-color: #f6f6f6;
  216. font-size: 16px;
  217. border-color: #ddd;
  218. }
  219. /*侧边导航栏激活状态时链接样式*/
  220. .model-list li.active a {
  221. color: #005197;
  222. }