mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-13 18:10:42 +01:00
72 lines
1.3 KiB
HTML
72 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
|
<title>Svelte app</title>
|
|
|
|
<link rel="icon" type="image/png" href="/favicon.png">
|
|
<script defer src="/build/bundle.js"></script>
|
|
|
|
<style>
|
|
#wrapper {
|
|
padding: 40px;
|
|
background-color: #212121;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
@media screen and (max-width: 850px) {
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
.calculator {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
box-sizing: border-box;
|
|
border-radius: 0;
|
|
box-shadow: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<section id="wrapper">
|
|
<div class="calculator">
|
|
<kalk-calculator hinttext="test" autofocus="true" buttonpanel="true" numberrow="true">
|
|
<console-line>kalk</console-line>
|
|
<console-line>
|
|
<span class="hint">Type 'help' for instructions.</span>
|
|
</console-line>
|
|
</kalk-calculator>
|
|
</div>
|
|
</section>
|
|
</body>
|
|
|
|
</html> |