function isTallEnough() {\r
\r
// Get available height for contents\r
- var wh = $(window).height() - $('#h').outerHeight() - $('#adminBar').outerHeight() - 30; // 30px extra breathing space around content\r
+ var wh = $(window).height() - $('#h').outerHeight();\r
var ok = true;\r
var bgHeight = 0;\r
var contentHeight;\r
contentHeight = $(this).find('.content-inner').outerHeight();\r
\r
// Largest dimension of the two wins\r
- sectionHeight = Math.max(bgHeight, contentHeight);\r
+ // sectionHeight = Math.max(bgHeight, contentHeight);\r
+ sectionHeight = contentHeight; // Not taking into account the bg height for now.\r
\r
\r
- //console.info(sectionHeight + ' > ' + wh + '? ' + $(this).parent().attr('class'));\r
+ //console.info(sectionHeight + ' > ' + wh + '? ' + $(this).parent().data('section-name'));\r
if (sectionHeight > wh) {\r
- //console.error($(this).parent().attr('class') + ' is too tall...');\r
+ //console.warn($(this).parent().data('section-name') + ' section is too tall...');\r
ok = false;\r
return false;\r
}\r
background-color: #fff;\r
font-family: @body-font;\r
font-size: 14px;\r
- line-height: 26/14;\r
+ line-height: 1.6;\r
min-width: @content-min-width;\r
-moz-text-size-adjust: 100%;\r
-webkit-text-size-adjust: 100%;\r
&.title {\r
color: @color-text;\r
font-family: @playfair;\r
- font-size: 60px;\r
+ font-size: 50px;\r
font-weight: 400;\r
- line-height: 1.3;\r
+ line-height: 1.2;\r
.divider(1.4em);\r
\r
@media @m900 {\r