-
Notifications
You must be signed in to change notification settings - Fork 0
/
cityweather.css
99 lines (84 loc) · 1.63 KB
/
cityweather.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
* {
background-color: #040b16;
color: aliceblue;
}
#cityname {
outline: none;
border: none;
color: #9a9a9a;
border-bottom: 2px solid white;
width: 150px;
padding: 5px;
font-size: 15px;
}
#cityname:focus {
border: none;
border-bottom: 2px solid rgb(181, 171, 171);
}
button {
margin-left: 8px;
background-color: #040b16;
color: white;
padding: 5px;
border-radius: 25px;
border: 2px solid white;
}
button:hover {
background-color: white;
color: #040b16;
padding: 5.5px;
}
::placeholder {
font-size: 15px;
}
#srch {
margin-top: 50px;
margin-left: 40px;
}
h2 {
text-align: center;
margin-top: 50px;
color: aquamarine;
}
#data_show {
width: 90%;
margin: auto;
display: flex;
margin-top: 80px;
flex-direction: row;
justify-content: space-between;
}
p {
font-size: 20px;
}
#data_show>div>div:nth-child(1)>p:nth-child(1) {
color: rgb(241, 248, 46);
font-size: 30px;
margin-right: 20px;
}
#data7_days {
margin: auto;
margin-top: 40px;
width: 80%;
display: grid;
grid-template-columns: repeat(7, 1fr);
padding: 4px;
column-gap: 10px;
}
#data7_days>div {
border: 1px solid rgb(249, 246, 246);
display: flex;
flex-direction: column;
align-items: center;
border-radius: 10px;
box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}
#data7_days>div>p {
margin-top: -5px;
}
#data7_days>div>p:nth-child(1) {
margin-top: 15px;
}
#data7_days>div>p:nth-child(3) {
margin-top: 0px;
}