-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWeather.css
105 lines (104 loc) · 1.79 KB
/
Weather.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
* {
margin: 0;
padding: 0;
}
body {
background-color: black;
display: flex;
justify-content: center;
align-items: center;
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
.card {
border-radius: 1rem;
width: 23rem;
padding-bottom: 30px;
margin: 100px auto 0;
text-align: center;
background: linear-gradient(135deg, #60a3d9, #bfd7ed);
color: #fff;
}
.search {
height: 3.5rem;
width: 18.5rem;
margin: 2rem auto;
display: flex;
justify-content: space-evenly;
}
.search input {
height: 2.5rem;
width: 12rem;
font-size: 16px;
padding: 0 15px;
border-radius: 30px;
border: 1px solid white;
background-color: #fff;
margin-top: 6px;
}
.search img {
height: 20px;
width: 20px;
}
.search button {
height: 2.5rem;
width: 2.5rem;
border-radius: 30px;
margin-top: 6px;
background-color: #fff;
border: 1px solid #fff;
cursor: pointer;
}
.search-inp:focus {
border: 1px solid rgb(36, 35, 35);
}
.search-btn:active {
border: 1px solid rgb(36, 35, 35);
}
.weather-icon {
width: 10rem;
}
.weather h1 {
font-size: 2.5rem;
font-weight: 500;
}
.weather h2 {
font-size: 1.8rem;
font-weight: 400;
margin-top: 5px;
}
.details {
display: flex;
align-items: center;
justify-content: space-evenly;
padding: 0 0;
margin-top: 2.6rem;
}
.col {
display: flex;
align-items: center;
text-align: left;
}
.col img {
width: 35px;
margin-right: 0.8rem;
opacity: 0.8;
}
.humidity,
.wind,
.feels_like {
font-size: 1.5rem;
margin-top: -0.3rem;
opacity: 0.8;
}
.feel {
font-size: 1.5rem;
font-weight: 400;
opacity: 0.8;
}
.red{
background-color: red;
}
.margin{
margin-top: 0.7rem;
margin-bottom: 0.7rem;
}