(size) set a small size

This commit is contained in:
Julien Calixte
2023-07-08 17:50:00 +02:00
parent f6b67f9fdf
commit 9c207619b1
2 changed files with 9 additions and 16 deletions

View File

@@ -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"
}
}

View File

@@ -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;