-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
83 lines (73 loc) · 2.96 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./assets/font.css">
<title>smol oneko</title>
<link rel="shortcut icon" href="./assets/oneko.png">
<style>
body {
font-family: 'Mono', monospace;
background-color: #f8bbd0;
color: #6a1b9a;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
background-color: #fce4ec;
padding: 2rem;
border-radius: 15px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
max-width: 80%;
width: 300px;
}
h1 {
color: #df5e96;
font-size: 1.8rem;
margin-bottom: 1rem;
}
p {
color: #6a1b9a;
margin-bottom: 1rem;
font-size: 1rem;
}
img {
max-width: 100%;
height: auto;
}
@media (max-width: 480px) {
.container {
padding: 1.5rem;
}
h1 {
font-size: 1.5rem;
}
p {
font-size: 0.9rem;
}
}
</style>
</head>
<body>
<div class="container">
<img src="./assets/oneko.png" alt="oneko ready to pounce"></img>
<h1>🌸 smol oneko 🌸</h1>
<p>move your mouse or finger around to see oneko follow it!</p>
<p>oneko will perform idle animations if you keep your cursor still.</p>
<a href="https://github.com/ovnanova/smoloneko" aria-label="GitHub">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 29 29" width="29" height="29" id="github">
<path
d="M14.5,2.71217A12.08384,12.08384,0,0,0,10.67914,26.26465c.60417.10576.83073-.25676.83073-.57408,0-.28699-.01511-1.23867-.01511-2.25134C8.45833,23.99534,7.67292,22.69845,7.43125,22.01834A4.39358,4.39358,0,0,0,6.19271,20.31112c-.42292-.22656-1.02708-.78542-.01511-.80053A2.41808,2.41808,0,0,1,8.03542,20.75415a2.58314,2.58314,0,0,0,3.51925.99686A2.54204,2.54204,0,0,1,12.325,20.12945c-2.68958-.30209-5.49792-1.34431-5.49792-5.96577a4.70226,4.70226,0,0,1,1.23854-3.24738,4.34164,4.34164,0,0,1,.12083-3.20206s1.0119-.31721,3.32292,1.23867a11.39153,11.39153,0,0,1,6.04167,0c2.31094-1.57099,3.32292-1.23867,3.32292-1.23867a4.34104,4.34104,0,0,1,.12083,3.20206,4.67479,4.67479,0,0,1,1.23854,3.24738c0,4.63658-2.82396,5.66368-5.51302,5.96577a2.86149,2.86149,0,0,1,.81563,2.23623c0,1.61631-.01511,2.91506-.01511,3.32292,0,0.31721.22656.69477.83073.57408A12.08974,12.08974,0,0,0,14.5,2.71217Z"
fill="#4A4A4A" />
</svg>
</a>
</div>
<script src="./scripts/oneko.js"></script>
<script src="./scripts/oneko_touch.js"></script>
</body>
</html>