crosswords/js_client/index.html

126 lines
3.2 KiB
HTML
Raw Permalink Normal View History

2021-06-17 16:02:50 +02:00
<!doctype html>
<html>
<head>
2021-06-25 09:48:06 +02:00
<link rel="icon" type="image/png" href="./favicon.png" />
<link rel="manifest" href="./manifest.json">
<script type="module" src="./app.js"></script>
<script type="module" src="./sw.js"></script>
2021-06-17 16:02:50 +02:00
<!-- Polyfills only needed for Firefox and Edge. -->
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@latest/webcomponents-loader.js"></script>
<!-- Works only on browsers that support Javascript modules like
Chrome, Safari, Firefox 60, Edge 17 -->
2021-06-21 10:18:31 +02:00
<style>
body {
background-color: black;
2021-06-23 19:11:34 +02:00
font-size: 1.5vh;
text-align: center;
margin: auto;
2021-06-21 10:18:31 +02:00
}
@media (max-aspect-ratio: 3/2) {
body {
2021-06-23 19:11:34 +02:00
font-size: 1.5vh;
2021-06-21 10:18:31 +02:00
}
}
2021-06-23 19:11:34 +02:00
html {
width: 100%;
height: 100%;
}
body {
min-width: 100%;
min-height: 100%;
}
.centerbox {
background-color: black;
border-style: none;
box-shadow: none;
outline: none;
position: absolute;
2021-07-03 20:21:45 +02:00
width: 30em;
height: 20em;
2021-06-23 19:11:34 +02:00
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
padding: 1em;
color: white;
font-size: 1em;
}
2021-07-03 20:21:45 +02:00
.bigbox {
background-color: black;
border-color: white;
border-width: 0.2em;
border-style: solid;
max-width: 30em;
max-height: 6em;
box-shadow: none;
outline: none;
position: relative;
margin: 1em;
padding: 1em;
color: white;
font-size: 1em;
}
.flex {
display: flex;
width: 100%;
}
2021-06-23 19:11:34 +02:00
.box {
background-color: black;
border-color: white;
border-width: 0.2em;
border-style: solid;
2021-07-03 20:21:45 +02:00
flex: auto;
width: 33%;
text-decoration: none;
max-width: 30em;
2021-06-23 19:11:34 +02:00
max-height: 3em;
box-shadow: none;
outline: none;
position: relative;
2021-07-03 20:21:45 +02:00
margin: 0.5em;
2021-06-23 19:11:34 +02:00
padding: 1em;
color: white;
font-size: 1em;
}
2021-06-21 10:18:31 +02:00
</style>
2021-06-23 19:11:34 +02:00
2021-06-17 16:02:50 +02:00
</head>
2021-06-21 10:18:31 +02:00
<body>
2021-06-23 19:11:34 +02:00
<div class="centerbox">
2021-07-03 20:21:45 +02:00
<h3>choose language and difficulty:</h3>
<div class="bigbox"> <div> German </div>
<div class="flex">
<a href="./german.html?difficulty=0" class="box"> easy </a>
<a href="./german.html?difficulty=1" class="box"> normal </a>
<a href="./german.html?difficulty=2" class="box"> hard </a>
</div>
</div>
<div class="bigbox"> <div> English </div>
<div class="flex">
<a href="./english.html?difficulty=0" class="box"> easy </a>
<a href="./english.html?difficulty=1" class="box"> normal </a>
<a href="./english.html?difficulty=2" class="box"> hard </a>
</div>
</div>
2021-06-23 19:11:34 +02:00
</div>
2021-06-21 10:18:31 +02:00
2021-06-17 16:02:50 +02:00
</body>
</html>