summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/index.html b/index.html
index c17aafb..2175fbf 100644
--- a/index.html
+++ b/index.html
@@ -3,17 +3,26 @@
<title>honeycomb</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<style>
+html,body { margin: 0; padding: 0; width: 100%; height: 100%; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 13px;
background-color: #333;
}
-div {
- display: inline-block;
+#container {
+ position: absolute; top: 0; left: 0;
+ width: 100%; height: 100%;
+}
+.mobile #container {
+ transform-origin: 50% 50%;
+ transform: scale(0.6);
}
.desktop body {
user-select: none;
}
+.hex {
+ transform: translate(-40px, -50px);
+}
@media only screen and (max-device-width: 800px) {
html,body {
margin: 0;
@@ -23,6 +32,7 @@ div {
</style>
</head>
<body>
+<div id="container"></div>
</body>
<script>
var s = document.createElement('script');