diff --git a/contao/templates/frontend/_survey_assets.html.twig b/contao/templates/frontend/_survey_assets.html.twig index 3317c09..950dea3 100644 --- a/contao/templates/frontend/_survey_assets.html.twig +++ b/contao/templates/frontend/_survey_assets.html.twig @@ -34,7 +34,7 @@ --survey-gray-mid: #a2a8b4; --survey-gray-soft: #e9e9eb; --survey-surface: rgba(255, 255, 255, 0.92); - --survey-page-gutter: clamp(2.5em, 7vw, 10em); + --survey-page-gutter: clamp(1.5em, 5vw, 10em); } .survey-brand-strip { @@ -79,6 +79,8 @@ margin-right: max(var(--survey-page-gutter), calc((100% - 1400px) / 2)); color: var(--survey-black); font-family: "PT Sans Narrow", sans-serif; + font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); + line-height: 1.55; letter-spacing: 0.3px; background: radial-gradient(circle at top left, rgba(0, 100, 173, 0.22), transparent 30%), @@ -104,6 +106,13 @@ font-style: normal; } + .survey-shell button, + .survey-shell input, + .survey-shell select, + .survey-shell textarea { + font: inherit; + } + .survey-grid { display: grid; gap: 1.5rem;