-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
91 lines (79 loc) · 1.48 KB
/
styles.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #1291f881;
}
header, footer {
text-align: center;
padding: 1rem;
background-color: #1f1302;
color: white;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 80vh;
}
.input-container {
margin-bottom: 1rem;
}
#city-input {
width: 100%;
max-width: 300px;
height: 40px;
padding: 0 10px;
font-size: 1rem;
border: 1px solid rgb(243, 4, 4);
border-radius: 4px;
outline: none;
}
button {
width: 100%;
max-width: 150px;
height: 40px;
margin-top: 1rem;
background-color: #1f1302;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #e22d0cad;
}
#weather-data {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 2rem;
}
.weather-data-item {
margin-bottom: 0.5rem;
}
.weather-data-item h2 {
font-size: 1.5rem;
color: #3f3f3f;
margin-bottom: 0.2rem;
}
.weather-data-item p {
font-size: 1rem;
color: #666;
}
.weather-icon {
width: 100px;
height: 100px;
margin-bottom: 0.5rem;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}