-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
106 lines (91 loc) · 1.91 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
* {
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
color: rgba(95, 86, 232, 0.7);
background-color: #f0f0f0;
text-shadow: 0.5px 0.5px 1px black;
background: url(./Depositphotos_109768154_S-sky.jpg) center / cover no-repeat;
min-height: 100vh;
}
.container {
max-width: 600px;
margin: 0 auto;
text-align: center;
padding: 15px;
background-color: rgba(255, 255, 255, 0.3);
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
margin-top: 105px;
display: flex;
flex-direction: column;
row-gap: 20px;
align-items: center;
justify-content: space-between;
}
h1 {
font-size: 24px;
}
#control {
display: flex;
align-items: center;
justify-content: space-between;
gap: 5px;
}
#location {
text-align: left;
}
input[type="text"] {
width: 100%;;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.3);
}
button {
background-color: rgba(0, 123, 255, 0.3);
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: rgba(0, 123, 255, 0.5);
}
.active {
background-color: rgba(0, 123, 255, 0.5);
}
.weather-info {
margin-top: 20px;
}
.weather-info div {
display: flex;
align-items: center;
justify-content: space-around;
gap: 10px;
}
.units-container {
display: flex;
gap: 10px;
}
#temperature {
border-right: 1px solid white;
}
.desc-wind {
padding: 10px;
display: flex;
flex-direction: column;
row-gap: 10px;
align-items: flex-end;
}
.fivedays {
display: flex;
gap: 15px;
align-items: center;
flex-wrap: wrap;
justify-content: space-evenly;
padding: 10px;
}