-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (81 loc) · 1.7 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>BlackBE云黑</title>
<style>
.danmaku {
color: gray;
font-family: monospaces
}
#header {
width: 100%;
}
#danmaku_area {
overflow: hidden;
z-index: 1;
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
}
#header_main {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
text-align: center;
z-index: 2;
}
#logo {
width: 25%;
}
body {
background: black;
color: white;
overflow-x: hidden;
width: 100%
}
button {
background-color: black;
color: white;
border: 1px white solid;
border-radius: 5px;
padding: 10px 20px;
margin: 10px;
}
button:hover {
background-color: white;
color: black;
}
</style>
<script>
function resize() {
var logo_node = document.getElementById("logo");
logo_node.style.width = Math.min(window.innerHeight, window.innerWidth) * 0.25 + "px";
$("header").css("height", window.innerHeight - 50 + "px");
}
window.addEventListener("resize", function() {
resize();
});
window.addEventListener("load", function() {
resize();
});
</script>
</head>
<body>
<div id="header">
<div id="danmaku_area"></div>
<div id="header_main">
<img id="logo" src="https://wiki.blackbe.xyz/images/Logo.png" />
<h1>BlackBE</h1>
<button onclick="window.location='https://blackbe.xyz/'">云黑官网</button>
<button onclick="window.location='https://jq.qq.com/?_wv=1027&k=90BgKaYb'">QQ群</button>
<button onclick="window.location='https://t.me/BlackBEGroup'">Telegram群</button>
<button onclick="window.location='http://wiki.blackbe.xyz/'">WIKI</button>
</div>
</div>
</body>
</html>