Skip to content

Commit 03beb24

Browse files
committed
add project highlight item formatting and add project highlight desktop media query
1 parent 278b0a5 commit 03beb24

File tree

1 file changed

+77
-18
lines changed

1 file changed

+77
-18
lines changed

css/style.css

Lines changed: 77 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ header {
9292
align-items: center;
9393
justify-content: space-between;
9494
animation: fadedown 1s ease-in-out;
95-
background-color: rgba(211, 211, 211);
9695
}
9796

9897
/*Format hamburger menu*/
@@ -196,14 +195,6 @@ section h2 {
196195
font-size: var(--second-font-size);
197196
}
198197

199-
/*Format section bg*/
200-
.sectionBg {
201-
background-image: url(../images/monochrome3d.jpg);
202-
background-size: cover;
203-
background-position: center;
204-
background-attachment: fixed;
205-
}
206-
207198
/**Hero section formatting**/
208199

209200
/*Format hero section*/
@@ -295,14 +286,53 @@ section h2 {
295286
/*Format about section*/
296287
.aboutContainer {
297288
margin-bottom: 50px;
289+
text-align: left;
290+
margin: 50px;
298291
}
292+
299293
/*Format about section text*/
300294
.aboutContainer p {
301295
letter-spacing: 2px;
302296
line-height: 2;
303297
font-family: 'Barlow-Regular', sans-serif;
304298
font-weight: bolder;
305-
font-size: 1em;
299+
font-size: 15px;
300+
text-align: left;
301+
padding: 20px;
302+
}
303+
304+
/*Format project highlight item*/
305+
.projectHighlightItem {
306+
text-align: left;
307+
margin-top: 80px;
308+
margin: 80px 20px 20px 20px;
309+
}
310+
311+
/*Format project high boxicon*/
312+
.projectHighlightItem i {
313+
font-size: 10em;
314+
padding: 25px;
315+
background-color: #9ce2e1;
316+
border-radius: 50%;
317+
}
318+
319+
/*Format project highlight item h3*/
320+
.projectHighlightItem h3 {
321+
font-family: var(--primary-round-font);
322+
font-size: 5em;
323+
color: black;
324+
padding: 20px;
325+
}
326+
327+
/*Format project highlight item p*/
328+
.projectHighlightItem p {
329+
letter-spacing: 2px;
330+
line-height: 2;
331+
font-family: 'Barlow-Regular', sans-serif;
332+
font-weight: bolder;
333+
font-size: 15px;
334+
text-align: left;
335+
padding: 20px;
306336
}
307337

308338
/**Project section Formatting**/
@@ -368,7 +398,6 @@ footer {
368398
font-size: var(--footer-font-size);
369399
font-family: var(--footer-font-family);
370400
font-weight: bolder;
371-
background-color: rgba(212, 212, 212, 0.8);
372401
}
373402
/************End of Footer Formatting************/
374403

@@ -456,18 +485,48 @@ footer {
456485
/*Format about section*/
457486
.aboutContainer {
458487
display: flex;
459-
flex-direction: row;
460-
align-items: center;
461-
justify-content: center;
488+
flex-direction: row-reverse;
489+
justify-content: space-between;
490+
padding: 50px;
491+
gap: 100px;
492+
margin: 80px 20px 20px 20px;
462493
}
463494

495+
/*Format aboutcontainer img content*/
496+
.aboutContainer .aboutContent img {
497+
width: 30%;
498+
margin-left: 20px;
499+
}
500+
501+
/*Format about section h2*/
502+
.aboutContainer .aboutContent h2 {
503+
font-size: 4em;
504+
margin-left: 20px;
505+
}
464506
/*Format about section text*/
465-
.aboutContainer p {
466-
width: 65%;
467-
padding: 50px;
468-
font-size: 2em;
507+
.aboutContainer .aboutContent p {
508+
width: 100%;
509+
margin-left: 20px;
510+
font-size: 1.3em;
469511
text-align: left;
470512
}
513+
514+
/*Format project highlight items*/
515+
.projectHighlightItem i {
516+
font-size: 3em;
517+
margin-left: 20px;
518+
}
519+
520+
/*Format project highlight text*/
521+
.projectHighlightItem h3 {
522+
font-size: 2em;
523+
}
524+
525+
/*Format project highlight p tag*/
526+
.projectHighlightItem p {
527+
font-size: 1.5em;
528+
width: 100%;
529+
}
471530
/*Format project grid*/
472531
.projectGrid {
473532
grid-template-columns: 1fr 1fr 1fr;/*Create a 3 column grid*/

0 commit comments

Comments
 (0)