-
Notifications
You must be signed in to change notification settings - Fork 0
/
pi.html
89 lines (81 loc) · 4.4 KB
/
pi.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Keybored / Pi</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- styling -->
<link id="stylesheet" rel="stylesheet"type="text/css" href="styles/main.css" title="main" />
<link id="theme" rel="stylesheet" href="styles/dark.css" />
<link id="font" rel="stylesheet" href="styles/mono.css" />
<!-- favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="./images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16.png">
<link rel="manifest" href="./images/site.webmanifest">
<link rel="mask-icon" href="./images/safari-pinned-tab.svg" color="#ffc000">
<link rel="shortcut icon" href="./images/favicon.ico">
<meta name="msapplication-TileColor" content="#ffc000">
<meta name="msapplication-config" content="./images/browserconfig.xml">
<meta name="theme-color" content="#ffc000">
<!-- screenshot sharing -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.5.0-beta4/html2canvas.min.js"></script>
<!-- fonts & icons-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre&family=Inter&family=Roboto+Slab&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/b28f3098c8.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="page-wrap">
<div class="header">
<div class="left">
<a href="./"><h1><i class="fa-solid fa-keyboard"></i> keybored</h1></a>
<div class="nav">
<a href="index"><i class="fa-solid fa-bolt"></i><span class="navText"> Sprint</span></a>
<a href="timetrial"><i class="fa-solid fa-stopwatch"></i><span class="navText"> Time Trial</span></a>
<a href="alphabet"><i class="fa-solid fa-arrow-down-a-z"></i><span class="navText"> Alphabet</span></a>
<a href="pi" class="selected"><i class="fa-solid fa-calculator"></i><span class="navText"> Pi</span></a>
</div>
</div>
<div class="right">
<a href="settings"><i class="fa-solid fa-gear"></i><span class="navText"> Settings</span></a>
</div>
</div>
<div class="main">
<div class="contained">
<div class="stats">
<div class="time"><i class="fa-solid fa-clock"></i> <span class="timer">0</span>s</div>
</div>
<div class="typeArea piArea">
<div class="cursorLine">︳</div>
<input type="text" class="hiddenInput no-copy-paste">
<div class="words unselectable"></div>
</div>
</div>
<div class="endStats">
<div class="statsBlock">
<div class="topBanner">
<div class="bigStat">
<div class="bigNum highlight piStat">105</div>
<div class="statLabel">digits</div>
</div>
<div class="bigText"><span class="percent">Nice work!</span></div>
</div>
<div class="bottomStats"></div>
<div class="buttons">
<button class="statsBtn retry" onclick="retry()"><i class="fa-solid fa-arrow-rotate-left"></i> retry</button>
<button class="statsBtn share" onclick="share()"><i class="fa-solid fa-share"></i> share</button>
</div>
</div>
</div>
</div>
</div>
<footer><a href="about">about</a> \ <a href="https://github.com/wiki-Bird/keybored" target="_blank" rel="noopener noreferrer">source</a> \ <a href="https://ramiels.me/" target="_blank" rel="noopener noreferrer"> ramiel</a></footer>
<script src="./scripts/settings.js"></script>
<script src="./scripts/loadwords.js"></script>
<script src="./words/words.js"></script>
<script src="./scripts/pi.js"></script>
<script src="./scripts/main.js"></script>
<script src="./scripts/typing.js"></script>
</body>