/* ============================================ * * Homepage * ============================================ */ /* -------------------------------------------- * * Primary Banner */ body.cms-home { .main-container { padding-top: 20px; } .slideshow-container { margin-top: 0; } } #top-banner img { width: 100%; max-width: 100%; } .slideshow .banner-msg { position: absolute; text-align: center; text-transform: uppercase; width: 100%; top: 30%; @include not-selectable; } .slideshow .banner-msg h2 { color: #FFFFFF; font-size: 24px; @include single-text-shadow(1px, 1px, 3px, false, #555555); } .slideshow .banner-msg h2 strong { font-weight: bold; display: block; font-size: 36px; } @include bp(max-width, $bp-medium) { .slideshow .banner-msg h2 { font-size: 20px; } .slideshow .banner-msg h2 strong { font-size: 24px; } } @include bp(max-width, $bp-xsmall) { .slideshow .banner-msg { top: 20%; } .slideshow .banner-msg h2 { font-size: 14px; } .slideshow .banner-msg h2 strong { font-size: 16px; } } /* -------------------------------------------- * * Promotion Banner Section */ .promos { margin: 0 0 $gap 0; padding: 0; width: 100%; } .promos:after { @include clearfix; } /* Specifying the body only in order to override the .std ul li styling */ body .promos > li { margin: 0 0 10px 0; list-style: none; text-align: center; position: relative; border: 1px solid $c-module-border; @include not-selectable; } .promos > li:last-child { margin-bottom: 0; } .promos img { max-width: 100%; width: 100%; } .top-right a:hover, .promos a:hover { @include opacity(0.8); display: block; } .promos span { color: #FFFFFF; text-transform: uppercase; position: absolute; display: block; width: 100%; top: 10%; font-weight: 500; font-size: 20px; font-family: $f-stack-special; @include single-text-shadow(1px, 1px, 3px, false, #555555); } .promos strong { font-weight: 600; font-size: 26px; display: block; } @include bp(min-width, $bp-xsmall + 1) { .promos span { font-size: 16px; } .promos strong { font-size: 17px; } /* Config: Three columns + flexible gutter */ // Container: 480 - (2 * 30 trim wide) = 420 // Math: (420 - (2 * 10 gutter)) / 3 items = 133.333333333 body .promos > li { float: left; width: percentage(133.333333333 / 420); margin-right: percentage(10 / 420); } .promos > li:nth-child(3n) { margin-right: 0; } } @include bp(min-width, 880px) { .promos span { font-size: 18px; } .promos strong { font-size: 24px; } } /* -------------------------------------------- * * Images à droite du carousel Section */ .std ul li.firstImage { margin-bottom: 1px; } .std ul li.firstImage, .std ul li.last-image { margin-left: 1px; } .top-right { width: 21%; float: left; margin: 10px 0px 0px 0px; } .responsive { width: 100%; max-width: 100%; } /* -------------------------------------------- * * New Products Section */ /* Hiding the reviews content via CSS because we can't modify the template, */ /* since it may be used in other places where those elements are needed */ .cms-index-index .products-grid .ratings, .cms-index-index .products-grid .actions, .cms-index-noroute .products-grid .ratings, .cms-index-noroute .products-grid .actions { display: block; } .cms-index-index h2.subtitle { padding: 6px 0; text-align: center; color: $c-text-primary; font-weight: 600; border-bottom: 1px solid $c-module-border; border-top: 1px solid $c-module-border; } .cms-index-noroute h2.subtitle { display: none; }