-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.css
More file actions
84 lines (80 loc) · 1.54 KB
/
Copy pathindex.css
File metadata and controls
84 lines (80 loc) · 1.54 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
83
84
@charset "utf-8";
body {
color: #000000;
background: #fff;
text-align: center;
padding-top: 50px;
}
.clear {
clear: both;
height: 1px;
width: 100%;
overflow: hidden;
margin-top: -1px;
}
.clear {
clear: all;
}
.custom-section-left {
text-align: left;
}
.custom-section-left h1 {
width: 300px;
}
.youyan {
margin-top: 30px;
padding-left: 30px;
padding-right: 30px;
}
.search {
padding-left: 30px;
float: left;
}
/*----------------------------------------
页脚
------------------------------------*/
footer {
background: #333;
color: #eee;
font-size: 11px;
padding: 20px;
}
footer a {
color: cornflowerblue;
}
/*returnTop*/
p#back-to-top {
position: fixed;
display: none;
bottom: 100px;
right: 80px;
}
p#back-to-top a {
text-align: center;
text-decoration: none;
color: #d1d1d1;
display: block;
width: 64px;
/*使用CSS3中的transition属性给跳转链接中的文字添加渐变效果*/
-moz-transition: color 1s;
-webkit-transition: color 1s;
-o-transition: color 1s;
}
p#back-to-top a:hover {
color: #979797;
}
p#back-to-top a span {
background: transparent url(../img/top.png) no-repeat -25px -290px;
border-radius: 6px;
display: block;
height: 64px;
width: 56px;
margin-bottom: 5px;
/*使用CSS3中的transition属性给<span>标签背景颜色添加渐变效果*/
-moz-transition: background 1s;
-webkit-transition: background 1s;
-o-transition: background 1s;
}
#back-to-top a:hover span {
background: transparent url(../img/top.png) no-repeat -25px -290px;
}