mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-13 10:00:51 +01:00
79 lines
1.4 KiB
HTML
79 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<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;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.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;
|
|
padding-top: 300px;
|
|
padding-bottom: 300px;
|
|
}
|
|
|
|
#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> |