-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
78 lines (70 loc) · 1.42 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
body {
background-image: url("https://cdn.pixabay.com/photo/2016/11/22/19/33/sea-1850228_960_720.jpg");
background-size: 100% 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: Arial, sans-serif;
color: black;
background-repeat: no-repeat;
}
#weather-container {
display: flex;
flex-direction: column;
align-items: center;
/*background-color: rgba(242, 242, 242, 0.8);*/
padding: 40px;
border-radius: 10px;
/*box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
width: 60%;
height: 200px;
position: relative;
top: -190px;
}
form {
display: flex;
align-items: center;
margin-top: 50px;
}
input[type="text"] {
height: 40px;
font-size: 18px;
padding: 5px;
margin-right: 10px;
border: none;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
width: 70%;
}
button[type="submit"] {
height: 50px;
font-size: 18px;
background-color: lightblue;
border: none;
color: white;
cursor: pointer;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
width: 25%;
}
#weather-info {
margin-top: 20px;
margin-right: 80px;
text-align: center;
font-size: 21.8px;
}
.temperature {
color: #333;
font-size: 36px;
margin-top: 20px;
}
.weather-desc {
color: gray;
font-size: 18px;
margin-top: 10px;
}
.location {
font-size: 24px;
margin-top: 20px;
}