-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🥧 Began adding pi, updated readme & about to reflect this
- Loading branch information
Showing
10 changed files
with
227 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Keybored / Time Trial</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> Sprint</a> | ||
<a href="timetrial"><i class="fa-solid fa-stopwatch"></i> Time Trial</a> | ||
<a href="alphabet"><i class="fa-solid fa-arrow-down-a-z"></i> Alphabet</a> | ||
<a href="pi" class="selected"><i class="fa-solid fa-calculator"></i> Pi</a> | ||
</div> | ||
</div> | ||
<div class="right"> | ||
<a href="settings"><i class="fa-solid fa-gear"></i> Settings</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 class="piStart">3.</div></div> | ||
</div> | ||
</div> | ||
<div class="endStats"> | ||
<div class="statsBlock"> | ||
<div class="topBanner"> | ||
<div class="bigStat"> | ||
<div class="bigNum highlight">105</div> | ||
<div class="statLabel">words per minute</div> | ||
</div> | ||
<div class="bigText">That's faster than <span class="percent highlight">99%</span> of people!</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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
document.addEventListener("DOMContentLoaded", function() { | ||
loadwords(1, "pi"); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.