-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
138 lines (132 loc) · 5.26 KB
/
index.html
File metadata and controls
138 lines (132 loc) · 5.26 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
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
<title>瑞兽谷</title>
<link rel="stylesheet" type="text/css" href="/css/noSideScrollBar.css" />
<link rel="stylesheet" type="text/css" href="/css/navigateBar.css" />
<link rel="stylesheet" type="text/css" href="/home/about.css" />
<style type="text/css">
body{background-color:#F4F5F7;margin:0px}
body,td,th {color:#000000;}
#page_loading{
background:radial-gradient(
rgba(255,255,255,1) 10%,
rgba(0,0,0,0) 66%);
top:calc(50% - 256px); left:calc(50% - 256px); width:512px; height:512px;
border-radius:50%; -webkit-border-radius:50%;
position:fixed; pointer-events:none; z-index:99}
loader{background-image:url(/img/loading.gif); background-repeat:no-repeat; padding:16px}
.blur3{-webkit-filter:blur(3px); -moz-filter:blur(3px); -o-filter:blur(3px); -ms-filter:blur(3px); filter:blur(3px)}
a{color:#0000FF;cursor:pointer} a.noline{text-decoration: none}
.block{display:block}
.watermarkTopRight{position:absolute;z-index:-0;top:-20px;right:0;font-size:100px;opacity:.5;color:#CCC;cursor:default}
.h1{font-size:24px;padding-top:24px;position:relative}
.device, #brows{width:100%; max-width:1100px; margin:auto}
/*自定义动态样式表格式*/
css{display:none}
.mui-panel{padding:15px;margin-bottom:20px;border-radius:0;background-color:#FFF;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12)}
.mui-panel:after,.mui-panel:before{content:" ";display:table}
.mui-panel:after{clear:both}
.mui--text-headline{font-weight:400;font-size:24px;line-height:32px}
.mui--no-user-select{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
label[disabled]:not(:hover){ opacity:.1 }
</style>
<style>
@media (max-width:1100px){
#header{
margin-top: calc((1100px - 100vw) / (1100 - 240) * -135);
}
}
</style>
</head>
<body>
<div align="center">
<div id="page_loading">
<loader style="position:absolute; top:calc(50% - 16px); left:calc(50% - 16px)"></loader>
</div>
<div class="device">
<div class="device" style="margin:0 0; overflow:hidden">
<div id="header" class="webp" style="background-image:url(https://cdn.jsdelivr.net/gh/LEORChn/LEORChn.github.io/img/Header_Starbound.webp);background-size:cover;width:1100px;height:224px"></div>
</div>
<a id="loadpage"></a>
<div class="float-nav-holder">
<float class="device float-nav" style="margin:0; overflow:scroll; overflow:-moz-hidden-unscrollable" onselectstart="return false;">
<nav>
<label nav="home/">动态</label>
<label nav="artwork/">作品</label>
<label nav="home/about.html">关于</label>
<label nav="archive/">博物馆</label>
<label><a href="v3">新版邀请测试</a></label>
</nav>
</float>
</div>
</div>
<noscript>请开启 JavaScript 功能访问。</noscript>
<div id="brows"></div>
<br>
<a class="noline" href="#home/agreement_1.html">文章转载协议</a>
<a class="noline" href="#home/licensed.html">(查看转载者存档)</a>
<div style="height:50px"></div>
</div>
<script src="js/baseLib.js"></script>
<script src="js/navigateBar.js" async ></script>
<script src="js/http.js"></script>
<script src="js/locationManager.js"></script>
<script src="https://cdn.jsdelivr.net/gh/desandro/masonry/dist/masonry.pkgd.min.js"></script>
<script language="javascript">
earthMapInterval();
function earthMapInterval(){
if(!('$' in window)) return setTimeout(earthMapInterval, 1000);
var e = $('earth[gcj]');
setTimeout(earthMapInterval, e? 1000: 5000);
if(e) e.outerHTML = '<iframe frameborder="0" src="/bdmap?gcj=' + e.getAttribute('gcj') + '"></iframe>';
}
var brows;
(function(){
brows=fv('brows');
initNavigationBarStyle();
initLocation(); //加载地址栏页面
var mc = window['masonry-container'] = [];
setInterval(function(){
var e = $('[masonry=""]');
if(!e) return;
e.setAttribute('masonry', 'processed');
mc.push(new Masonry(e, {
gutter: parseInt(e.getAttribute('gutter')),
itemSelector: e.getAttribute('itemselector'),
columnWidth: e.getAttribute('columnwidth')
}));
}, 1000);
})();
function jump2(i){
msgbox('即将推出,敬请期待');
}
function initNavigationBarStyle(){
var labels = $$('nav > label');
arr(labels).foreach(function(e){
var radio = ct('input');
radio.type = 'radio';
radio.name = 'nav';
if(e.getAttribute('disabled') != null){
radio.disabled = true;
e.setAttribute('onclick', 'jump2()');
}
e.setAttribute('for', radio.id = ('nav-' + Math.random()).replace('0.', ''));
e.parentNode.insertBefore(radio, e);
radio.onchange = function(){ // 该段代码在点击切换为 true 时触发,而通过修改 checked 时不会触发
url($('label[nav][for="' + this.id + '"]').getAttribute('nav'));
};
});
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-174341933-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-174341933-1');
</script>
</body>
</html>