-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
73 lines (73 loc) · 1.55 KB
/
style.css
File metadata and controls
73 lines (73 loc) · 1.55 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
body{
background: radial-gradient( #f8f7f3, #e0c3fc, #8ec5fc, #d4fc79, #fceabb);
background-size: 400% 400%;
animation: iridescentShift 15s ease infinite;
font-family: sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
form{
display: flex;
flex-direction: column;
align-items: center;
}
#cityInput{
font-size: 1.5rem;
border-radius: 10px;
margin: 10px;
text-align: center;
}
#inputBtn{
font-size: 1.5rem;
max-width: 50%;
border-radius: 10px;
margin: 10px;
background: hsl(227, 98%, 45%);
color: white;
border: none;
}
#inputBtn:hover{
background: hsl(227, 98%, 55%);
box-shadow: 1px 1px 2px black;
}
#weatherOutput{
background: linear-gradient(135deg, #52eea3, #3cd3e7, #23a6d5, #23d5ab);
animation: gradient 5s ease infinite;
color: rgb(255, 255, 255);
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.388);
padding: 20px;
min-width: 300px;
display: flex;
flex-direction: column;
align-items: center;
border-radius: 30px;
}
@keyframes iridescentShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
#name{
font-size: 3rem;
}
#temprature{
font-size: 2rem;
}
#weather{
font-size: 2.5rem;
font-style: italic;
}
#emoji{
font-size: 3rem;
}
#error{
font-size: 2rem;
}