preload heonian font

This commit is contained in:
remi 2022-05-05 08:41:53 +02:00
parent 720aefbffa
commit 473c272fe0
3 changed files with 13 additions and 5 deletions

View File

@ -1,5 +1,8 @@
</main>
<script src="main.js"></script>
<font-preload>

</font-preload>
</body>
</html>

View File

@ -165,14 +165,19 @@ main {
font-family: "heonian";
}
data-swap {
display: none;
}
.button {
text-decoration: underline;
text-align: center;
cursor: pointer;
user-select: none;
-webkit-user-select: none;
}
font-preload {
font-family: var(--font-heonian);
position: fixed;
top: 0;
left: 0;
pointer-events: none;
opacity: 0;
}

2
todo
View File

@ -4,5 +4,5 @@
[ ] generator: word list
[ ] js: word lookup
[ ] css: night mode lol
[ ] html: preload heonian font to prevent split second of it looking Strange
[x] html: preload heonian font to prevent split second of it looking Strange
[ ] ???: translation support..?