-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (86 loc) · 2.29 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
<!DOCTYPE html>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1, viewport-fit=cover">
<meta name=renderer content=webkit>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="referrer" content="never">
<meta http-equiv=Cache-Control content="no-cache, no-store, must-revalidate">
<meta http-equiv=Pragma content=no-cache>
<meta http-equiv=Expires content=0>
<title>首页</title>
<script>
if (/e=t/.test(window.location.href)) {
var script = document.createElement('script')
script.src = "//cdn.jsdelivr.net/npm/eruda"
document.head.appendChild(script)
script.onload = function () { eruda.init() }
}
</script>
<script src="https://cdn.jsdelivr.net/npm/cookie-store/index.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gkz/LiveScript/browser/livescript-min.js"></script>
<script> window.ls = require("livescript") </script>
<script>
var s = 1;
var metaEl = document.querySelector('meta[name="viewport"]');
function update(ctx, evt, wth) {
var width = wth || 375
var curWidth = window.screen.width
var ts = curWidth / width
if (s !== ts) {
s = ts
metaEl.setAttribute('content', 'width=device-width,initial-scale=' + ts + ',maximum-scale='+ ts +',minimum-scale='+ ts +',user-scalable=no');
}
}
window.addEventListener('resize', update);
update()
</script>
<script src="pg.js" type="module"></script>
<!-- <script src="dist/u.umd.js"></script> -->
<style>
*, ::before, ::after {
background-repeat: no-repeat;
background-size: 100%;
background-position: center;
text-overflow: ellipsis;
border-style: solid;
border-width: 0;
justify-content: center;
align-items: center;
/* align-content: flex-start; */
flex-wrap: wrap;
/* text-align: center; */
box-sizing: border-box;
}
#pg dd, ul, li {
margin: auto;
display: flex;
padding: 0;
}
dl {
overflow: auto;
}
.i {
display: inline-flex;
}
.f {
display: flex;
}
.g {
display: grid;
}
.p {
position: relative;
}
.a {
position: absolute;
}
.d {
display: block;
}
img {
display: block;
max-width: 100%;
}
#pg { display: block; }
</style>
<body><div id="app"></div></body>