-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
218 lines (191 loc) · 4.38 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
body {
background: url(images/general.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
box-sizing: border-box;
}
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgb(34, 34, 34, 0.98);
padding: 1rem;
text-align: center;
width: 50vw;
height: auto;
border-radius: 10px;
box-shadow: 0px 0px 5px 5px rgb(34, 34, 34, 0.98);
/* border-color: rgb(34, 34, 34, .98); */
border: 5px solid transparent;
}
.location {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
input {
border-color: transparent;
border-radius: 9999px;
width: 80%;
padding: 0.7rem;
margin: 2rem auto 0 auto;
font-family: 'Lora', serif;
font-style: italic;
}
button {
/* -moz-box-shadow: inset 0px 1px 3px 0px #91b8b3;
-webkit-box-shadow: inset 0px 1px 3px 0px #91b8b3;
box-shadow: inset 0px 1px 3px 0px #91b8b3;
background: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0.05, #768d87),
color-stop(1, #6c7c7c)
);
background: -moz-linear-gradient(top, #768d87 5%, #6c7c7c 100%);
background: -webkit-linear-gradient(top, #768d87 5%, #6c7c7c 100%);
background: -o-linear-gradient(top, #768d87 5%, #6c7c7c 100%);
background: -ms-linear-gradient(top, #768d87 5%, #6c7c7c 100%);
background: linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#768d87', endColorstr='#6c7c7c',GradientType=0); */
/* background-color: #768d87;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 9999px;
border: 1px solid #566963;
display: inline-block;
cursor: pointer;
color: #ffffff;
font-weight: bold;
/* padding:11px 23px; */
/* padding: 0.5rem;
text-decoration: none;
text-shadow: 0px -1px 0px #2b665e; */
width: 11rem;
padding: .7rem 1.2rem;
margin: 1rem 2rem;
font-family: 'Montserrat', sans-serif;
font-weight: 800;
font-size: .9rem;
border-radius: 3rem;
cursor: pointer;
background-color: whitesmoke;
border: 1px solid whitesmoke;
transition: all .3s;
}
.buttons {
margin-top: 2rem;
}
button:hover {
/* background: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0.05, #6c7c7c),
color-stop(1, #768d87)
);
background: -moz-linear-gradient(top, #6c7c7c 5%, #768d87 100%);
background: -webkit-linear-gradient(top, #6c7c7c 5%, #768d87 100%);
background: -o-linear-gradient(top, #6c7c7c 5%, #768d87 100%);
background: -ms-linear-gradient(top, #6c7c7c 5%, #768d87 100%);
background: linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6c7c7c', endColorstr='#768d87',GradientType=0);
background-color: #6c7c7c; */
background-color: #6c7c7c;
border: 1px solid #6c7c7c;
color: whitesmoke ;
}
button:active {
position: relative;
top: 1px;
}
/* Weather info */
.weather-main {
color: black;
/* position: relative; */
}
.weather-main p,
h3 {
font-size: 1.1rem;
text-align: left;
font-family: 'Hind Madurai', sans-serif;
}
h1 {
font-family: 'Montserrat', sans-serif;
color: rgb(204, 204, 204);
}
h2 {
font-family: 'Montserrat', sans-serif;
margin-top: 0;
margin-bottom: 1rem;
}
h3 {
font-size: 1.3rem;
text-transform: capitalize;
text-align: center;
}
#error-message {
font-size: 1rem;
color: rgb(206, 23, 23);
background-color: white;
text-transform: capitalize;
border-radius: 5px;
padding: 0.5rem;
margin: 0.5rem;
display: none;
}
/* Map */
#map {
width: 100%;
height: 200px;
overflow: hidden;
position: relative;
margin: 2rem auto;
display: none;
border-radius: 10px;
}
.data-container {
column-count: 2;
margin-left: 2rem;
/* Do not display it initially */
display: none;
}
.data {
display: inline-block;
width: 100%;
margin: .7rem 0;
}
/* Media querries */
@media (max-width: 1024px) {
.container {
width: 80vw;
position: static;
top: 0;
left: 0;
transform: none;
margin: 1rem auto;
}
.data-container {
margin-left: 2rem;
}
}
@media (max-width: 767px) {
.container {
width: 90vw;
}
}
@media (max-width: 480px) {
.container {
position: absolute;
/* width: 100vw; */
margin: 0;
}
.data-container {
column-count: 1;
}
}