1
0
This repository has been archived on 2026-02-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Catch-the-Cat/index.html
2025-04-03 23:27:22 +08:00

44 lines
1.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="https://static.zhanganjun.com/common/favicon.ico" type="image/x-icon">
<title>Catch the Cat</title>
<style>
* {
padding: 0;
margin: 0
}
body {
background-color: #eeeeee;
}
#catch-the-cat {
width: 100%;
margin-top: 32px;
text-align: center;
}
</style>
</head>
<body>
<script src="https://static.zhanganjun.com/status/embed.js"></script>
<script src="phaser.min.js"></script>
<script src="catch-the-cat.js"></script>
<div id="catch-the-cat"></div>
<script>
window.game = new CatchTheCatGame({
w: 11,
h: 11,
r: 20,
backgroundColor: 0xffffff,
parent: 'catch-the-cat',
statusBarAlign: 'center',
credit: 'Zhang Anjun'
});
</script>
</a>
<style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
</body>
</html>