Skip to content

Commit a190ae6

Browse files
committed
add nav link formatting, search input formatting, and button link formatting
1 parent ba80a89 commit a190ae6

File tree

1 file changed

+63
-1
lines changed

1 file changed

+63
-1
lines changed

weatherApp/css/style.css

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ body {
2323
background-position: center;
2424
background-attachment: fixed;
2525
}
26+
27+
/*Format h3 h4 tags*/
2628
/********************End of General Formatting********************/
2729

2830
/********************Root Formatting********************/
@@ -39,13 +41,24 @@ body {
3941
.navbar {
4042
font-family: 'M PLUS Rounded 1c', sans-serif;
4143
}
44+
45+
/*Format nav link logo*/
4246
.navbar a {
4347
padding: 10px;
4448
font-size: 4em;
4549
align-items: center;
50+
color: orange;
51+
font-weight: bolder;
52+
}
53+
54+
/*Format nav links in collapse div*/
55+
.navbar-collapse a {
4656
color: white;
57+
font-weight: normal;
58+
font-family: monospace;
4759
}
4860

61+
4962
/*Format icon in nav bar*/
5063
a i {
5164
color: orange;
@@ -66,7 +79,7 @@ a i {
6679
/********************Section Formatting********************/
6780
/*Format weather container*/
6881
.weatherContainer {
69-
background-color: white;
82+
background-color: #0d6ffc;
7083
display: flex;
7184
flex-direction: column;
7285
align-items: center;
@@ -84,6 +97,55 @@ a i {
8497
font-size: var(--section-header-font-size);
8598
}
8699

100+
/*Format search container*/
101+
.searchBar {
102+
display: flex;
103+
align-items: center;
104+
justify-content: center;
105+
width: 100%;
106+
font-size: 3em;
107+
}
108+
109+
/*Format search input field*/
110+
.searchBar input {
111+
border: none;
112+
outline: none;
113+
padding: 15px;
114+
border-radius: 50px;
115+
margin-top: 25px;
116+
margin-right: 25px;
117+
padding: 25px;
118+
}
119+
120+
/*Format search button*/
121+
.searchBar button {
122+
background: white;
123+
border: none;
124+
border-radius: 50%;
125+
outline: none;
126+
cursor: pointer;
127+
margin-top: 25px;
128+
margin-right: 25px;
129+
padding: 25px;
130+
text-align: center;
131+
font-size: 65px;
132+
width: 150px;
133+
}
134+
135+
/*Format weather result container*/
136+
.weatherResult {
137+
display: flex;
138+
flex-direction: column;
139+
align-items: center;
140+
justify-content: center;
141+
padding: 50px;
142+
margin: 50px 20px 20px 20px;
143+
}
144+
145+
/*Format weather icon*/
146+
.weatherIcon {
147+
width: 100%;
148+
}
87149
/*Format about section*/
88150
.aboutContainer {
89151
display: flex;

0 commit comments

Comments
 (0)