-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
116 lines (97 loc) · 1.82 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
*{
font-family: "Poppins", sans-serif;
}
body{
background: linear-gradient(90deg, rgba(33,106,219,1) 0%, rgba(0,212,255,1) 100%);
}
.main-container{
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.container{
margin: 5%;
padding: 50px;
border: 1px solid white;
border-radius: 30px;
box-shadow: 0px 0px 213px rgba(0, 0, 0, 0.581);
}
h1{
font-size: 50px;
}
.input-text{
width: 300px;
height: 50px;
padding: 5px 15px;
border-radius: 15px;
border: 1px solid white;
background-color: #ffffff49;
backdrop-filter: blur(10px);
font-size: 18px;
font-weight: bold;
outline: none;
}
.get-button{
width: 180px;
font-weight: bold;
font-size: 20px;
height: 60px;
margin-left: 20px;
border: none;
background-color: rgb(246, 255, 0);
border-radius: 15px;
border: 1px solid black;
cursor: pointer;
}
::placeholder{
color: #0000007f;
}
.weather-details{
margin-top: 50px;
}
.cityname{
font-size: 50px;
margin: 10px;
}
.temp{
font-size: 45px;
margin: 10px;
}
.desc{
font-size: 40px;
margin: 10px;
}
@media screen and (max-width: 560px){
.container{
margin: 10%;
}
}
@media screen and (max-width: 450px){
.container{
margin: 20%;
}
.title-text{
font-size: 20px;
}
.container{
width: 60%;
}
.cityname, .temp, .desc{
font-size: 9vw;
}
.input-text{
width: 90%;
}
.get-button{
width: 80%;
height: 50px;
font-size: 5vw;
}
}
@media screen and (max-width: 720px){
.get-button{
margin: 0;
margin-top: 10px;
}
}