Skip to content

Commit ab2f469

Browse files
committed
add google import links, add aboutContainer, weatherContainer, root, and footer formatting
1 parent c727b3d commit ab2f469

File tree

1 file changed

+86
-2
lines changed

1 file changed

+86
-2
lines changed

weatherApp/css/style.css

Lines changed: 86 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/********************Font Formatting********************/
2+
/*Import M Plus round font*/
3+
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');
4+
5+
/*Import Nunito San*/
6+
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
7+
/********************End of Font Formatting********************/
8+
19
/********************General Formatting********************/
210
* {
311
padding: 0;
@@ -7,13 +15,89 @@
715

816
/*Body formatting*/
917
body {
10-
background-image: url(../images/beautiful-clouds-digital-art.jpg);
18+
background-image: url(../images/lightClouds.jpeg);
1119
background-size: cover;
1220
background-position: center;
1321
background-attachment: fixed;
1422
}
1523
/********************End of General Formatting********************/
1624

25+
/********************Root Formatting********************/
26+
:root {
27+
--section-header-font-family: 'Nunito Sans';
28+
--section-header-font-size: 5em;
29+
}
30+
/********************End of Root Formatting********************/
31+
1732
/********************Header Formatting********************/
33+
/*Format nav bar*/
34+
.navbar {
35+
font-family: 'M PLUS Rounded 1c', sans-serif;
36+
}
37+
.navbar a {
38+
padding: 10px;
39+
font-size: 4em;
40+
align-items: center;
41+
color: white;
42+
}
43+
44+
/*Format icon in nav bar*/
45+
a i {
46+
color: orange;
47+
font-size: 1em;
48+
}
49+
50+
/*Format hamburger menu*/
51+
1852

19-
/********************End of Header Formatting********************/
53+
/********************End of Header Formatting********************/
54+
55+
/********************Section Formatting********************/
56+
/*Format weather container*/
57+
.weatherContainer {
58+
background-color: white;
59+
display: flex;
60+
flex-direction: column;
61+
align-items: center;
62+
justify-content: center;
63+
padding: 50px;
64+
margin: 100px 20px 20px 20px;
65+
border-radius: 50px;
66+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
67+
}
68+
69+
/*Format weather container h2 tag*/
70+
.weatherContainer h2 {
71+
font-family: var(--section-header-font-family);
72+
font-weight: bolder;
73+
font-size: var(--section-header-font-size);
74+
}
75+
76+
/*Format about section*/
77+
.aboutContainer {
78+
display: flex;
79+
flex-direction: column;
80+
align-items: center;
81+
justify-content: center;
82+
padding: 50px;
83+
margin: 80px 20px 20px 20px;
84+
}
85+
86+
/*Format about section h2*/
87+
.aboutContainer h2 {
88+
font-family: var(--section-header-font-family);
89+
font-size: var(--section-header-font-size);
90+
font-weight: bolder;
91+
}
92+
/********************End of Section Formatting********************/
93+
94+
/********************Footer Formatting********************/
95+
footer {
96+
text-align: center;
97+
font-family: monospace;
98+
font-size: 2em;
99+
background-color: #0d6ffc;
100+
color: white;
101+
padding: 20px;
102+
}
103+
/********************End of sFooter Formatting********************/

0 commit comments

Comments
 (0)