1
1
<!DOCTYPE html>
2
- < html lang ="zh-CN ">
2
+ < html lang ="en ">
3
3
< head >
4
- < meta charset ="utf-8 "/>
5
- < title > 阿罗娜跟丢了!</ title >
6
- < meta content ="Some ideas for modern button styles and effects " name ="description "/>
7
- < meta content ="button, effect, hover, style, inspiration, web design " name ="keywords "/>
8
- < meta content ="Bluecraft管理组 " name ="author ">
9
- < meta content ="Codrops " name ="author "/>
10
- < script src ="js/404jquery.min.js " type ="text/javascript "> </ script >
11
- < script src ="js/404jquery.beattext.js " type ="text/javascript "> </ script >
12
- < script src ="js/404easying.js " type ="text/javascript "> </ script >
13
-
14
- < link href ="css/404style.css " rel ="stylesheet "/>
15
- < link href ="./images/logo.ico " rel ="icon ">
16
- < link href ="css/404button.css " rel ="stylesheet "/>
17
- < script type ="text/javascript ">
18
- const system = { } ;
19
- const p = navigator . platform ;
20
- system . win = p . indexOf ( "Win" ) === 0 ;
21
- system . mac = p . indexOf ( "Mac" ) === 0 ;
22
- system . x11 = ( p === "X11" ) || ( p . indexOf ( "Linux" ) === 0 ) ;
23
- if ( system . win || system . mac || system . xll ) { //如果是电脑跳转到
24
- window . location . href = "#" ;
25
- } else { //如果是手机,跳转到
26
- window . location . href = "index.html" ;
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < title > 404 - 页面未找到</ title >
7
+ < link rel ="stylesheet " href ="./css/404style.css ">
8
+ < style >
9
+ .logo {
10
+ position : fixed;
11
+ top : 10px ;
12
+ left : 10px ;
13
+ width : 100px ; /* 根据需要调整 LOGO 宽度 */
14
+ height : auto; /* 高度自适应 */
15
+ z-index : 10 ; /* 确保 LOGO 在最上层 */
27
16
}
28
- </ script >
29
- < script type ="text/javascript ">
30
- $ ( document ) . ready ( function ( ) {
31
- $ ( 'p#roloadText' ) . beatText ( { isAuth : true , beatHeight : "1em" , isRotate : false , upTime : 100 , downTime : 100 } ) ;
32
- } ) ;
33
- </ script >
17
+ </ style >
34
18
</ head >
35
-
36
- < style >
37
- .hidden-video {
38
- display : none; /* 隐藏视频元素 */
39
- }
40
- </ style >
41
- < script >
42
- function playVideoSound ( ) {
43
- const videoElement = document . getElementById ( 'hiddenVideo' ) ;
44
- if ( videoElement . paused || videoElement . ended ) {
45
- videoElement . currentTime = 0 ; // 重置播放时间以便重新播放
46
- videoElement . play ( ) ; // 播放视频
47
- } else {
48
- videoElement . pause ( ) ; // 如果已经在播放,则暂停
49
- }
50
- }
51
- </ script >
52
19
< body >
53
-
54
- < div class ="logo " id ="a " onclick ="playVideoSound(); " title ="点击我有惊喜! ">
55
- < img alt ="" src ="images/arona_wuwu.png ">
56
- <!-- 隐藏的视频元素 -->
57
- < video class ="hidden-video " id ="hiddenVideo " preload ="auto " src ="/video/easteregg.mp4 "> </ video >
58
-
59
- </ div >
60
- < br /> < br />
61
- < div class ="container ">
62
- < p id ="roloadText "> 404!对不起老师,阿罗娜找不到页面了!</ p >
63
- </ div >
64
-
65
- < div class ="box bg-1 ">
66
- < button class ="button button--antiman button--round-l button--text-medium " onclick ="window.open('./index.html') ">
67
- < span > 返回首页</ span > </ button >
68
- </ div >
20
+ < section class ="error-body ">
21
+ <!-- 背景视频 -->
22
+ < video preload ="auto " class ="background " src ="https://s3-us-west-2.amazonaws.com/s.cdpn.io/396624/err.mp4 " autoplay muted loop > </ video >
23
+ <!-- LOGO -->
24
+ < img src ="./images/BluecraftLogo.svg " alt ="Bluecraft Logo " class ="logo ">
25
+ < div class ="message ">
26
+ < h1 t ="404 "> 404</ h1 >
27
+ < div class ="bottom ">
28
+ < p > 这个地方很奇怪,我们换个地方吧老师!</ p >
29
+ < a href ="index.html "> 返回主页面</ a >
30
+ </ div >
31
+ </ div >
32
+ </ section >
69
33
</ body >
70
- </ html >
34
+ </ html >
0 commit comments