-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
66 lines (58 loc) · 1.16 KB
/
styles.css
File metadata and controls
66 lines (58 loc) · 1.16 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
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #f0f0f0;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-image: url(Images/background.png);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
.weather-container {
max-width: 400px;
margin: auto;
background-color: rgba(59, 117, 192, 0.213);
padding: 15px;
background: linear-gradient(59, 117, 192, 0.213);
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.logo {
height: 15%;
width: 15%;
}
h1 {
font-size: 24px;
}
.location {
margin-top: 20px;
}
#city {
padding: 5px;
width: 60%;
border: 1px solid #ccc;
border-radius: 5px;
}
#search {
padding: 5px 10px;
background-color: #007BFF;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.weather {
margin-top: 20px;
}
#city-name {
font-size: 20px;
}
#temperature {
font-size: 36px;
font-weight: bold;
}