This commit is contained in:
zyronon
2023-10-16 01:29:36 +08:00
commit 0f07e3014f
192 changed files with 572289 additions and 0 deletions

35
index.html Normal file
View File

@@ -0,0 +1,35 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="./logo.jpg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Typing Word</title>
<script>
+(function () {
function rem() {
let html = document.documentElement;
let max = parseInt('1920rem');
let min = parseInt('1000rem');
let width;
if (window.innerWidth > max) {
width = max;
} else if (window.innerWidth < min) {
width = min;
} else {
width = window.innerWidth;
}
html.style.fontSize = width / max + 'px';
}
rem();
window.addEventListener('resize', rem);
})();
</script>
<script type="module" crossorigin src="./assets/index-dc161a7d.js"></script>
<link rel="stylesheet" href="./assets/index-00f38561.css">
</head>
<body>
<div id="app"></div>
</body>
</html>