@@ -104,25 +104,24 @@ p {
104
104
}
105
105
106
106
.top-navigation {
107
- width : 1024 px ;
108
- margin : 0 auto ;
109
- height : 50px ;
110
- top : 0 ;
107
+ display : flex ;
108
+ width : 1000 px ;
109
+ height : 50px ;
110
+ margin : 0 auto ;
111
111
}
112
+
112
113
.nav-bar {
113
- display : inline-block ;
114
- vertical- align: middle ;
114
+ flex-grow : 2 ;
115
+ align-self : center ;
115
116
}
116
117
117
- .top-navigation nav {
118
- width : 74% ;
119
- text-align : justify;
120
- }
121
- .top-navigation nav ul li {
122
- display : inline-block;
123
-
118
+
119
+ .top-navigation nav ul {
120
+ display : flex;
121
+ justify-content : space-evenly;
124
122
}
125
123
124
+
126
125
.top-navigation nav ul li a {
127
126
text-decoration : none;
128
127
color : # 636363 ;
@@ -134,26 +133,25 @@ p {
134
133
border-bottom : 2px solid # 636363 ;
135
134
}
136
135
136
+ .top-navigation .top-logo {
137
+ width : 220px ;
138
+ text-align : right;
139
+ }
140
+
137
141
.top-navigation .logo {
138
- width : 15 % ;
142
+ max- width: 190 px ;
139
143
margin-top : 5px ;
140
- max-width : 150px ;
141
144
}
142
145
143
146
/* end navigation */
144
147
145
148
/* header */
146
149
147
150
header {
148
- display : inline-block;
149
- width : 100% ;
151
+ display : flex;
150
152
margin : 70px auto;
151
153
}
152
154
153
- header .half {
154
- display : inline-block;
155
- margin : 0 auto;
156
- }
157
155
158
156
.header-title {
159
157
width : 450px ;
@@ -191,11 +189,12 @@ header .half {
191
189
background-size : cover;
192
190
background-attachment : fixed;
193
191
height : 450px ;
194
- padding-top : 150px ;
192
+ padding-top : 150px ;
193
+ width : 100% ;
195
194
}
196
195
197
196
.about-header h1 {
198
- color : white ;
197
+ color : black ;
199
198
font-size : 72px ;
200
199
width : 600px ;
201
200
text-align : center;
@@ -205,8 +204,24 @@ header .half {
205
204
border-bottom : 2px solid # 636363 ;
206
205
}
207
206
207
+ /* services header */
208
+
209
+ .header-services img {
210
+ width : 100% ;
211
+ height : auto;
212
+ }
213
+
214
+ .header-services figcaption {
215
+ margin-top : 50px ;
216
+ }
217
+
218
+ .header-services figcaption h1 {
219
+ font-size : 25px ;
220
+ }
221
+
208
222
/* end header */
209
223
224
+
210
225
/* main */
211
226
212
227
main {
@@ -216,11 +231,13 @@ main {
216
231
margin-bottom : 20px ;
217
232
}
218
233
234
+ .main-top {
235
+ display : flex;
236
+ }
237
+
219
238
.box-top {
220
- display : inline-block;
221
- width : 485px ;
222
- margin : 0 auto;
223
239
padding : 10px ;
240
+ flex-wrap : wrap;
224
241
}
225
242
226
243
@@ -233,18 +250,15 @@ main {
233
250
height : auto;
234
251
}
235
252
253
+ .main-bottom {
254
+ display : flex;
255
+ }
236
256
237
257
.box-bottom {
238
- display : inline-block;
239
- width : 325px ;
240
- margin : 0 auto;
241
258
padding : 10px ;
242
259
}
243
260
244
261
.box-bottom-about {
245
- display : inline-block;
246
- width : 325px ;
247
- margin : 0 auto;
248
262
padding : 10px ;
249
263
}
250
264
@@ -259,12 +273,17 @@ main {
259
273
}
260
274
261
275
/* about page */
276
+ .main-top-about {
277
+ display : flex;
278
+ flex-wrap : wrap;
279
+ justify-content : space-around;
280
+ }
281
+
282
+
283
+
262
284
.box-top-about {
263
- display : inline-block;
264
- width : 485px ;
265
- margin : 0 auto;
266
- padding : 0 30px 20px ;
267
- margin-bottom : 50px ;
285
+ margin : 35px 0px ;
286
+ width : 48% ;
268
287
box-shadow : 0 2px 2px 0 # D6D6D6 ;
269
288
}
270
289
@@ -283,11 +302,17 @@ main {
283
302
margin : 0 auto;
284
303
}
285
304
305
+ .box-top-about p {
306
+ padding : 20px ;
307
+ }
308
+
286
309
.more-content {
287
310
margin-top : 50px ;
288
311
text-align : center;
289
312
color : # 636363 ;
290
313
font-size : 72px ;
314
+ flex-grow : 3 ;
315
+
291
316
}
292
317
293
318
.more-content h2 {
@@ -296,8 +321,40 @@ main {
296
321
297
322
hr {
298
323
background : # 636363 ;
324
+
299
325
}
300
326
327
+ /* main services */
328
+
329
+ .main-services {
330
+ display : flex;
331
+ justify-content : space-evenly;
332
+ flex-wrap : wrap;
333
+ }
334
+
335
+ .main-services .box-services {
336
+ width : 45% ;
337
+ margin : 20px ;
338
+ padding : 20px ;
339
+ background-color : # f4f3f4 ;
340
+ border : 1px solid black;
341
+ }
342
+
343
+ .main-services .box-services h2 {
344
+ font-weight : 700 ;
345
+ font-size : 18px ;
346
+ }
347
+ .main-services .box-services button {
348
+ display : block;
349
+ margin-top : 20px ;
350
+ background-color : white;
351
+ border : 1px solid black;
352
+ border-radius : 3px ;
353
+ padding : 5px 15px ;
354
+ cursor : pointer;
355
+ }
356
+
357
+
301
358
/* end main */
302
359
303
360
/* footer */
@@ -317,7 +374,7 @@ footer address a {
317
374
318
375
footer h6 {
319
376
text-align : center;
320
- margin-bottom : 50px ;
377
+ margin : 50px 0 ;
321
378
}
322
379
323
380
@@ -332,4 +389,25 @@ footer h6 {
332
389
}
333
390
334
391
392
+ .footer-services {
393
+ display : flex;
394
+ justify-content : space-between;
395
+ }
396
+
397
+ .footer-services section {
398
+ padding-right : 30px ;
399
+ }
400
+
401
+ .footer-services section ul {
402
+ margin-top : 50px ;
403
+ list-style-type : square;
404
+ list-style-position : inside;
405
+ }
406
+
407
+ .footer-services section ul li {
408
+ line-height : 2 ;
409
+ }
410
+
411
+
412
+
335
413
/* end footer */
0 commit comments