-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (78 loc) · 1.63 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
body {
margin: 0;
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
text-align: center;
background-color: rgb(21, 52, 72);
}
h1 {
color: rgb(223, 208, 184);
text-shadow: 5px 5px 5px rgb(0, 0, 0);
}
.container {
background-color: rgb(60, 91, 111);
width: 50%;
margin: auto;
margin-top: 50px;
padding: 20px;
border-radius: 10px;
box-shadow: 5px 5px 5px rgb(0, 0, 0);
}
form {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
}
.city-name {
padding: 10px;
width: 60%;
border-radius: 5px;
border: none;
background-color: rgb(223, 208, 184);
color: rgb(0, 0, 0);
box-shadow: 5px 5px 5px rgb(21, 52, 72);
}
.get-weather {
padding: 10px 20px;
margin-left: 8px;
border-radius: 5px;
border: none;
background-color: rgb(223, 208, 184);
color: rgb(0, 0, 0);
box-shadow: 5px 5px 5px rgb(21, 52, 72);
cursor: pointer;
}
#weather-data {
text-shadow: 5px 5px 5px rgb(21, 52, 72);
color: rgb(223, 208, 184);
}
.icon img {
width: 100px;
height: 100px;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
}
.temperature {
font-size: 48px;
font-weight: bold;
margin: 20px 0;
}
.description {
font-size: 24px;
margin-bottom: 20px;
}
.details {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
flex-wrap: wrap;
}
.details > div {
padding: 20px;
background-color: rgb(223, 208, 184);
color: rgb(21, 52, 72);
border-radius: 5px;
margin: 10px;
}