-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (94 loc) · 1.59 KB
/
style.css
File metadata and controls
96 lines (94 loc) · 1.59 KB
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
* {
font-family: "Nunito Sans", sans-serif;
}
h1,
h2,
p {
margin: 0;
padding: 0;
}
.card {
width: 320px;
background: #AA076B; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #61045F, #AA076B); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #61045F, #AA076B); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
margin: 0 auto;
padding: 30px;
border-radius: 20px;
color: #fff;
text-align: center;
}
.searchbar {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.searchbar input {
border: 0;
outline: 0;
background-color: #ebfffc;
padding: 10px 25px;
border-radius: 30px;
font-size: 18px;
}
.searchbar button {
border: none;
outline: none;
background: #ebfffc;
border-radius: 50%;
height: 45px;
width: 45px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
.searchbar button img {
width: 16px;
}
.details {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
margin-top: 30px;
}
.weather h1 {
font-size: 80px;
font-weight: 500;
}
.weather h2 {
font-size: 45px;
font-weight: 400;
}
.col {
display: flex;
align-items: center;
text-align: left;
}
.col img {
width: 28px;
margin-right: 10px;
}
.humidity,
.wind {
font-size: 40px;
}
.weather {
display: none;
transition: all linear 0.3s;
}
.error {
text-align: left;
margin: 15px 0 0 10px;
font-size: 18px;
color: #ebfffc;
display: none;
}
.error img {
width: 100%;
}
.message {
font-size: 18px;
}