style.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. @import url('https://fonts.googleapis.com/css?family=Merriweather');
  2. @import url('https://fonts.googleapis.com/css?family=Oswald');
  3. * {
  4. box-sizing: border-box;
  5. }
  6. html {
  7. font-size: 10px;
  8. }
  9. body {
  10. font-size: 1.6rem;
  11. background: #ffffff;
  12. line-height: 1.75;
  13. font-family: Merriweather, sans-serif;
  14. }
  15. img {
  16. max-width: 100%;
  17. }
  18. .content {
  19. width: 1460px;
  20. max-width: 90%;
  21. margin: auto;
  22. }
  23. header {
  24. position: fixed;
  25. width: 100%;
  26. top: 0;
  27. left: 0;
  28. z-index: 1;
  29. background: #ffffff;
  30. }
  31. /*-----------------------------header---------------------------------------*/
  32. header .content {
  33. display: flex;
  34. flex-flow: row nowrap;
  35. justify-content: space-between;
  36. padding: 14px 0;
  37. border-bottom: 1px solid #e8e8e8;
  38. }
  39. header .logo {
  40. display: flex;
  41. flex-flow: row nowrap;
  42. justify-content: flex-start;
  43. }
  44. header h1 {
  45. font-family: Oswald, sans-serif;
  46. font-size: 2.8rem;
  47. text-transform: uppercase;
  48. font-weight: bolder;
  49. color: #0085c3;
  50. padding-left: 3px;
  51. }
  52. header li {
  53. display: inline;
  54. }
  55. header li a {
  56. text-decoration: none;
  57. color: #1a1a1a;
  58. padding: 10px 14px;
  59. font-family: Oswald, sans-serif;
  60. text-transform: uppercase;
  61. }
  62. header li a:hover {
  63. color: #0085c3;
  64. }
  65. header nav li:last-child a{
  66. color: #ffffff;
  67. background: #4ca54c;
  68. }
  69. header nav li:last-child a:hover {
  70. background: #3d843d;
  71. }
  72. /*-----------------------------slider---------------------------------------*/
  73. section.slider {
  74. margin-top: 77px ;
  75. background: #00618d;
  76. color: #ffffff;
  77. padding: 50px 0;
  78. }
  79. section .content {
  80. display: flex;
  81. flex-flow: row nowrap;
  82. justify-content: space-between;
  83. }
  84. section h2 {
  85. font-size: 2.8rem;
  86. padding-bottom: 28px;
  87. }
  88. section .left-cont {
  89. font-family: Oswald, sans-serif;
  90. width: 50%;
  91. }
  92. section .right-cont .bottom {
  93. display: flex;
  94. flex-flow: row nowrap;
  95. justify-content: space-between;
  96. }
  97. section.slider a {
  98. width: 47%;
  99. padding: 16px 32px;
  100. margin-bottom: 28px;
  101. text-decoration: none;
  102. text-align: center;
  103. text-transform: uppercase;
  104. }
  105. section .right-cont .bottom .bottom1 {
  106. background: #4ca54c;
  107. color: #ffffff;
  108. }
  109. section .right-cont .bottom .bottom2 {
  110. background: #f1f1f1;
  111. color: #1a1a1a;
  112. }
  113. section .right-cont .bottom .bottom1:hover {
  114. background: #3d843d;
  115. color: #ffffff;
  116. }
  117. section .right-cont .bottom .bottom2:hover {
  118. background: #3d843d;
  119. color: #ffffff;
  120. }
  121. /*-----------------------------main---------------------------------------*/
  122. main.content {
  123. display: flex;
  124. flex-flow: row nowrap;
  125. justify-content: space-between;
  126. padding: 20px 0;
  127. }
  128. main .main-left {
  129. width: 64%;
  130. display: flex;
  131. flex-flow: row wrap;
  132. justify-content: space-between;
  133. }
  134. main article {
  135. width: 50%;
  136. padding: 20px;
  137. }
  138. main article h2 {
  139. padding-bottom: 16px;
  140. font-size: 2.8rem;
  141. font-family: Oswald, sans-serif;
  142. }
  143. main .main-right {
  144. width: 36%;
  145. background: #eee;
  146. margin: 20px;
  147. padding: 40px;
  148. }
  149. main .main-right h2 {
  150. font-weight: 700;
  151. font-size: 2.4rem;
  152. font-family: Oswald, sans-serif;
  153. }
  154. main .main-right p {
  155. border-bottom: 1px solid #f9f9f9;
  156. padding-bottom: 10px;
  157. margin: 16px 0;
  158. font-weight: 400;
  159. font-size: 1.6rem;
  160. }
  161. main .main-right p i {
  162. padding-right: 16px;
  163. }
  164. /*-----------------------------footer---------------------------------------*/
  165. footer section.content{
  166. display: flex;
  167. flex-flow: column wrap;
  168. justify-content: center;
  169. align-items: center;
  170. font-size: 1.3rem;
  171. padding: 18px 0;
  172. border-top: 1px solid #eee;
  173. color: #686868;
  174. }
  175. footer .foot-menu, .social-menu {
  176. margin-bottom: 18px;
  177. }
  178. footer li {
  179. display: inline;
  180. }
  181. footer li a {
  182. color: #686868;
  183. text-decoration: none;
  184. padding: 10px 12px;
  185. }
  186. footer li a:hover {
  187. color: #0085c3;
  188. }
  189. footer .social-menu {
  190. display: flex;
  191. flex-flow: row nowrap;
  192. justify-content: center;
  193. }
  194. footer .social-menu a {
  195. border: 1px solid #d1d1d1;
  196. border-radius: 50%;
  197. color: #1a1a1a;
  198. height: 35px;
  199. width: 35px;
  200. font-size: 1.6rem;
  201. margin-right: 10px;
  202. text-align: center;
  203. line-height: 2;
  204. }
  205. footer .social-menu a:hover {
  206. color: #0085c3;
  207. }