-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
297 lines (277 loc) · 9.53 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
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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>Redroadsl</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Redroadsl的个人网站(GitHub)">
<meta name="keywords" content="Redroadsl,BADSTONE STUDIO">
<meta name="renderer" content="webkit">
<link rel="shortcut icon" href="favicon.ico">
<script>
console.log("QQ:2020958753");
</script>
<link rel="stylesheet" href="//cdn.bootcss.com/gitalk/1.5.0/gitalk.min.css">
<script src="//cdn.bootcss.com/gitalk/1.5.0/gitalk.min.js"></script>
<style>
#scroll-line{background-color:red;
position:fixed;
top:0px;left:0px;
height:10px;width:10px;
text-align:right;
}
#scroll-line:hover{height:30px}
#baif{
text-align:right;
padding:4px 6px 4px;
display:inline-block;
background-color:pink;
}
html{//background:url(bg.bmp) no-repeat;}
p{animation:Qp 1s;}
@keyframes Qp{
from{font-size:1px}
to{font-size:16px}}
a{color:#000;}
.subtitle{
animation:Qs 1s;
text-align:center;}
div{animation:Qs 1s;}
@keyframes Qs{
from{color:rgba(0,0,0,0)}
to{color:rgba(0,0,0,1)}}
.text{
animation:Qtext 1s;
background-color:rgba(204,255,255,0.5);
border-radius:11px;
padding:32px;
margin:4px;}
@keyframes Qtext{
from{background-color:rgba(204,255,255,0);}
to{background-color:rgba(204,255,255,0.5);}}
.br{
box-shadow: 0 0 10px gray;
margin:16px;
padding:8px;
border-radius:22px;
background-color:#6DD;
height:max-content;}
body{
background-color:#6FF;
background-size: 180%;
margin:0px;}
#content{
text-align: center;
//width:70%;
margin:0px 13%;
height:80%;
}
#header{
text-align:center;
position:relative;
top:0px;
background-color:#6CF;
animation:Qheader 1s;
height:64px;
margin:0px;
padding:8px;
font-size:20px;
border-radius:0px}
@keyframes Qheader{
0%{
background-color:#6FF;
height:0px;
padding:0px;
border-radius:44px;
font-size:1px
}
50%{background-color:#6CF;
height:68px;
margin:0px;
padding:8px;
border-radius:22px;
font-size:24px
}
100%{background-color:#6CF;
height:64px;
margin:0px;
padding:8px;
border-radius:0px;
font-size:20px
}
}
#main{
height:100%;
}
#link{text-align:center;}
.linker{
transition:transform;
margin:4px;
padding:4px;
border-radius:11px;
display:inline-block;
animation:Qtext 1s;
background-color:rgba(204,255,255,0.5);}
.linker:hover{transform:scale(1.01,1.01);transition:transform 0.5s;box-shadow: 0 0 10px grey;}
</style>
</head>
<body>
<div id="scroll-line">
<div id="baif"></div></div>
<header id="header">
<h1 style="display:inline;text-align:center;" alt="别摸我">欢迎来到我的网站 ;D</h1>
<audio id="bgm" autoplay>
<source src="mikuv4_eng.mp3" type="audio/mpeg">
<span style="color:gray;">你的浏览器不爱听歌呦!</span>
</audio>
<script>
var playing=true;
var bgm=document.getElementById("bgm");
bgm.volume=0.5;
function bgmctrl()
{
if(playing)
{
bgm.pause();
playing=false;
}
else
{
bgm.play()
playing=true;
}
}
</script>
<button style="position:fixed;top:0px;left:0px;" onclick="bgmctrl();" type="button">我想静静</button>
</header>
<div id="content">
<div id="comment" class="br" style="text-align:center">
<p>这是Redroadsl的网页 (手工制作)<br/><span style="color:gray;">使用了Cookie技术</span></p>
</div>
<div id="main" class="br">
<h2 class="subtitle">个人介绍</h2>
<div class="text" style="">
我是一个人,....#$%^&*(@!~`=+-\|]}[';"/.:?,<br/>
我的生日:圣诞节,具体日期。。。不告诉你<br/>
我的爱好:计算机,音乐<br/>
我的作品:亿堆堆<span style="color:rgba(255,255,255,0.5)">(包括本网页)</span><br/>
我是:VOCALOID调教,渣渣程序员,手残不算画师,炸裂混音师,Kizuner<br/><br/>
这是我的主页,跳转链接在下面<br/>
</div>
<div id="link">
<a href="./shared/" target="_self"><div class="linker">分享的资源汇总</div></a>
<a href="https://space.bilibili.com/453061221" target="_blank"><div class="linker">作品(bilibili)</div></a>
<a href="https://github.com/Redroadsl/Redroadsl.github.io" target="_blank"><div class="linker">本网站代码(开源)</div></a>
<a href="OTHER.HTML" target="_self"><div class="linker">(无他)</div></a>
</div>
</div>
<div id="source" class="br">
<h2 class="subtitle">有福一起享</h2>
<p>此处有本人分享的资源</p>
<div id="link2">
<a href="./learnArtemis/index" target="_self"><div class="linker">Artemis哔哩哔哩教程同步资源</div></a>
<a href="https://greasyfork.org/scripts/427628-百度网盘秒传链接提取-最新可维护版本/code/百度网盘秒传链接提取(最新可维护版本).user.js" target="_blank"><div class="linker">BD网盘秒传链接</div></a><br/>
<a href="./SOURCE/biliAdBlock.user.js" target="_blank"><div class="linker">哔哩哔哩主页去广告(Beta)</div></a><br/>
<a href="./AIAIAI消音伴奏_Redroadsl.7z.001" target="_blank"><div class="linker">AIAIAI伴奏(分卷1)</div></a>
<a href="./AIAIAI消音伴奏_Redroadsl.7z.002" target="_blank"><div class="linker">AIAIAI伴奏(分卷2)</div></a>
<a href="./AIAIAI消音伴奏_Redroadsl.7z.003" target="_blank"><div class="linker">AIAIAI伴奏(分卷3)</div></a><br/>
<a href="./HelloMorning消音伴奏_Redroadsl.7z.001" target="_blank"><div class="linker">HelloMorning消音伴奏(分卷1)</div></a>
<a href="./HelloMorning消音伴奏_Redroadsl.7z.002" target="_blank"><div class="linker">HelloMorning消音伴奏(分卷2)</div></a>
<a href="./HelloMorning消音伴奏_Redroadsl.7z.003" target="_blank"><div class="linker">HelloMorning消音伴奏(分卷3)</div></a>
</div>
</div>
<div id="talk" class="br">
<h2 class="subtitle">有话好好说</h2>
<div class="text">
<p>最近比较忙,没时间更视频和代码,见谅。</p>
<a href="https://support.qq.com/product/349162" target="_blank">反馈(跳转腾讯兔小巢)</a><span> 或者 </span><a href="https://github.com/Redroadsl/Redroadsl.github.io/issues" target="_blank">反馈(母站GAYHUB)</a>
</div>
</div>
<div id="cont" class="br">
<h2 class="subtitle">Gitalk我不会弄...</h2>
<div id="gitalk-container"></div>
</div>
</div>
</body>
<script>
function getScrollTop(){
var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
//console.log(scrollTop)
return scrollTop;}
function setScrollTop(scroll_top){
document.documentElement.scrollTop = scroll_top;
window.pageYOffset = scroll_top;
document.body.scrollTop = scroll_top;}
var sl=document.getElementById('scroll-line');
var bf=document.getElementById('baif');
//var ct=document.getElementById('content');
document.onscroll=function() {
var wintop = getScrollTop(),
docheight =document.body.scrollHeight,
winheight = document.documentElement.clientHeight;
var scrolled = (wintop / (docheight - winheight)) * 100;
bf.innerHTML=(scrolled+'').split(".")[0]+"%";
sl.style.width=scrolled+'%';
};
//bf.onmousedown=function(){
// console.log(011);
//}
//document.ononline=function(){
// ct.innerHTML="--Online--";
//}
//document.onoffline=function(){
// ct.innerHTML="--Offline--";
//}
</script>
<script>
var gitalk = new Gitalk({
clientID: 'f4bbb0bd50c3e48fec5f', // GitHub Application Client ID
clientSecret: 'd8a43c02af331385f0891d947fb9c6e049c027c2', // GitHub Application Client Secret
repo: 'Redroadsl.github.io', // 存放评论的仓库
owner: 'Redroadsl', // 仓库的创建者,
admin: ['Redroadsl'], // 如果仓库有多个人可以操作,那么在这里以数组形式写出
id: location.href, // 用于标记评论是哪个页面的,确保唯一,并且长度小于50
language: 'zh-CN',
labels: ['GitTalk'],
title: 'GitTalk'
})
gitalk.render('gitalk-container'); // 渲染Gitalk评论组件
</script>
<script>
function checkCookie() //Check Cookie
{
var username=getCookie("username");
if (username!="")
{
alert("Welcome again " + username);
}
else
{
username = prompt("Please enter your name:","");
if (username!="" && username!=null)
{
setCookie("username",username,365);
}
}
}
function getCookie(cname) //Get Cookie
{
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i=0; i<ca.length; i++)
{
var c = ca[i].trim();
if (c.indexOf(name)==0) return c.substring(name.length,c.length);
}
return "";
}
function setCookie(cname,cvalue,exdays) //Create Cookie
{
var d = new Date();
d.setTime(d.getTime()+(exdays*24*60*60*1000));
var expires = "expires="+d.toGMTString();
document.cookie = cname + "=" + cvalue + "; " + expires;
}
setCookie("Cookie1","ThisIsACookieTest",1);
</script>
</html>