✨ (size) set a small size
This commit is contained in:
9
main.ts
9
main.ts
@@ -9,3 +9,12 @@ const display = params.get("display")
|
|||||||
if (display === "pure") {
|
if (display === "pure") {
|
||||||
document.querySelector("header")?.remove()
|
document.querySelector("header")?.remove()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const size = params.get("size")
|
||||||
|
|
||||||
|
if (size === "small") {
|
||||||
|
const body = document.querySelector("body")
|
||||||
|
if (body) {
|
||||||
|
body.style.fontSize = "15px"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
16
style.css
16
style.css
@@ -127,22 +127,6 @@ li {
|
|||||||
flex-wrap: wrap;
|
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) {
|
@media only screen and (min-width: 750px) {
|
||||||
.pilars {
|
.pilars {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|||||||
Reference in New Issue
Block a user