-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.html
85 lines (79 loc) · 4.89 KB
/
settings.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Keybored</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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" />
<script src="https://kit.fontawesome.com/b28f3098c8.js" crossorigin="anonymous"></script>
<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">
<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">
</head>
<body>
<!-- alphabet a-z, pi, X words in Y time, X words and count time, 1v1, mouse clickspeed, reaction time -->
<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"><i class="fa-solid fa-calculator"></i><span class="navText"> Pi</span></a>
</div>
</div>
<div class="right">
<a href="settings" class="selected"><i class="fa-solid fa-gear"></i><span class="navText"> Settings</span></a>
</div>
</div>
<div class="main">
<div class="settingsColumn">
<h1>Settings</h1>
<div class="setting">
<h3>Theme</h3>
<div class="toggle unselectable themeSetting">
<input type="radio" name="theme" value="weight" id="light"/>
<label for="light" onclick="changeTheme('light')" class="firstLbl">Light</label>
<input type="radio" name="theme" value="dimensions" id="dark" />
<label for="dark" onclick="changeTheme('dark')" class="middleLbl">Dark</label>
<input type="radio" name="theme" value="dimensions" id="system" />
<label for="system" onclick="changeTheme('system')" class="lastLbl">System</label>
</div>
<br>
<h3>Typing Font (game)</h3>
<div class="toggle unselectable fontSetting">
<input type="radio" name="font" value="weight" id="sans"/>
<label for="sans" onclick="changeFont('sans')" class="firstLbl fSa">Sans</label>
<input type="radio" name="font" value="dimensions" id="serif" />
<label for="serif" onclick="changeFont('serif')" class="middleLbl fSe">Serif</label>
<input type="radio" name="font" value="dimensions" id="mono" />
<label for="mono" onclick="changeFont('mono')" class="lastLbl fMo">Mono</label>
</div>
<br>
<h3>Screen Shake (on error)</h3>
<div class="toggle unselectable shakeSetting">
<input type="radio" name="shake" value="weight" id="shakeOn"/>
<label for="shakeOn" onclick="changeShake(true)" class="firstLbl">On</label>
<input type="radio" name="shake" value="dimensions" id="shakeOff" />
<label for="shakeOff" onclick="changeShake(false)" class="lastLbl">Off</label>
</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/main.js"></script>
</body>