Heros

Markup

<div class="hero large" style="background-image:url('https://unsplash.it/1470/600?image=314')">

	<img src="https://unsplash.it/1470/600?image=314" alt="" class="visuallyhidden">

	<!-- Do not implement this link -->
	<a href="/inc/modules/?module=heros" class="module-link">
		<i class="icon info-icon">i</i>
		<span class="tool-tip">Heros</span>
	</a>
	<!-- Do not implement this link -->

</div>

Markup

<div class="hero small" style="background-image:url('https://unsplash.it/1470/600?image=829')">

	<img src="https://unsplash.it/1470/600?image=829" alt="" class="visuallyhidden">

	<!-- Do not implement this link -->
	<a href="/inc/modules/?module=heros" class="module-link">
		<i class="icon info-icon">i</i>
		<span class="tool-tip">Heros</span>
	</a>
	<!-- Do not implement this link -->

</div>

The larger, full width hero is to be used on the index page and the four business line landing pages always in conjunction with the General content block, which should overlap it by 30px. On mobile the image will scale to a 1:1 ratio.

The smaller hero that fits within the sites main container is to be used on all other pages always in conjunction with the general content block, which should sit 15px below it. On mobile this image will ideally fall to a 16:9 ratio.

The "large" and "small" modifier classes are applyed to this section in order to dictate the size of the heros. Wether its full width or not depends on the wraping DOM elemenent. There are modifiers that can be placed on the wrapper that dictates the spacing and layering order of these elements. To add space to the top you need to add the modifier class called "pos-top" and add negative space to the element (move it underneath the preceding element) at the modifier "neg-top". To change the amount of space for each you can add corresponding sizes via a modifier by appending a dash and the size initials. For example pos-top or neg-top becomes pos-top-sm, pos-top-md, pos-top-lg or pos-top-xlg. To have the negative spacing swap out pos with neg. The same technique is being used for the layering by applying the modifier class "z-index". To change the order you at one dash for positive layering and two dashes for negative values. For positive values 1-3 you add "z-index-0, z-index-1, z-index-2, z-index-3". For negative 1-3 you add "z-index--1, z-index--2, z-index--3". For neutraul layering add "z-index-0".