diff --git a/index.html b/index.html index 48bba2b..b6da799 100644 --- a/index.html +++ b/index.html @@ -112,5 +112,6 @@ + diff --git a/main.ts b/main.ts new file mode 100644 index 0000000..bace0b1 --- /dev/null +++ b/main.ts @@ -0,0 +1,11 @@ +type TPSSearchParams = { + display?: "pure" | "full" +} + +const params = new URL(document.location.href).searchParams + +const display = params.get("display") + +if (display === "pure") { + document.querySelector("header")?.remove() +} diff --git a/style.css b/style.css index 57d0648..e9e687d 100644 --- a/style.css +++ b/style.css @@ -23,7 +23,7 @@ main { flex-direction: column; justify-content: center; gap: 0; - margin: 0 1rem; + margin: 1rem 1rem 0; } ul {