Skip to content

Commit a24a9cc

Browse files
committed
add weatherContainer, weatherContent, and weatherBox formatting
1 parent 352db73 commit a24a9cc

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

weatherApp/css/style.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,65 @@ html {
6969
/********************End of Header Formatting********************/
7070

7171
/********************Section Formatting********************/
72+
73+
/**Weather Formatting**/
74+
.weatherContainer {
75+
display: flex;
76+
flex-direction: column;
77+
align-items: center;
78+
justify-content: center;
79+
margin: 25px;
80+
}
81+
82+
/*Format weather content*/
83+
.weatherContent {
84+
background-color: #0d6efd;
85+
width: 100%;
86+
padding: 5%;
87+
border-radius: 12px;
88+
text-align: center;
89+
display: flex;
90+
flex-direction: column;
91+
align-items: center;
92+
justify-content: center;
93+
}
94+
95+
.weatherContent h2 {
96+
font-family: var(--primary-font);
97+
font-size: 2em;
98+
font-weight: bold;
99+
color: white;
100+
letter-spacing: 2px;
101+
}
102+
103+
/*Format weather content search input*/
104+
.weatherBox {
105+
display: flex;
106+
align-items: center;
107+
justify-content: center;
108+
margin-top: 20px;
109+
}
110+
111+
.weatherBox input {
112+
border: none;
113+
outline: none;
114+
border-radius: 12px;
115+
padding: 10px;
116+
background-color: #f8f9fa;
117+
}
118+
119+
/*Format weather content search button*/
120+
.weatherBox button {
121+
border: none;
122+
outline: none;
123+
border-radius: 50%;
124+
width: 50px;
125+
padding: 10px;
126+
background-color: #f8f9fa;
127+
margin-left: 10px;
128+
font-size: 1.3em;
129+
}
130+
72131
/**About Formatting**/
73132
.aboutContainer {
74133
display: flex;

0 commit comments

Comments
 (0)