forked from zsqosos/weather
-
Notifications
You must be signed in to change notification settings - Fork 0
/
weather.css
115 lines (115 loc) · 1.96 KB
/
weather.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
107
108
109
110
111
112
113
114
115
body,div,h1,h2,h3,h4,h5,h6,input,header,main,ul,li,footer,p,span,section{
padding: 0;
margin: 0;
}
html,body{
height: 100%;
min-width: 960px;
}
body{
background: url(images/bg.jpg) no-repeat;
font-size: 14px;
font-family: "microsoft yahei";
-webkit-background-size: 100%;
background-size: 100%;
color: #222;
}
header{
height: 50px;
padding-left: 80px;
background: rgba(100, 100, 100, 0.6);
}
h1{
padding-right: 30px;
line-height: 50px;
font-size: 30px;
float: left;
}
#weather_search{
margin-top: 10px;
float: left;
}
#weather_search span{
height: 30px;
float: left;
}
#text{
padding: 0 6px 0 6px;
background: #fff;
font-size: 14px;
width: 240px;
height: 30px;
border: none;
outline: none;
}
#btn{
width: 70px;
height: 30px;
border: none;
background: rgba(255,255,255,0.5);
color: #333;
outline: none;
cursor: pointer;
}
#btn:hover{
background: rgba(255, 255, 255, 0.3);
}
section{
padding-top: 90px;
}
#today_container{
width: 900px;
margin: 0 auto;
padding: 20px;
background: rgba(100,100,100,0.3);
overflow: hidden;
}
#today_container div img {
margin: 0 50px 0 40px;
float: left;
}
.main_info{
font-size: 24px;
margin-bottom: 10px;
}
.main_info span{
margin: 0 15px;
}
.main_info span:first-child{
margin-left: 0;
}
.more_info {
margin-top: 3px;
font-size: 16px;
}
.more_info span{
margin: 0 15px 0 0;
}
#future_container{
margin: 80px auto 0 auto;
width: 950px;
text-align: center;
overflow: hidden;
}
#future_container div{
float: left;
width: 150px;
padding: 20px 0;
margin: 0 20px;
background: rgba(100, 100, 100, 0.3);
}
#future_container div:hover{
background: rgba(200,200,200,0.5);
}
#future_container div span{
display: block;
}
footer{
position: absolute;
bottom: 0;
width: 100%;
}
footer div{
width: 175px;
margin: 0 auto;
}