-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweather.css
More file actions
82 lines (81 loc) · 1.43 KB
/
weather.css
File metadata and controls
82 lines (81 loc) · 1.43 KB
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
*{
transition: all .4s ease-in;
box-sizing: border-box;
}
body{
color: #fff;
background-color: #3399cc;
padding: 10px 80px;
}
header{
margin-left: 200px;
font-size: 18px;
}
footer{
margin-top: 10px;
margin-left: 250px;
font-size: 18px;
}
.weather-wrap{
list-style: none;
width: 600px;
border: 2px solid #fff;
padding: 0;
font-size: 0;
}
.weather-element{
border: 2px solid #fff;
display: inline-block;
height: 80px;
width: 25%;
padding: 5px 0;
font-size: 16px;
opacity: 0.75;
}
.weather-element:hover{
opacity: 1;
}
.weather-element.weather-medium{
width: 50%;
}
.weather-element.weather-big{
width: 100%;
}
.weather-element:nth-child(2){
background-color: #33cccc;
}
.city-name, .temp{
text-align: center;
height: 35px;
line-height: 35px;
}
.temp{
opacity: 0.65;
}
.weather-element:nth-child(3){
background-color: #9a669a;
}
.weather-element:nth-child(4){
background-color: #c34545;
}
.weather-element:nth-child(5){
background-color: #e36749;
}
.weather-element:nth-child(6){
background-color: #ffcd66;
}
.weather-element:nth-child(7){
background-color: #9acd9a;
}
.weather-element:nth-child(8){
background-color: #669a9a;
}
.weather-element:nth-child(9){
background-color: #cd669a;
}
.weather-element:nth-child(10){
background-color: #2f9a66;
}
.weather-element:nth-child(11){
background-color: #66669a;
}