-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
91 lines (85 loc) · 1.54 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
90
91
*{
padding: 0;
margin: 0;
}
#container{
background-image: url(images/weather.jpg);
background-repeat: no-repeat;
background-size: cover;
height: 100vh;
width: 100%;
display: flex;
align-items: center;
flex-direction: row;
}
#place-name{
display: flex;
color: rgb(245, 249, 249);
flex-direction: column;
align-items: center;
margin-bottom: 30px;
}
#city-name{
height: 80px;
display: flex;
justify-content: center;
margin: 10px;
}
#city-temp{
height: 80px;
display: flex;
align-items: center;
justify-content: center;
font-size: 35px;
color: aliceblue;
}
#search{
border-radius: 25px;
height: 30px;
padding: 10px;
padding-left: 20px;
font-size: 20px;
border: none;
outline: none;
}
#info{
width: 30%;
display: flex;
align-items: center;
flex-direction: column;
color: rgb(248, 251, 251);
}
#coord{
width: 30%;
display: flex;
align-items: center;
flex-direction: column;
color: rgb(248, 251, 251);
}
#main-weather{
width: 40%;
display: flex;
align-items: center;
flex-direction: column;
}
@media screen and (max-width: 700px) {
#container{
background-image: none;
background-color: rgb(55, 216, 162);
flex-direction: column;
height: 100vh;
}
#info{
display: none;
}
#place-name{
margin-bottom: 40px;
margin-top: 20px;
}
#coord{
display: none;
}
#city-name{
margin-bottom: 60px;
}
}