@@ -29,11 +29,21 @@ a:hover{
29
29
color : # c81623 ;
30
30
}
31
31
32
+ # wrap {
33
+ background : url ("./img/home.webp" ) no-repeat;
34
+ background-position : center center;
35
+ background-attachment : fixed;
36
+ background-size : cover;
37
+ /* font-family: Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue"; */
38
+ }
32
39
33
40
.header {
41
+ line-height : 50px ;
42
+ }
43
+
44
+ .header nav {
34
45
height : 50px ;
35
46
background-color : # ccc ;
36
- line-height : 50px ;
37
47
}
38
48
39
49
nav ul li {
@@ -51,4 +61,253 @@ nav ul li{
51
61
color : # fff ;
52
62
font-weight : 700 ;
53
63
letter-spacing : 2px ;
64
+ }
65
+
66
+ .banner {
67
+ margin : auto;
68
+ height : 600px ;
69
+ background : rgba (0 , 0 , 0 , 0.4 );
70
+ }
71
+
72
+ .banner .inner {
73
+ position : relative;
74
+ margin : 0 auto;
75
+ max-width : 300px ;
76
+ top : 160px ;
77
+ text-align : center;
78
+ color : # fff ;
79
+ }
80
+
81
+ .line {
82
+ width : 60% ;
83
+ height : 2px ;
84
+ margin : 0 auto;
85
+ background-color : # fff ;
86
+ margin-bottom : 10px ;
87
+ }
88
+
89
+ .inner h1 {
90
+ margin-bottom : 10px ;
91
+ }
92
+
93
+ .banner .inner p {
94
+ line-height : 30px ;
95
+ font-size : 18px ;
96
+ letter-spacing : 1px ;
97
+ }
98
+
99
+ .banner .inner button {
100
+ margin-top : 20px ;
101
+ padding : 10px 20px ;
102
+ border-radius : 5px ;
103
+ background-color : rgb (31 , 194 , 139 );
104
+ border : none;
105
+ color : # fff ;
106
+ cursor : pointer;
107
+ outline : none;
108
+ }
109
+
110
+ .banner .inner .more {
111
+ margin-top : 140px ;
112
+ }
113
+
114
+ .content {
115
+ opacity : .9 ;
116
+ }
117
+
118
+ .part_one {
119
+ background-color : rgb (67 , 178 , 165 , 1 );
120
+ text-align : center;
121
+ color : # fff ;
122
+ padding-top : 65px ;
123
+ opacity : 0.95 ;
124
+ width : 100% ;
125
+ }
126
+
127
+ .wraper {
128
+ margin : 0 auto;
129
+ max-width : 1080px ;
130
+ }
131
+ .wraper h2 {
132
+ padding : 15px 0 ;
133
+ font-size : 27px ;
134
+ }
135
+ .wraper .line {
136
+ margin : 15px auto;
137
+ background-color : darkgray;
138
+ width : 40% ;
139
+ }
140
+
141
+ .wraper p {
142
+ padding : 15px 0 ;
143
+ font-size : 18px ;
144
+ letter-spacing : 1px ;
145
+ }
146
+
147
+ .icon {
148
+ margin : 30px auto;
149
+ padding-bottom : 50px ;
150
+ margin-bottom : 0px ;
151
+ }
152
+ .icon .item {
153
+ border : 2px solid green;
154
+ display : inline-block;
155
+ margin-right : 50px ;
156
+ width : 80px ;
157
+ height : 80px ;
158
+ transform : rotate (45deg );
159
+ }
160
+
161
+ .icon .item img {
162
+ width : 100% ;
163
+ height : 100% ;
164
+ /* transform: rotate(-45deg); */
165
+ }
166
+
167
+ .part_two {
168
+ background : rgb (33 , 41 , 50 );
169
+ opacity : 0.95 ;
170
+ }
171
+
172
+ .part_two : nth-child (odd){
173
+ background : rgba (33 , 41 , 50 , 0.9 );
174
+ }
175
+
176
+ .first > div {
177
+ float : left;
178
+ }
179
+
180
+ .clear_fix : after {
181
+ content : '' ;
182
+ display : block;
183
+ clear : both;
184
+ }
185
+
186
+ .first_left {
187
+ width : 45% ;
188
+ }
189
+
190
+ .first_left img {
191
+ width : 100% ;
192
+ }
193
+
194
+ .first_text {
195
+ position : relative;
196
+ width : 55% ;
197
+ top : 30px ;
198
+ left : 30px ;
199
+ color : white;
200
+ }
201
+ .first_text > * {
202
+ max-width : 90% ;
203
+ letter-spacing : 1px ;
204
+ }
205
+
206
+ .first_text h2 {
207
+ font-size : 24px ;
208
+ margin-bottom : 12px ;
209
+ }
210
+
211
+ .first_text .first_title {
212
+ margin-bottom : 15px ;
213
+ font-size : 20px ;
214
+ }
215
+
216
+ .first_text p {
217
+ font-size : 18px ;
218
+ }
219
+
220
+
221
+ .part_three {
222
+ background : # 3f3965 ;
223
+ opacity : 0.9 ;
224
+ color : # fff ;
225
+ }
226
+
227
+ .three_wrap {
228
+ margin : 0 auto;
229
+ padding-top : 65px ;
230
+ width : 80% ;
231
+ }
232
+
233
+ .three_wrap .three_text {
234
+ width : 60% ;
235
+ }
236
+
237
+ .three_text {
238
+ margin : 0 auto;
239
+ }
240
+
241
+ .three_text h2 {
242
+ margin-bottom : 20px ;
243
+ text-align : center;
244
+ }
245
+
246
+ .three_text .line {
247
+ background : # 1a0973 ;
248
+ width : 55% ;
249
+ margin-bottom : 20px ;
250
+ }
251
+
252
+ .card_group {
253
+ margin : 0 auto;
254
+ }
255
+
256
+ .card {
257
+ width : 50% ;
258
+ min-height : 300px ;
259
+ padding : 50px ;
260
+ float : left;
261
+ max-width : 461px ;
262
+ box-sizing : border-box;
263
+ -webkit-box-sizing : border-box;
264
+ -moz-box-sizing : border-box;
265
+ margin-top : 20px ;
266
+ }
267
+
268
+ .card h2 {
269
+ text-align : center;
270
+ }
271
+
272
+ .card : nth-child (1 ){
273
+ background-color : rgba (0 , 0 , 0 , 0.05 );
274
+ }
275
+
276
+ .card : nth-child (2 ){
277
+ background-color : rgba (0 , 0 , 0 , 0.1 );
278
+ }
279
+
280
+ .card : nth-child (3 ){
281
+ background-color : rgba (0 , 0 , 0 , 0.15 );
282
+ }
283
+
284
+ .card : nth-child (4 ){
285
+ background-color : rgba (0 , 0 , 0 , 0.2 );
286
+ }
287
+
288
+ .card : nth-child (5 ){
289
+ background-color : rgba (0 , 0 , 0 , 0.25 );
290
+ }
291
+
292
+ .card : nth-child (6 ){
293
+ background-color : rgba (0 , 0 , 0 , 0.3 );
294
+ }
295
+
296
+ .footer {
297
+ background : # 333 ;
298
+ color : # fff ;
299
+ min-height : 200px ;
300
+ text-align : center;
301
+ }
302
+
303
+ .share_group {
304
+ display : block;
305
+ margin : 0 auto;
306
+ width : 1080px ;
307
+ padding : 45px ;
308
+ }
309
+
310
+ .share_group li {
311
+ display : inline-block;
312
+ padding : 10px ;
54
313
}
0 commit comments