main.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. @font-face {
  2. font-family: 'ENFA';
  3. src: url('./font/enA.ttf') format('truetype');
  4. unicode-range: U+0000-007F;
  5. }
  6. @font-face {
  7. font-family: 'ENFB';
  8. src: url('./font/enB.ttf') format('truetype');
  9. unicode-range: U+0000-007F;
  10. }
  11. @font-face {
  12. font-family: 'ZHFA';
  13. src:url('./font/zhA_main.woff2') format('woff2');
  14. }
  15. .header {
  16. display: flex;
  17. align-items: center;
  18. background-color: #f9faff;
  19. overflow: hidden;
  20. margin: 0;
  21. padding: 0 20px;
  22. }
  23. .header h1 {
  24. float: left;
  25. color: #000000;
  26. text-align: center;
  27. font-size: 24px;
  28. margin-right: 20px;
  29. font-family: "ZHFA", sans-serif;
  30. }
  31. .header a {
  32. float: left;
  33. color: #333;
  34. text-align: center;
  35. padding: 14px 16px;
  36. text-decoration: none;
  37. font-size: 17px;
  38. }
  39. .main{
  40. background-color: #f9faff;
  41. padding: 100px 90px;
  42. }
  43. .main .text {
  44. font-size: 78px;
  45. }
  46. .main .text .textA {
  47. color: #494949;
  48. font-family: "ZHFA", sans-serif;
  49. }
  50. .main .text .textB {
  51. color: #587efd;
  52. font-family: "ENFA", sans-serif;
  53. }
  54. .main button{
  55. vertical-align: middle;
  56. width: 130px;
  57. height: 45px;
  58. padding: 15px 20px;
  59. border: none;
  60. border-radius: 5px;
  61. cursor: pointer;
  62. font-size: 18px;
  63. text-decoration: none;
  64. display: inline-block;
  65. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  66. line-height: 15px;
  67. text-align: center;
  68. }
  69. .main .buttonA{
  70. background-color: #007bff;
  71. color: white;
  72. margin-right: 15px;
  73. }
  74. .main .buttonB{
  75. background-color: #ffffff;
  76. color: #000000;
  77. }
  78. .background{
  79. background-color: #ffffff;
  80. display: flex;
  81. justify-content: center;
  82. margin: 25px 0;
  83. }
  84. .projects{
  85. display: block;
  86. justify-content: flex-start;
  87. }
  88. .projects h2{
  89. font-size: 34px;
  90. color: #0f9050;
  91. font-family: "ZHFA", sans-serif;
  92. }
  93. .blocks{
  94. display: flex;
  95. gap: 30px;
  96. justify-content: center;
  97. margin-bottom: 55px;
  98. }
  99. .blocks .inner{
  100. box-sizing: border-box;
  101. border: 1px solid #b1b1b1;
  102. border-radius: 10px;
  103. width: 400px;
  104. padding: 20px;
  105. transition: background-color 0.7s ease;
  106. }
  107. .blocks .inner img,
  108. .blocks .inner h1 {
  109. display: inline-block;
  110. font-family: "ENFB", sans-serif;
  111. }
  112. .blocks .inner:hover {
  113. background-color: #eaeefd;
  114. transition: background-color 0.7s ease;
  115. }
  116. .info {
  117. background-color: #f9faff;
  118. padding: 25px 90px;
  119. padding-bottom: 15px;
  120. font-size: 20px;
  121. display: flex;
  122. gap: 40px;
  123. justify-content: center;
  124. /*font-family: "ZHFB", sans-serif;*/
  125. }
  126. .info .info-text .quote{
  127. margin: 20px 0;
  128. font-size: 26px;
  129. font-family: "ZHFA", sans-serif;
  130. }
  131. .news{
  132. width: 1240px;
  133. justify-content: flex-start;
  134. margin-bottom: 40px;
  135. font-size: larger;
  136. }
  137. .news h2{
  138. font-size: 34px;
  139. color: #d58113;
  140. font-family: "ZHFA", sans-serif;
  141. }
  142. .footer {
  143. padding: 25px 16px;
  144. background-color: #001c37;
  145. text-align: center;
  146. font-size: 14px;
  147. color: #ffffff;
  148. overflow: hidden;
  149. }
  150. .footer a {
  151. color: #ffffff;
  152. text-decoration: none;
  153. }
  154. .page404{
  155. background-color: #f9faff;
  156. overflow: hidden;
  157. padding: 200px 0;
  158. }
  159. .page404 h1{
  160. text-align: center;
  161. }
  162. .page404 .text{
  163. display: flex;
  164. justify-content: center;
  165. }
  166. .page404 .text button{
  167. vertical-align: middle;
  168. width: 200px;
  169. height: 40px;
  170. padding: 15px 20px;
  171. border: none;
  172. border-radius: 5px;
  173. cursor: pointer;
  174. font-size: 16px;
  175. text-decoration: none;
  176. display: inline-block;
  177. line-height: 15px;
  178. text-align: center;
  179. background-color: #007bff;
  180. color: white;
  181. margin-right: 15px;
  182. }