-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
144 lines (121 loc) · 2.73 KB
/
style.css
File metadata and controls
144 lines (121 loc) · 2.73 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
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
*{
margin:0px;
padding: 0px;
box-sizing: border-box;
}
body{
background: #44A08D; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #093637, #44A08D); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #093637, #44A08D); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.card{
width: 90%;
max-width: 470px;
background: rgb(2,0,36);
background: #360033;
background: #44A08D; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #093637, #44A08D); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #093637, #44A08D); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
color: #fff;
margin: 100px auto 0;
border-radius: 20px;
padding: 40px 35px;
display :flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
gap: 50px;
}
.search button{
background-color:cornsilk;
border-radius: 5px;
border: none;
border-radius: 30px;
height: 55px;
width: 55px;
padding: 2px;
padding: 3px;
}
button:hover{
transition: all 0.3s linear 0s;
transform: scale(0.9);
}
.search{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
gap: 6px;
}
.searchbar{
border: 0;
outline: 0;
background: rgb(229, 228, 223);
color: #555;
padding: 10px 25px;
height: 60px;
border-radius: 30px;
flex: 1;
margin-right: 6px;
font-size:18px
}
#img1{
height: 0.8rem;
width: 0.8rem;
}
.weather{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 4px;
}
.temp{
font-size: 22px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.city{
font-size: 3px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.weather-icon{
width: 100px;
margin-top: 10px;
}
.weather h1{
font-weight: 500;
font-size: 60px
}
.weather h2{
font-weight: 400;
font-size: 45px;
margin-top: -10px;
}
.details{
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
gap: 60px;
margin-top: 50px ;
padding: 0 20px;
}
.col{
display: flex;
align-items: center;
text-align: left;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 10px;
}
.col img{
width: 40px;
margin-right: 10px;
}
.humidity, wind{
font-size:10px ;
margin-top: -6px;
}
.weather{
display: none;
}