Skip to content

Commit 5354a0a

Browse files
committed
minor updates
- load css on the utils pages, so now respect user selected dark mode setting - a bit more verbose page title - added favicon
1 parent be1a0a3 commit 5354a0a

4 files changed

Lines changed: 33 additions & 11 deletions

File tree

favicon.ico

2.49 KB
Binary file not shown.

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
<head>
55
<meta charset="UTF-8">
6-
<title>CTR-tools</title>
7-
<link rel="preload" href="stylesheet.css" as="style" />
8-
<link rel="preload" href="articles.js" as="script" />
6+
<title>CTR-tools - Crash Team Racing research project</title>
7+
<link rel="preload" href="/stylesheet.css" as="style" />
8+
<link rel="preload" href="/articles.js" as="script" />
99
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Outfit&display=swap">
10-
<link rel="stylesheet" href="stylesheet.css" />
10+
<link rel="stylesheet" href="/stylesheet.css" />
1111
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
12-
<script src="articles.js"></script>
12+
<script src="/articles.js"></script>
1313
</head>
1414

1515
<body>

utils/cheats.htm

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
5+
<link rel="preload" href="/stylesheet.css" as="style" />
6+
<link rel="stylesheet" href="/stylesheet.css" />
7+
18
<script>
29

310
function dec2bin(dec) {
@@ -102,13 +109,17 @@
102109

103110
</style>
104111

105-
<body style="font-family: Courier New, serif" onload="processCheat()">
112+
</head>
106113

114+
<body style="font-family: Courier New, serif" onload="processCheat()">
115+
<div id="page" class="divcentered">
107116
<div class="cheat_control" style="border: solid 1px black; margin: 1em; padding: 1em;">
108117
<table id="sliders">
109118
<tr><td>Cheat input:</td><td><input type="text" id="cheatinput" oninput="processCheat()" /></td></tr>
110119
<tr><td>Cheat output:</td><td><span id="cheatoutput" /></td></tr>
111120
</table>
112121
</div>
113-
114-
</body>
122+
<a href="/">Back to main page</a>
123+
</div>
124+
</body>
125+
</html>

utils/rgb16.htm

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
5+
<link rel="preload" href="/stylesheet.css" as="style" />
6+
<link rel="stylesheet" href="/stylesheet.css" />
7+
18
<script>
29

310
function dec2bin(dec) {
@@ -62,8 +69,10 @@
6269
}
6370
</style>
6471

65-
<body style="font-family: Courier New, serif" onload="updateRgbControl()">
72+
</head>
6673

74+
<body style="font-family: Courier New, serif" onload="updateRgbControl()">
75+
<div id="page" class="divcentered">
6776
<div class="rgb_control" style="border: solid 1px black; margin: 1em; padding: 1em;">
6877

6978
<table id="sliders">
@@ -103,5 +112,7 @@
103112
</table>
104113

105114
</div>
106-
107-
</body>
115+
<a href="/">Back to main page</a>
116+
</div>
117+
</body>
118+
</html>

0 commit comments

Comments
 (0)