style.css 4.9 KB

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