hgman/docs/index.html

108 lines
5.4 KiB
HTML
Raw Normal View History

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">
<title>WORDs</title>
2021-02-25 02:30:49 +03:00
<link rel="stylesheet" href="https://unpkg.com/chota@0.8.0">
2021-02-27 02:05:24 +03:00
<link rel="stylesheet" href="styles.css?v=3">
<link rel="icon" type="image/png" href="images/favicon.png">
2021-02-25 07:27:33 +03:00
<!-- Mobile -->
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimal-ui">
<meta name="format-detection" content="telephone=no">
<!-- Android -->
<meta name="mobile-web-app-capable" content="yes">
<!-- iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="WORDs">
2021-02-25 10:47:38 +03:00
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2021-02-27 02:05:24 +03:00
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-640x1136.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-750x1334.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-828x1792.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-1125x2436.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-1242x2208.png" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-1242x2688.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-1536x2048.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-1668x2224.png" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-1668x2388.png" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/splash-portrait-2048x2732.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
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 07:27:33 +03:00
<a class="brand">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">
<!-- <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 07:27:33 +03:00
<!-- answer word div -->
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 07:27:33 +03:00
<!-- keyboard div -->
<div class="row">
<div class="col hide-xs hide-sm"></div>
<div id="keyboard" class="col-5-md is-hidden text-center is-full-width">
... keyboard ...
</div>
<div class="col hide-xs hide-sm"></div>
2021-02-25 00:06:14 +03:00
</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">
2021-02-25 07:27:33 +03:00
by <a href="//iiiypuk.me/about/" target="_blank">iiiypuk</a><br>
ver: <a href="https://github.com/iiiypuk/hgman/blob/master/CHANGELOG.md" target="_blank">2.0.2</a>
2021-02-25 00:06:14 +03:00
</p>
2021-02-25 04:41:36 +03:00
<div id="statistics" class="is-hidden">
2021-02-27 02:32:34 +03:00
<script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
2021-02-25 04:41:36 +03:00
<span id="busuanzi_container_site_uv">UV <span id="busuanzi_value_site_uv"></span></span>
<span id="busuanzi_container_site_pv">PV <span id="busuanzi_value_site_pv"></span></span>
</div>
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');
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>
2021-02-27 02:05:24 +03:00
<script type="text/javascript" src="game.js?v=3"></script>
2017-02-17 03:38:54 +03:00
</body>
</html>