refactor: improve news and email handling, style, folder structure (#16)

This commit is contained in:
Riccardo Senica
2024-06-04 18:04:54 +08:00
committed by GitHub
parent bc5e0cc195
commit acc10bf5fd
62 changed files with 1737 additions and 1553 deletions

View File

@@ -4,8 +4,8 @@
<script>
window.onload = function () {
var body = document.getElementsByTagName('body')[0];
var size = 160; // size of each square
var margin = 8; // margin between squares
var size = 160;
var margin = 8;
var squaresPerRow = Math.ceil(window.innerWidth / (size + margin));
var squaresPerColumn = Math.ceil(window.innerHeight / (size + margin));