-
Notifications
You must be signed in to change notification settings - Fork 0
/
weather.css
132 lines (131 loc) · 2.69 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
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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital@1&family=Oswald:wght@300&family=Roboto:wght@300&display=swap');
html{
height: 100%;
}
h1{
text-align: center;
}
body{
background: whitesmoke;
padding: 1rem 5rem;
font-family: 'Roboto', sans-serif;
text-transform: capitalize;
background: linear-gradient(45deg,rgba(183, 204, 248, 0.717),rgba(7, 43, 127, 0.679)), url('./w7.jpeg ');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
footer{
color:blue;
}
.header{
display: flex;
justify-content: space-between;
align-items: center;
}
.header h1{
color: rgb(214, 147, 45);
text-decoration: underline;
font-family: 'Orbitron', sans-serif;
}
#input{
font-size: 18px;
padding: 5px 10px;
outline: none;
border: none;
border-radius: 15px;
background: aliceblue;
}
#search{
background: none;
padding: 5px 20px;
color: aliceblue;
outline: none;
background: cadetblue;
font-size: 17px;
border-radius: 15px;
cursor: pointer;
border: none;
}
.weather{
text-align: center;
color: rgb(123, 65, 70);
}
#city{
font-size: 30px;
}
.weather img{
width: 120px;
height: 120px;
border-radius: 50%;
background: rgba(240, 248, 255, 0.408);
}
#temperature{
font-size: 50px;
margin: 0;
margin-left: 30px;
margin-bottom: 10px;
}
.temp-box{
display: flex;
align-items: center;
justify-content: center;
margin: 30px 0;
}
#clouds{
font-size: 20px;
background: rgba(153, 205, 50, 0.778);
padding: 2px 20px;
border-radius: 15px;
}
main{
display: grid;
grid-column-gap: 25px;
grid-template-columns: 1fr 5px 1fr;
align-items: center;
margin: 0 50px;
color: white;
}
.next{
display: flex;
justify-content: space-between;
align-items: center;
margin: 10px 0;
}
.next p,.next h3{
margin: 3px 0;
}
.forecstD{
margin: 20px 50px;
color: aliceblue;
}
.weekF{
display: grid;
grid-template-columns: repeat(4,1fr);
}
.cast-header{
color: aliceblue;
background: rgba(254, 189, 132, 0.539);
width: max-content;
padding: 5px 15px;
border-radius: 20px;
font-size: 18px;
margin-bottom: 5px;
}
.divider1,.divider2{
background: rgba(254, 189, 132, 0.539);
height: 200px;
border-radius: 5px;
}
.divider2{
height: 5px;
width: 30%;
margin: 0 auto;
}
.time,.date{
color: rgb(254, 189, 132);
}
.desc{
color:coral;
}