-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
114 lines (99 loc) · 2.16 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
/* Content Panel */
.contentPanel {
height: 100vh;
position: relative;
background-color: rgb(235, 235, 235);
background-image: url(pexels-pixabay-height.jpg);
}
.gridContainer {
display: grid;
grid-template-columns: 55% auto;
grid-template-rows: auto auto;
gap: 40px;
align-content: center;
height: 100%;
}
.weatherForm {
margin-left: 25%;
background-color: rgb(255, 255, 255);
border-radius: 10px;
grid-row: 1/ 2;
}
.weatherForm h2 {
padding: 20px 20px;
display: flex;
justify-content: center;
background-color: rgb(245, 245, 245);
border-top-right-radius: 10px;
border-top-left-radius: 10px;
font-size: 20px;
font-family: 'Open Sans', sans-serif;
color: rgb(51, 51, 51);
font-weight: 800;
line-height: 1.2;
}
.weatherForm h2 span {
color: rgb(29,179,54);
margin: 0 6px;
}
.weatherForm .formControl {
margin: 20px 0;
text-align: center;
}
.weatherForm .formControl input:focus {
outline: none;
}
.weatherForm input[type='text'] {
border: 0;
border-bottom: 1px solid rgb(214, 214, 214);
width: 285px;
height: 31px;
font-family: 'Open Sans', sans-serif;
font-size: 18px;
text-align: center;
padding-top: 6px;
padding-left: 0px;
padding-bottom: 6px;
}
.weatherForm input[type='submit'] {
height: 54px;
width: 100%;
background-color: rgb(29,179,54);
border: 0;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
font-size: 18px;
font-family: 'Open Sans', sans-serif;
font-weight: 500;
color: rgb(255, 255, 255);
line-height: 1.2;
}
.forecastResult {
margin-right: 25%;
background-color: rgb(255, 255, 255);
border-radius: 10px;
/* border: 1px solid rgb(29,179,54); */
grid-row: 1/ span 2;
}
.forecastResult ul {
list-style: none;
text-align: center;
margin: 10px 0;
}
.forecastResult ul li {
font-size: 30px;
font-family: "Raleway";
margin: 15px 0;
}
.forecastResult ul li img {
width: 80px;
}
.forecastResult hr {
height: 2px;
color: rgb(214, 214, 214);
}