2023-11-17 05:13:26 +00:00
|
|
|
<!DOCTYPE html>
|
2023-11-17 16:04:59 +00:00
|
|
|
<html>
|
2023-11-17 05:13:26 +00:00
|
|
|
<head>
|
2023-11-17 16:04:59 +00:00
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<title>HexFlagGen</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2023-11-17 20:38:19 +00:00
|
|
|
<link rel="stylesheet" href="https://cdn.abtmtr.link/cdn/css/normal.css" />
|
2023-11-17 16:04:59 +00:00
|
|
|
<style>
|
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100;200;300;400;500;600;700;800;900&display=swap");
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--base-scale: 16px;
|
|
|
|
|
|
|
|
--background-color: hsl(0, 0%, 15%);
|
|
|
|
--color: hsl(0, 0%, 85%);
|
|
|
|
--accent-color: #808080;
|
|
|
|
--accent-color-fg: hsl(0, 0%, 95%);
|
|
|
|
--font-family: "Lexend Deca";
|
|
|
|
--document-width: 40em;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
2023-11-17 20:38:19 +00:00
|
|
|
transition: background-color 0.125s, color 0.125s, opacity 0.125s;
|
2023-11-17 16:04:59 +00:00
|
|
|
}
|
|
|
|
</style>
|
2023-11-17 05:13:26 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<section>
|
2023-11-17 20:38:19 +00:00
|
|
|
<h1>SteamTheWoz</h1>
|
2023-11-17 16:04:59 +00:00
|
|
|
<label for="size_width"
|
|
|
|
><input
|
|
|
|
type="number"
|
|
|
|
style="width: 8ch"
|
|
|
|
min="0"
|
|
|
|
max="64"
|
|
|
|
value="16"
|
|
|
|
onchange="document.documentElement.style.setProperty('--base-scale', event.target.value + 'px')"
|
|
|
|
/>
|
|
|
|
UI scale</label
|
|
|
|
><br /><label for="checkbox" class="checkbox">
|
|
|
|
<input
|
|
|
|
type="checkbox"
|
|
|
|
id="checkbox"
|
|
|
|
onchange="event.target.checked ? document.documentElement.classList.add('base') : document.documentElement.classList.remove('base')"
|
|
|
|
/>
|
|
|
|
<span class="checkbox">O</span>
|
|
|
|
Base style
|
|
|
|
</label>
|
2023-11-17 05:13:26 +00:00
|
|
|
<p>by <a href="https://abtmtr.link/">MeowcaTheoRange</a></p>
|
2023-11-17 20:38:19 +00:00
|
|
|
<p>Make a Scott The Woz thumbnail out of any Steam game.</p>
|
2023-11-17 05:13:26 +00:00
|
|
|
</section>
|
2023-11-17 16:04:59 +00:00
|
|
|
<hr />
|
2023-11-17 05:13:26 +00:00
|
|
|
<section>
|
|
|
|
<input
|
|
|
|
type="number"
|
2023-11-17 20:38:19 +00:00
|
|
|
id="steam_game"
|
2023-11-17 05:13:26 +00:00
|
|
|
style="width: 8ch"
|
2023-11-17 20:38:19 +00:00
|
|
|
min="10"
|
|
|
|
value="620"
|
2023-11-17 05:13:26 +00:00
|
|
|
/>
|
2023-11-17 20:38:19 +00:00
|
|
|
<label for="steam_game">Steam Game ID</label><br />
|
|
|
|
<button id="generateButton">Generate!</button>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<label for="scott_index">Extras</label><br />
|
2023-11-17 05:13:26 +00:00
|
|
|
<input
|
|
|
|
type="number"
|
2023-11-17 20:38:19 +00:00
|
|
|
id="scott_index"
|
2023-11-17 05:13:26 +00:00
|
|
|
style="width: 8ch"
|
|
|
|
min="0"
|
2023-11-17 20:38:19 +00:00
|
|
|
max="9"
|
|
|
|
value="0"
|
2023-11-17 05:13:26 +00:00
|
|
|
/>
|
2023-11-17 20:38:19 +00:00
|
|
|
<label for="scott_index">Scott Index</label>
|
|
|
|
<small
|
|
|
|
>(
|
|
|
|
<label for="stash" class="checkbox">
|
|
|
|
<input
|
|
|
|
type="checkbox"
|
|
|
|
id="stash"
|
|
|
|
onchange="scott_index.disabled = event.target.checked"
|
|
|
|
/>
|
|
|
|
<span class="checkbox">O</span>
|
|
|
|
Scott's Stash </label
|
|
|
|
>)</small
|
|
|
|
><br />
|
|
|
|
<select id="align">
|
|
|
|
<option value="left">Left</option>
|
|
|
|
<option value="center" selected>Center</option>
|
|
|
|
<option value="right">Right</option>
|
2023-11-17 05:13:26 +00:00
|
|
|
</select>
|
2023-11-17 20:38:19 +00:00
|
|
|
<label for="align">Background Alignment</label>
|
2023-11-17 05:13:26 +00:00
|
|
|
</section>
|
2023-11-17 16:04:59 +00:00
|
|
|
<hr />
|
2023-11-17 05:13:26 +00:00
|
|
|
<section>
|
2023-11-17 20:38:19 +00:00
|
|
|
<canvas id="canvas" width="1280" height="720"></canvas>
|
2023-11-17 05:13:26 +00:00
|
|
|
</section>
|
|
|
|
<script src="scripts/index.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|