-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
281 lines (263 loc) · 12.4 KB
/
index.html
File metadata and controls
281 lines (263 loc) · 12.4 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
<!--Originally designed by @lin714093880-->
<!--Revise by @Clarence-->
<!DOCTYPE html>
<html>
<head>
<title>成都理工大学信息安全协会</title>
<meta charset="UTF-8">
<!-- <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/semantic-ui/2.2.13/semantic.min.css"> -->
<link rel="stylesheet" type="text/css" href="css/semantic.min.css">
<style type="text/css">
.hidden.menu {
display: none;
}
.masthead.segment {
min-height: 900px;
padding: 1em 0em;
}
.masthead .logo.item img {
margin-right: 1em;
}
.masthead .ui.menu .ui.button {
margin-left: 0.5em;
}
.masthead h1.ui.header {
margin-top: 1em;
margin-bottom: 0em;
font-size: 5em;
font-weight: normal;
}
.masthead h2 {
font-size: 1.7em;
font-weight: normal;
}
.ui.vertical.stripe {
padding: 8em 0em;
}
.ui.vertical.stripe h3 {
font-size: 2em;
}
.ui.vertical.stripe .button + h3,
.ui.vertical.stripe p + h3 {
margin-top: 3em;
}
.ui.vertical.stripe .floated.image {
clear: both;
}
.ui.vertical.stripe p {
font-size: 1.33em;
}
.ui.vertical.stripe .horizontal.divider {
margin: 3em 0em;
}
.quote.stripe.segment {
padding: 0em;
}
.quote.stripe.segment .grid .column {
padding-top: 5em;
padding-bottom: 5em;
}
.footer.segment {
padding: 5em 0em;
}
.secondary.pointing.menu .toc.item {
display: none;
}
@media only screen and (max-width: 700px) {
.ui.fixed.menu {
display: none !important;
}
.secondary.pointing.menu .item,
.secondary.pointing.menu .menu {
display: none;
}
.secondary.pointing.menu .toc.item {
display: block;
}
.masthead.segment {
min-height: 350px;
}
.masthead h1.ui.header {
font-size: 2em;
margin-top: 1.5em;
}
.masthead h2 {
margin-top: 0.5em;
font-size: 1.5em;
}
}
</style>
</head>
<body>
<!-- Following Menu -->
<div class="ui large top fixed hidden menu">
<div class="ui container">
<a class="item" href="index.html">首页</a>
<a class="item" href="active.html">活动</a>
<a class="item" href="competition.html">比赛</a>
<a class="item" href="memcer.html">成员</a>
<a class="item" href="system.html">制度</a>
<a class="item" href="honor.html">荣誉</a>
<div class="right menu">
<div class="item">
<a class="ui button" target="_blank" href="http://cdutsec.gitee.io/blog/">Dino blog</a>
</div>
</div>
</div>
</div>
<!-- Page Contents -->
<div class="pusher">
<div class="ui inverted vertical masthead center aligned segment">
<div class="ui container">
<div class="ui large secondary inverted pointing menu">
<a class="active item" href="index.html">首页</a>
<a class="item" href="active.html">活动</a>
<a class="item" href="competition.html">比赛</a>
<a class="item" href="member.html">成员</a>
<a class="item" href="system.html">制度</a>
<a class="item" href="honor.html">荣誉</a>
<div class="right item">
<a class="ui inverted button" target="_blank" href="http://cdutsec.gitee.io/blog/">Dino blog</a>
</div>
</div>
</div>
<script>
window.onload = function(){
//获取画布对象
var canvas = document.getElementById("mom");
//获取画布的上下文
//getContext() 方法返回一个用于在画布上绘图的环境。
var context =canvas.getContext("2d");
//获取浏览器屏幕的宽度和高度
var W = window.innerWidth;
var H = window.innerHeight;
//设置canvas的宽度和高度
canvas.width = W;
canvas.height = H;
//每个文字的字体大小
var fontSize = 16;
//计算列
var colunms = Math.floor(W /fontSize);
//记录每列文字的y轴坐标
var drops = [];
//给每一个文字初始化一个起始点的位置
//计算每一个文字所谓坐标 存储y轴的坐标
for(var i=0;i<colunms;i++){
drops.push(0);
}
//运动的文字
var str ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzアナスイシリーズからドムをプレゼンりやかなベルガモットオジビタからロピカなフアやャクヤなどがミドっぱくラバニラサダウのブはとてもおいしそうなりんかマカョабвгдеёжзийклмнопрстуфхцчшщъыьэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯαβγδεζηθικλμνξοπρστυφχψω";
//4:fillText(str,x,y);原理就是去更改y的坐标位置
//绘画的函数
function draw(){
context.fillStyle = "rgba(0,0,0,0.05)";
//fillRect() 方法绘制“已填色”的矩形。默认的填充颜色是黑色。
context.fillRect(0,0,W,H);
//给字体设置样式
context.font = "700 "+fontSize+"px 微软雅黑";
//给字体添加颜色
context.fillStyle ="#00cc33";//可以rgb,hsl, 标准色,十六进制颜色
//写入画布中
for(var i=0;i<colunms;i++){
var index = Math.floor(Math.random() * str.length);//设置文字出发时间随机 Math.floor(Math.random()*str.length)让数组里面的文字索引随机出现
var x = i*fontSize;
var y = drops[i] *fontSize;//也让y轴方向也向下掉一个文字的距离
context.fillText(str[index],x,y);
// //如果要改变时间,肯定就是改变每次他的起点
if(y >= canvas.height && Math.random()>0.99){
drops[i] = 0;
}
drops[i]++;//让数组里面的值每次加一,用于上面的y轴下掉
}
};
//随机颜色
function randColor(){
var r = Math.floor(Math.random() * 256);
var g = Math.floor(Math.random() * 256);
var b = Math.floor(Math.random() * 256);
return "rgb("+r+","+g+","+b+")";
}
draw();
setInterval(draw,20);
};
</script>
<canvas id="mom" style="position: static;z-index: 1;width: 100%;height: 100%;"></canvas>
<div style="position: absolute;z-index: 2;top: 40%;left: 50%;transform: translate(-50%,-50%);">
<h1 class="ui inverted header"><img src="img/logo_s.png" style="width: auto;height:auto;"></h1>
<!-- <h1 class="ui inverted header">成都理工大学</h1> -->
<h1 style="font-size: 1.5em;">信息安全协会</h1>
<h1 style="font-size: 2em">CDUT Information Security Ass</h1>
</div>
</div>
<div class="ui two column doubling stackable grid container">
<div class="column">
<h1></h1>
<h1></h1>
<h1 style="text-align: center;">协会简介</h1>
<p style="font-size: 20px;text-align: left;">信息安全协会成立于2006年,致力于学习、研究和交流安全技术,营造安全技术交流氛围,创建成理人自己的安全技术社团。</p>
<p style="font-size: 20px;text-align: left;">协会积极组织同学学习网络空间安全相关知识,并参加各大ctf比赛,曾在全国大学生信息安全知识大赛、四川省大学生信息安全技术大赛、“强网杯”全国网络安全挑战赛以及省内各大高校的ctf大赛等比赛中获得优异成绩。</p>
<p style="font-size: 20px;text-align: left;">协会挂靠计算机与网络安全学院,还经常主持举办成都理工大学校内ctf网络攻防大赛</p>
</div>
<div class="column">
<img src="img/xiehui.jpg" class="ui rounded image">
</div>
</div>
<div class="ui two column doubling stackable grid container">
<div class="column">
<h1></h1>
<h1></h1>
<h1></h1>
<h1></h1>
<h1 style="text-align: center;">Dino战队简介</h1>
<p style="font-size: 20px;text-align: left;">dino战队于2020年正式成立,由其前身Archean战队发展招新后而来。dino战队入驻学院网络攻防实验室,指导老师为成都理工大学计算机与网络安全学院副教授、硕士生导师李冬芬老师。</p>
<!-- <p style="font-size: 20px;text-align: left;">dino取名于恐龙英语单词dinosaur,来源于成都理工大学的恐龙校徽</p> -->
</div>
<div class="column">
<img src="img/zhandui.gif" class="ui rounded image">
</div>
</div>
<div class="ui vertical masthead center aligned segment" style="padding: 0; background-color: #1b1c1d;">
<img src="1.jpg" style="width: 100%;" />
</div>
<div class="ui inverted vertical footer segment">
<div class="ui container">
<div class="ui stackable inverted divided equal height stackable grid">
<div class="three wide column">
<h4 class="ui inverted header">官方网站</h4>
<div class="ui inverted link list">
<a href="http://www.cdut.edu.cn/" target="_blank" class="item">成都理工大学</a>
<a href="http://www.cist.cdut.edu.cn/" target="_blank" class="item">计算机与网络安全学院</a>
<a href="http://wxc.cdut.edu.cn/" target="_blank" class="item">网络与信息化处</a>
</div>
</div>
<div class="three wide column">
<h4 class="ui inverted header">分站</h4>
<div class="ui inverted link list">
<a href="http://cdutsec.gitee.io/blog/" class="item">信息安全协会博客</a>
</div>
</div>
<div class="seven wide column">
<h4 class="ui inverted header">2019-2021 © 成都理工大学信息安全协会</h4>
<p>By <a href="http://cdutsec.gitee.io/blog/" target="_blank">Dino</a>.</p>
<p>地址:成都理工大学成都校区网安楼209室</p>
<!-- <p><a href="http://beian.miit.gov.cn">蜀ICP备2021020791号</a></p> -->
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function() {
$('.masthead').visibility({
once: false,
onBottomPassed: function() {
$('.fixed.menu').transition('fade in');
},
onBottomPassedReverse: function() {
$('.fixed.menu').transition('fade out');
}
});
});
</script>
</body>
</html>