splitting all js into individual files to comparmentalize and getting rid of onload event (in favour of defer)

This commit is contained in:
Simon Martens
2022-11-15 21:27:27 +01:00
parent e5052dd4ea
commit 5e90e917f1
30 changed files with 771 additions and 809 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,24 @@
/* PRINT */
header {
@apply print:hidden
}
.ha-footer {
@apply print:hidden
}
.ha-letterheadernav {
@apply print:!hidden
}
.ha-letterheader {
@apply print:!border-none
}
.ha-scrollbutton {
@apply print:!hidden
}
html {
@apply print:text-base
}

View File

@@ -14,6 +14,7 @@
@import "./upload.css";
@import "./index.css";
@import "./search.css";
@import "./print.css";
@layer components {
/* TODO: check what can be inlined (eg. used once in the code, has no double paths etc...) */