$res .= '</div>'; // .col-2
$res .= '</div>'; // .grid
- $res .= '</div>';
$res = $this->backgroundBlock($res, $intro);
if ($intro['chapo']) {
$res .= $this->htmlElement(nl2br($intro['chapo']), 'blockquote');
}
-
+
return $this->htmlElement($res, 'section', array('class' => 'intro'));
}
}
\ No newline at end of file
$('main').css('min-height', mainHeight);\r
\r
// Handle divs with background images that must have a proportional min-height\r
- $('[data-bg-ratio]').each(function() {\r
+ $('[data-bg-ratio]').each(function () {\r
$(this).css('min-height', Math.round($(this).outerWidth() * $(this).data('bg-ratio')));\r
});\r
+\r
+ setZoom(ww);\r
+}\r
+\r
+function setZoom(ww) {\r
+ var z = 1;\r
+ if (ww >= 1680) {\r
+ z = ww / 1680;\r
+ }\r
+ $('#z').css('transform', 'scale(' + z + ')');\r
+\r
}
\ No newline at end of file