commit 52900215facf5e8f313a1aaa04f16c4a07d531bd
parent fb9adb79bb1d6cf491de6bb49b2f802d7632f993
Author: William Lindholm <william_lindholm@outlook.com>
Date: Sun, 19 Dec 2021 20:02:59 +0100
Merge branch 'main' of https://github.com/LindholmLabs/boredbutton3
Diffstat:
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
@@ -11,7 +11,7 @@
</head>
- <body>
+ <body class="noselect">
<canvas id="bang" width="800" height="800"></canvas>
<script src="./script.js"></script>
diff --git a/style.css b/style.css
@@ -18,6 +18,16 @@ canvas{
background-color: #fcfcfc;
}
+.noselect {
+ -webkit-touch-callout: none; /* iOS Safari */
+ -webkit-user-select: none; /* Safari */
+ -khtml-user-select: none; /* Konqueror HTML */
+ -moz-user-select: none; /* Old versions of Firefox */
+ -ms-user-select: none; /* Internet Explorer/Edge */
+ user-select: none; /* Non-prefixed version, currently
+ supported by Chrome, Edge, Opera and Firefox */
+}
+
/* Rubrik */
.headline {
color: #3F617C;
@@ -131,7 +141,8 @@ cursor: pointer;
}
#fact_text{
font-size: 1em;
- margin-top: 33%;
+ margin-top: 67%;
+ position: absolute;
}
}