-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
115 lines (111 loc) · 2.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
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
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="/yyc48x48.ico">
<style>
* {
margin: 0;
padding: 0;
}
@keyframes broders {
from {border-right-color: rgb(37, 89, 185,1);}
to {border-right-color: rgba(0, 0, 0, 0);}
}
@keyframes widths {
from {width: 0;}
to {width: 11ch;}
}
@keyframes widths1 {
from {width: 0;}
to {width: 16ch;}
}
@keyframes move1{
from{top:-50%;}
to{top:20%;}
}
@keyframes array_move{
0%{top: 89%;}
50%{top: 90%;}
100%{top:89%;}
}
body{
user-select: none;
background-image: url("https://th.bing.com/th/id/R.8bd6ea8aa923f79426f98942246013d1?rik=z3kYppPfT80M3w&pid=ImgRaw&r=0");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
float: left;
width: 100%;
display: flex;
flex-direction: column;
height: 100vh;
text-align: center;
}
.words{
font-family: fira code,consolas,monaco,monospace;
color: rgb(0, 44, 138);/*字体颜色*/
font-size: 90px;
text-align: center;
justify-content: center;
overflow: hidden;
white-space: nowrap;
}
.box p:nth-child(1){
border-right: 2px solid rgba(0, 0, 0, 0);
animation: broders 0.7s 5 normal 3s both,widths 2s steps(11) 3s both;
}
.box p:nth-child(2){
border-right: 2px solid rgba(0, 0, 0, 0);
animation: widths1 2s steps(16) 6.5s both, broders 0.7s 10 normal 3.7s both;
}
.box{
flex: 1;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
animation: move1 2.5s;
overflow: hidden;
position: absolute;
background-color: rgb(255,255,255,0.7);
/* border-radius: 20px; */
top: 20%;
width: 100%;
height: 50%;
}
.box:hover{
background-image: url("https://www.ndmiao.cn/usr/themes/handsome/assets/img/snow.gif");
background-position: center;
}
.pulldown{
height: 32px;
width: 32px;
background-image: url("https://img.icons8.com/external-tanah-basah-basic-outline-tanah-basah/24/000000/external-chevron-arrows-tanah-basah-basic-outline-tanah-basah-3.png");
background-repeat: no-repeat;
background-position: center;
z-index: 100;
position: absolute;
top: 90%;
left: 50%;
animation: array_move 1.5s infinite;
transition: all 0.5s ease;
}
</style>
</head>
<body>
<div class="box">
<p class="words ch1">My Dear yyc</p>
<p class="words ch2"> Happy Birthday !</p>
</div>
<a href="https://yycforever.github.io/content" class="pulldown"></a>
</body>
<script>
(()=>{
// function typekey(){
var key=prompt("Please enter the password.");
const ans="yyc should drink more milk.";
if(key!=ans)location.replace("https://yycforever.github.io/404");
// }
})();
</script>
</html>