diff --git a/main.ts b/main.ts index bace0b1..043c659 100644 --- a/main.ts +++ b/main.ts @@ -9,3 +9,12 @@ const display = params.get("display") if (display === "pure") { document.querySelector("header")?.remove() } + +const size = params.get("size") + +if (size === "small") { + const body = document.querySelector("body") + if (body) { + body.style.fontSize = "15px" + } +} diff --git a/style.css b/style.css index e9e687d..0f3e456 100644 --- a/style.css +++ b/style.css @@ -127,22 +127,6 @@ li { flex-wrap: wrap; } -@media only screen and (max-width: 1250px) { - :root { - --customer-height: 120px; - } - - body { - font-size: 22px; - } - - .customer-satisfaction { - padding: 0 0.5rem; - font-size: min(22px, 50vw); - height: initial; - } -} - @media only screen and (min-width: 750px) { .pilars { flex-direction: row;