style.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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. color:#005197;
  89. margin-bottom:10px;
  90. margin-top:30px;
  91. }
  92. /* 文字段落 */
  93. .model-details p{
  94. line-height:30px;
  95. text-indent:2em;
  96. text-align:justify;
  97. text-justify:inter-ideograph;
  98. }
  99. /* 主体图像 */
  100. .model-details img{
  101. margin:0px auto;
  102. }
  103. /*-------------页脚------------*/
  104. .web-footer{
  105. width:100%; /* 占满整个浏览器宽度 */
  106. margin-top:30px; /* 设置与上边缘距离 */
  107. }
  108. #map-footer{
  109. background-color:#3A3A3A; /* 对整个站点地图设置背景色灰色 */
  110. }
  111. #map-footer dl{
  112. text-align:center; /* 站点链接文字对齐 */
  113. margin-top:40px; /* 设置表格与上边缘边距 */
  114. }
  115. #map-footer dt{
  116. padding:3px; /* 表格标题内边距为3像素 */
  117. color:#fff; /* 表格标题颜色为白色 */
  118. }
  119. #map-footer dd{
  120. padding:3px; /* 表格内容内边距为3像素 */
  121. }
  122. /* 二维码广告段落 */
  123. #map-footer p{
  124. margin-top:20px;
  125. margin-bottom:10px;
  126. color:#fff;
  127. font-size:16px;
  128. }
  129. #map-footer a{
  130. color:#A6A6A6; /* 站点链接文字颜色设置 */
  131. font-size:13px; /* 站点链接文字大小 设置 */
  132. }
  133. #map-footer a:hover{
  134. color:#fff;
  135. text-decoration:none; /* 去除站点链接鼠标移过时出现的下划线 */
  136. }
  137. #wx{
  138. text-align:center; /* 二维码居中对齐 */
  139. }
  140. .qrimg{
  141. max-width: 170px; /* 二维码最大宽度为170像素 */
  142. }
  143. /*-------------尾部版权------------*/
  144. #patent-footer{
  145. text-align:center;
  146. background-color:#3A3A3A;
  147. }
  148. #patent-footer p{
  149. margin-top:10px;
  150. padding-right:80px;
  151. color:#8d8d8d;
  152. font-size:11px;
  153. }
  154. /* 二级菜单鼠标移过时属性*/
  155. .navbar-default .navbar-nav li ul a:hover{
  156. color:#fff;
  157. background-color: #005197;
  158. }
  159. /* 一级菜单激活时,二级菜单鼠标移过时属性*/
  160. .navbar-default .navbar-nav li.active ul a:hover{
  161. color:#fff;
  162. background-color: #022a4d;
  163. }
  164. /* 侧边导航栏标题样式*/
  165. .model-title{
  166. text-align: center;
  167. color: #fff;
  168. font-size: 22px;
  169. padding: 15px 0px;
  170. background: #005197;
  171. margin-top: 25px;
  172. }
  173. /*侧边导航栏列表项样式*/
  174. .model-list li{
  175. text-align: center;
  176. background-color: #f6f6f6;
  177. font-size: 16px;
  178. }
  179. /*侧边导航栏列表项链接样式*/
  180. .model-list li a{
  181. color: #545353;
  182. }
  183. /*侧边导航栏列表项链接激活样式*/
  184. .model-list li a:hover{
  185. text-decoration: none;
  186. color: #005197;
  187. }
  188. /* 侧边导航栏激活样式 */
  189. .model-list li:active{
  190. text-align: center;
  191. background-color: #f6f6f6;
  192. font-size: 16px;
  193. border-color: #ddd;
  194. }
  195. /* 侧边导航栏激活状态下鼠标移过时样式 */
  196. .model-list li.active:hover{
  197. text-align: center;
  198. background-color: #f6f6f6;
  199. font-size: 16px;
  200. border-color: #ddd;
  201. }
  202. /*侧边导航栏激活状态时链接样式*/
  203. .model-list li.active a{
  204. color: #005197;
  205. }