Skip to content

Commit 957fd3e

Browse files
committed
add p tag formatting for about section, add section bg formatting, and new barlow font face
1 parent 40f9c15 commit 957fd3e

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

css/style.css

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,23 @@
3232
font-family: 'CreteRound-Regular';
3333
src: url(../fonts/CreteRound-Regular.ttf);
3434
}
35+
36+
@font-face {
37+
font-family: 'Barlow-Regular';
38+
src: url(../fonts/Barlow-Regular.ttf);
39+
}
3540
/************End of Font face Formatting************/
3641

3742
/************Root Formatting************/
3843
:root {
3944
--primary-round-font: 'VarelaRound-Regular';/*Font font family for h1 tags*/
4045
--primary-font-size: 6.5em;/*Primary font size*/
4146
--secondary-round-font: 'Quicksand-VariableFont_wght';/*Font family for h2 tags*/
42-
--second-font-size: 4em;/*Second font size for h2 tags*/
47+
--second-font-size: 5em;/*Second font size for h2 tags*/
4348
--card-title-font-family: 'CreteRound-Regular';/*Font family for h3 tags in project item titles*/
4449
--card-font-size: 4em;/*Font size for h3 tags in project item titles*/
4550
--footer-font-family: monospace;;
46-
--footer-font-size: 2em;/*Font size for footer*/
51+
--footer-font-size: 1em;/*Font size for footer*/
4752
}
4853
/************End of Root Formatting************/
4954

@@ -54,6 +59,7 @@ header {
5459
align-items: center;
5560
justify-content: space-between;
5661
animation: fadedown 1s ease-in-out;
62+
background-color: rgba(211, 211, 211);
5763
}
5864

5965
/*Format hamburger menu*/
@@ -84,6 +90,14 @@ section h2 {
8490
font-size: var(--second-font-size);
8591
}
8692

93+
/*Format section bg*/
94+
.sectionBg {
95+
background-image: url(../images/monochrome3d.jpg);
96+
background-size: cover;
97+
background-position: center;
98+
background-attachment: fixed;
99+
}
100+
87101
/**Hero section formatting**/
88102

89103
/*Format hero section*/
@@ -154,7 +168,20 @@ section h2 {
154168
margin-top: 20px;
155169
}
156170

171+
/**About section Formatting**/
157172

173+
/*Format about section*/
174+
.aboutContainer {
175+
margin-bottom: 50px;
176+
}
177+
/*Format about section text*/
178+
.aboutContainer p {
179+
letter-spacing: 2px;
180+
line-height: 2;
181+
font-family: 'Barlow-Regular', sans-serif;
182+
font-weight: bolder;
183+
font-size: 1em;
184+
}
158185

159186
/**Project section Formatting**/
160187
/*Format Project Grid*/
@@ -219,5 +246,6 @@ footer {
219246
font-size: var(--footer-font-size);
220247
font-family: var(--footer-font-family);
221248
font-weight: bolder;
249+
background-color: rgba(212, 212, 212, 0.8);
222250
}
223251
/************End of Footer Formatting************/

0 commit comments

Comments
 (0)