{% if page.handle == 'sweet-dolls' %} {{ 'sweetdoll.css' | asset_url | stylesheet_tag }} {% endif %} {% if page.handle == 'tous-summer' %} {% section 'toussummer1' %} {% endif %} <script> var custom_timeout_function = ( function () { var timers = {}; return function (callback, ms, uniqueId) { if (!uniqueId) { uniqueId = "Don't call this twice without a uniqueId"; } if (timers[uniqueId]) { clearTimeout (timers[uniqueId]); } timers[uniqueId] = setTimeout(callback, ms); }; })(); function fullscreensection() { jQuery('.section.full-screen').each(function() { jQuery(this).width('auto'); jQuery(this).css({ 'margin-left': '', 'width': '' }); if (jQuery('html').width() > jQuery(this).width()) { jQuery(this).css('margin-left', ((jQuery(this).width() - jQuery('html').width()) / 2)); jQuery(this).width(jQuery('html').width()); } }); } jQuery(window).bind('load', function() { fullscreensection(); }); jQuery(window).resize(function() { custom_timeout_function( function(){ fullscreensection(); }, 200 ); }); </script> <div class="row-1 row"> <div class="section"> <img src="{{ '1_titular_swing.png' | asset_url }}" alt="HOLD collection: One Jewel, infinite looks – Tous Canada" /> </div> </div> <div class="row-1 row"> <div class="full-screen section banner relative"> <img class="alignleft" src="{{ '00_img_header.jpg' | asset_url }}" alt="HOLD collection: One Jewel, infinite looks – Tous Canada" /> <h1 class="garamond">HOLD</h1> </div> </div> @import url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'); .row .cta {text-transform: uppercase; padding: 0 66px; line-height: 48px; color: #000; border: 1px solid #000000; background: transparent; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } .row .cta:hover { background: #000000 !important; color: #fff !important; } .relative { position: relative; } .empty-space { clear: both; } .empty-space-30 { height: 30px; } .empty-space-50 { height: 50px; } .empty-space-100 { height: 100px; } .uppercase{text-transform: uppercase;} .p-0-5{padding-right: 5px !important; padding-left: 5px !important;} .p-0-0{padding-right: 0 !important; padding-left: 0 !important;}
Leave a Reply