Files

201 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tooloop Kiosk Browser</title>
<style>
html,
body {
font-family: system-ui, sans-serif;
display: flex;
height: 100%;
width: 100%;
align-items: center;
justify-content: center;
flex-direction: column;
font-size: 18px;
color: white;
margin: 0;
padding: 0;
}
html {
background: linear-gradient(to left, #de6262, #ffb88c);
}
h1,
h2 {
line-height: 1;
margin: 1rem 0 1.333rem 0;
}
h2 {
margin-bottom: 2.25rem;
}
p {
line-height: 1.4;
margin: 1rem 0;
}
pre,
code {
background-color: hsl(0, 0%, 85%);
color: #333;
font-weight: 300;
font-size: 0.9rem;
padding: 0.133em 0.333em;
}
pre {
overflow: auto;
}
#info {
max-width: 1280px;
margin: 0;
padding: 0 4rem;
height: 540px;
display: flex;
flex-direction: column;
}
#header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 2rem;
}
#header img {
width: 3rem;
height: 3rem;
}
#header h1 {
font-weight: 400;
}
.columns {
display: flex;
gap: 2rem;
flex-grow: 1;
max-height: 100%;
}
.card {
width: calc(calc(50% - 5rem));
color: black;
background-color: white;
padding: 1.1666rem 2rem;
border-radius: 0.5rem;
overflow: auto;
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}
.card h2 {
color: #E6004D;
font-weight: 500;
}
table {
border-collapse: collapse;
width: 100%;
}
th {
width: min-content;
}
td {
width: max-content;
}
td, th {
margin: 0;
padding: 1rem;
border-top: 1px solid lightblue;
border-bottom: 1px solid lightblue;
}
@media screen and (max-width: 1024px) {
body,
html {
display: block;
}
#info {
height: initial;
padding: 1rem;
}
.columns {
display: block;
}
.card {
width: calc(100% - 4rem);
}
.card+.card {
margin-top: 1rem;
}
pre {
white-space: preserve;
}
}
</style>
</head>
<body>
<main id="info">
<div id="header" role="banner">
<img src="../images/icon-512.png" alt="Application Icon" role="presentation">
<h1>Tooloop Kiosk Browser</h1>
</div>
<div class="columns">
<article class="card">
<h2>Add your content</h2>
<p>The first thing you might want to do, is configure your page to load. You can load a local page or an
online ressource.</p>
<p>
Put your local content in <code>/assets/data/index.html</code>
or configure a URL in the settings (shortcut <code>Strg + ,</code>).
</p>
</article>
<article class="card">
<h2>Keyboard shortcuts</h2>
<table>
<tr>
<th><code>Ctrl + ,</code></th>
<td>Settings</td>
</tr>
<tr>
<th><code>Ctrl + F</code></th>
<td>Toggle Fullscreen</td>
</tr>
<tr>
<th><code>Ctrl + Q</code></th>
<td>Quit</td>
</tr>
<tr>
<th><code>Ctrl + R</code></th>
<td>Reload</td>
</tr>
</table>
</article>
</div>
</main>
</body>
</html>