aboutsummaryrefslogtreecommitdiff
path: root/html/index.html
diff options
context:
space:
mode:
authorGrant Squires <[email protected]>2022-10-06 13:22:40 -0500
committerGrant Squires <[email protected]>2022-10-06 13:22:40 -0500
commit91d052a46a5c27ec65692b8b74fad9d22cc53bb1 (patch)
treecd2c77a9e8f5f5bc5c4223dcbc149dace215f5b8 /html/index.html
parent93f80abf2ab8c7f33f23fedb6917416280a71423 (diff)
fixed face
Diffstat (limited to 'html/index.html')
-rw-r--r--html/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/index.html b/html/index.html
index 354eb04..2765855 100644
--- a/html/index.html
+++ b/html/index.html
@@ -160,9 +160,9 @@
sendnoenc('pub.key', { sid: sid, pub: mypub })
readTextFile("kanna.txt").then((kanna) => {
let left = -300;
- let top = -40;
+ let top = '15%';
let t = setInterval(() => {
- document.getElementById("kanna").innerHTML += "<div style='user-select: none;white-space: nowrap; position:absolute;left:" + left + "px;top:" + top + "%;transform:scale(.5)'><tt><b>" + (kanna.replaceAll("#", "</br>").replaceAll(" ", "<font style='color:rgba(1,1,1,0)'>_</font>")) + "</b></div></tt></a>"
+ document.getElementById("kanna").innerHTML += "<div style='user-select: none;white-space: nowrap; position:absolute;left:" + left + "px;bottom:" + top + ";transform:scale(.5)'><tt><b>" + (kanna.replaceAll("#", "</br>").replaceAll(" ", "<font style='color:rgba(1,1,1,0)'>_</font>")) + "</b></div></tt></a>"
left += 300
if (left >= 600) {
clearInterval(t)