kalker/web/public/index.html

79 lines
1.4 KiB
HTML
Raw Normal View History

2021-01-02 01:02:46 +01:00
<!DOCTYPE html>
<html lang="en">
2021-01-02 23:45:54 +01:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2021-01-02 01:02:46 +01:00
2021-01-02 23:45:54 +01:00
<title>Svelte app</title>
2021-01-02 01:02:46 +01:00
2021-01-02 23:45:54 +01:00
<link rel="icon" type="image/png" href="/favicon.png">
<script defer src="/build/bundle.js"></script>
<style>
#wrapper {
padding: 40px;
background-color: #212121;
}
html,
body {
overflow-x: hidden;
}
2021-01-04 20:47:33 +01:00
.hint {
color: #9c9c9c;
}
.calculator {
width: 850px;
height: 350px;
color: white;
font-family: "Hack", monospace, Consolas;
font-size: 14px;
padding: 5px 10px 0 10px;
background-color: #2e2e2e;
border-radius: 7px;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
}
2021-01-07 23:37:26 +01:00
@media screen and (max-width: 850px) {
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
padding-top: 300px;
padding-bottom: 300px;
2021-01-07 23:37:26 +01:00
}
#wrapper {
padding: 0;
}
.calculator {
width: 100vw;
height: 100vh;
box-sizing: border-box;
border-radius: 0;
box-shadow: 0;
padding: 0;
}
}
</style>
2021-01-02 23:45:54 +01:00
</head>
<body>
<section id="wrapper">
<div class="calculator">
2021-01-07 23:37:26 +01:00
<kalk-calculator hinttext="test" autofocus="true" buttonpanel="true" numberrow="true">
2021-01-04 20:47:33 +01:00
<console-line>kalk</console-line>
<console-line>
<span class="hint">Type 'help' for instructions.</span>
</console-line>
</kalk-calculator>
</div>
</section>
2021-01-02 23:45:54 +01:00
</body>
</html>