-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
139 lines (126 loc) · 3.62 KB
/
index.html
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="baidu-site-verification" content="E14tWoCfnE" />
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title> 一个适合私人使用的邮件服务器 简单快速部署 安全保护隐私 </title>
<link rel="stylesheet" href="css/jquery.fullPage.css">
<style>
a {
text-decoration: none;
}
.section {
text-align: center;
font: 50px "Microsoft Yahei";
color: #fff;
}
#nav {
margin: 0;
padding: 0;
position: fixed;
z-index: 70;
height: 65px;
width: 100%;
background: #EE4537;
}
#nav ul {
list-style-type: none;
float: right;
}
#nav ul li {
float: left;
}
#nav ul li:hover>a {
text-decoration: underline;
}
#nav ul li a {
float: left;
color: #fff;
font-size: 22px;
margin: 0px 20px
}
#nav img {
float: left;
margin-left: 30px;
margin-right: 10px
}
#nav h1 {
float: left;
color: #fff;
line-height: 65px;
margin: 0px;
padding: 0px;
}
.section h3{
color: #EE4537;
}
.section p{
color: #EE4537;
}
</style>
<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/jquery.fullPage.min.js"></script>
<script src="http://cdn.staticfile.org/jquery-easing/1.3/jquery.easing.min.js"></script>
</head>
<body>
<div id='nav'>
<img src="./RedMail.png" width="65" height="65">
<h1>RedMail</h1>
<ul>
<li><a href="http://www.redmail.site">首页</a></li>
<li><a href="#">使用</a></li>
<li><a href="#">插件</a></li>
<li><a href="https://github.com/RedMail/RedMail">GitHub</a></li>
<li><a href="#">关于</a></li>
</ul>
</div>
<div id="main">
<div class="section one">
<h3>一个用于私人的邮件服务器</h3>
<p>A suitable for private use mail server</p>
</div>
<div class="section two">
<h3>简单, 快速的配置</h3>
<p>A simple rapid deployment</p>
</div>
<div class="section thr">
<h3>更多的选择和扩展</h3>
<p>More choice and extension</p>
</div>
</div>
</body>
<script type="text/javascript">
$(function() {
$('#main').fullpage({
sectionsColor: ['#FFE5E5', '#FCF9ED', '#F2FBE8'],
navigation: true,
menu: '#menu',
afterLoad: function(anchorLink, index){
console.log(index)
if(index == 1){
$('.one').find('p').fadeIn(1000);
}
if(index == 2){
$('.two').find('p').fadeIn(1000);
}
if(index == 3){
$('.thr').find('p').fadeIn(1000);
}
},
onLeave: function(index, direction){
if(index == '1'){
$('.one').find('p').fadeOut(1000);
}
if(index == '2'){
$('.two').find('p').fadeOut(1000);
}
if(index == '3'){
$('.thr').find('p').fadeOut(1000);
}
}
});
});
</script>
</html>