2021-02-24 22:54:16 +03:00
|
|
|
<!DOCTYPE html>
|
2021-02-25 00:06:14 +03:00
|
|
|
<html lang="en">
|
2017-02-17 03:38:54 +03:00
|
|
|
<!--
|
|
|
|
/_ ... _ /_
|
|
|
|
/_//_/ ////_//_//_//\
|
|
|
|
_/ _//
|
|
|
|
-->
|
|
|
|
<head>
|
2021-02-25 00:06:14 +03:00
|
|
|
<meta charset="utf-8">
|
2021-02-25 03:25:23 +03:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2021-02-25 04:03:39 +03:00
|
|
|
<title>WORDs</title>
|
|
|
|
<meta name="apple-mobile-web-app-title" content="WORDs">
|
2021-02-25 03:25:23 +03:00
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimal-ui">
|
2021-02-25 02:30:49 +03:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/chota@0.8.0">
|
|
|
|
<!-- dev mode -->
|
|
|
|
<!-- <link rel="stylesheet" href="_media/css/chota.min.css"> -->
|
2021-02-25 00:06:14 +03:00
|
|
|
<link rel="stylesheet" href="_media/css/styles.css">
|
|
|
|
<link rel="icon" type="image/png" href="_media/img/favicon.png">
|
2021-02-25 03:25:23 +03:00
|
|
|
<link rel="apple-touch-icon" href="_media/img/apple-touch-icon.png">
|
|
|
|
<link rel="apple-touch-startup-image" href="_media/img/apple-launch-icon.png">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
2017-02-17 03:38:54 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
2021-02-25 00:06:14 +03:00
|
|
|
<div class="container">
|
|
|
|
<header>
|
|
|
|
<nav class="nav">
|
2021-02-25 04:29:23 +03:00
|
|
|
<div class="nav-left hide-xs">
|
2021-02-25 04:03:39 +03:00
|
|
|
<a class="brand" href="#">WORDs</a>
|
2021-02-25 00:06:14 +03:00
|
|
|
</div>
|
2021-02-25 02:14:07 +03:00
|
|
|
<div class="nav-center">
|
2021-02-25 04:29:23 +03:00
|
|
|
<p id="lives" class="button error is-full-width">loading...</p>
|
2021-02-25 02:14:07 +03:00
|
|
|
</div>
|
2021-02-25 00:06:14 +03:00
|
|
|
<div class="nav-right">
|
2021-02-25 04:03:39 +03:00
|
|
|
<!-- <a class="button dropdown">Language</a> -->
|
|
|
|
<a class="button clear" id="theme-switch" onclick="switchMode(this)">☀️</a>
|
2021-02-25 00:06:14 +03:00
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</header>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 00:06:14 +03:00
|
|
|
<nav class="tabs is-full">
|
2021-02-25 01:33:29 +03:00
|
|
|
<a onclick="document.location.reload(true);" class="active" id="gameButton">Game</a>
|
|
|
|
<a onclick="showPage(this, pageStatistics);" id="statsButton">Statistics</a>
|
2021-02-25 04:29:23 +03:00
|
|
|
<a onclick="showPage(this, pageCredits);" id="creditsButton" class="hide-xs">Credits</a>
|
2021-02-25 00:06:14 +03:00
|
|
|
</nav>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 00:06:14 +03:00
|
|
|
<br>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 01:33:29 +03:00
|
|
|
<section id="content">
|
2021-02-25 00:06:14 +03:00
|
|
|
<p id="word" class="card text-center text-uppercase">
|
|
|
|
Loading word...
|
|
|
|
</p>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 00:06:14 +03:00
|
|
|
<div id="keyboard" class="is-hidden text-center">
|
|
|
|
... keyboard ...
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2021-02-25 04:29:23 +03:00
|
|
|
<footer class="text-center hide-xs">
|
|
|
|
<hr>
|
2021-02-25 00:06:14 +03:00
|
|
|
<p class="text-grey is-marginless is-small">
|
|
|
|
by iiiypuk<br>
|
2021-02-25 04:38:21 +03:00
|
|
|
ver: 2.0.1
|
2021-02-25 00:06:14 +03:00
|
|
|
</p>
|
2021-02-24 22:45:09 +03:00
|
|
|
</footer>
|
2017-02-17 04:34:12 +03:00
|
|
|
</div>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 00:06:14 +03:00
|
|
|
<script>
|
|
|
|
if (window.matchMedia &&
|
|
|
|
window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
|
|
document.body.classList.add('dark');
|
2021-02-25 04:03:39 +03:00
|
|
|
document.querySelector("#theme-switch").innerHTML = "🌙";
|
2021-02-25 00:06:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
function switchMode(el) {
|
|
|
|
const bodyClass = document.body.classList;
|
|
|
|
bodyClass.contains("dark")
|
|
|
|
? ((el.innerHTML = "☀️"), bodyClass.remove("dark"))
|
|
|
|
: ((el.innerHTML = "🌙"), bodyClass.add("dark"));
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="_media/js/game.js"></script>
|
2017-02-17 03:38:54 +03:00
|
|
|
</body>
|
|
|
|
</html>
|