-
Notifications
You must be signed in to change notification settings - Fork 1
/
someWords.html
205 lines (187 loc) · 4.57 KB
/
someWords.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
<!DOCTYPE html>
<html>
<head>
<meta 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">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<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>INLOW dot ONLINE</title>
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
<style>
/* 兼容性光标颜色写法 */
@supports ( -webkit-mask: none ) and ( not ( caret-color: #0090ff )) {
input {
color: #0090ff;
}
input::first-line {
color: black;
}
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.font.im/s/opensans/v14/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf) format('truetype');
}
@keyframes title {
10% {
margin-top: 0;
}
32% {
margin-top: calc(-80vw / 7);
}
54% {
margin-top: calc(-80vw / 7 * 2);
}
76% {
margin-top: calc(-80vw / 7 * 3);
}
98% {
margin-top: calc(-80vw / 7 * 4);
}
}
@keyframes randomBG {
10% {
background-color: #292929;
}
32% {
background-color: #6c792c;
}
54% {
background-color: #400404;
}
76% {
background-color: #2f3e8e;
}
98% {
background-color: #165421;
}
}
body {
-webkit-touch-callout: none;
-webkit-text-size-adjust: none;
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
font-family: 'Open Sans', sans-serif;
}
#title {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
margin: auto;
padding-bottom: 42px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
animation: randomBG 8s infinite;
-webkit-animation: randomBG 8s infinite;
color: #d9d9e0;
background-color: #292929;
}
.container {
height: calc(80vw / 7);
overflow: hidden;
}
.barrage {
width: 100%;
color: #909090;
}
.container div {
text-align: center;
font-size: calc(80vw / 7);
line-height: calc(80vw / 7);
}
.barrage div {
text-align: left;
padding: 1vh 3.5vw;
font-size: calc(100vh / 30);
/* 超出单行省略 */
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.barrage div:nth-child(n + 8) {
display: none;
}
.barrage div:first-child {
color: #686d76;
padding: 2vh 3.5vw;
font-size: calc(100vh / 20);
border-left: 1px solid #a7a7a7;
}
.container div:first-child {
animation: title 8s infinite;
-webkit-animation: title 8s infinite;
}
#word {
position: fixed;
bottom: 0;
right: 0;
left: 0;
}
#word form {
display: flex;
border-radius: 5px;
background-color: #fff;
}
#input {
flex: auto;
padding: 0 3px;
height: 42px;
font-size: 1em;
border: none;
outline: none;
color: black;
caret-color: #0090ff;
background: transparent;
}
#submit {
flex: none;
width: 40px;
border: none;
outline: none;
color: #4ea1e1;
background: transparent;
-webkit-appearance: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
</style>
</head>
<!-- 兼容Opera和IE6-9一样 -->
<body unselectable="on" onselectstart="return false;" ondrag="return false;">
<div id="title">
<div class="container">
<div>建议大家</div>
<div>合理评估自身实力</div>
<div>该退就退</div>
<div>不要做无用功</div>
<div>INLOW.ONLINE</div>
</div>
<div class="barrage">
<div>留言</div>
<label></label>
<div>建议大家</div>
<div>合理评估自身实力啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</div>
<div>合理评估自身实力啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</div>
<div>合理评估自身实力啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</div>
<div>该退就退</div>
<div>不要做无用功</div>
<div>INLOW.ONLINE</div>
</div>
</div>
<div id="word">
<form action="/" method="GET">
<input name="someword" type="text" id="input" placeholder="证明你来过" autocomplete="off">
<input type="submit" id="submit" value="OK">
</form>
</div>
</body>
</html>