forked from mokayaj857/simple-weather-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
64 lines (56 loc) · 1.06 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
body {
font-family: Arial, sans-serif;
background-size: cover;
background-position: center;
height: 100vh;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 320px;
padding: 20px;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
text-align: center;
}
h1 {
font-size: 28px;
margin-bottom: 20px;
color: #333;
}
input[type="text"] {
width: 100%;
padding: 12px;
margin-bottom: 12px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
}
button {
background-color: #007BFF;
color: #fff;
border: none;
padding: 12px 20px;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #0056b3;
}
.weather-info {
margin-top: 20px;
}
#temperature {
font-size: 24px;
font-weight: bold;
}
#description {
margin-top: 10px;
font-size: 18px;
color: #666;
}