commit 83c88a5816dadc84c0c106264b933226d8f228b7
parent 57d7024cb6c4f6c918ab89145ecb46d16a79fe24
Author: Hunter
Date: Sun, 19 Oct 2025 11:50:29 -0400
center grid on page
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/index.html b/index.html
@@ -32,8 +32,8 @@
.grid {
position: absolute;
- top: 0.25in;
- left: 0.25in;
+ top: calc((11in - 264mm) / 2);
+ left: calc((8.5in - 200mm) / 2);
display: grid;
grid-template-columns: repeat(50, 4mm);
grid-template-rows: repeat(66, 4mm);
@@ -155,8 +155,8 @@
.grid {
position: absolute;
- top: 0.25in;
- left: 0.25in;
+ top: calc((11in - 264mm) / 2);
+ left: calc((8.5in - 200mm) / 2);
}
.grid-cell {