Created
July 2, 2014 13:47
-
-
Save shaneog/e8868baf9abfdcfe985a to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head></head> | |
<body> | |
<div id="header-wrapper" style="background-color: beige;"> | |
<header class="header-grid"> | |
<div class="page"> | |
</div> | |
</header> | |
</div> | |
<div id="feature-header-wrapper" style="background-color: lightgray;"> | |
<section class="feature-header-grid"> | |
<div class="page"> | |
</div> | |
</section> | |
<section class="content-grid"> | |
<div class="page"> | |
<article class="page__content"> | |
Content - Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Donec ullamcorper nulla non metus auctor fringilla. | |
</article> | |
<aside class="page__sidebar"> | |
Sidebar - Aenean lacinia bibendum nulla sed consectetur. Nullam id dolor id nibh ultricies vehicula ut id elit. | |
</aside> | |
</div> | |
</section> | |
</div> | |
<div id="footer-wrapper" style="background-color: beige;"> | |
<header class="header-grid"> | |
<div class="page"> | |
</div> | |
</header> | |
</div> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.9) | |
// Compass (v1.0.0.alpha.20) | |
// Susy (v2.1.2) | |
// ---- | |
@import "susy"; | |
$susy: ( | |
debug: ( | |
image: show, | |
color: rgba(#66f, .25), | |
output: background, | |
toggle: top right, | |
), | |
math: fluid, | |
columns: 12, | |
gutters: 0.5, | |
global-box-sizing: border-box, | |
use-custom: (rem: true) | |
); | |
/* | |
column-width: 4.625em, | |
gutter-width: 2.25em, | |
grid-padding: 0, | |
*/ | |
.header-grid { | |
@include container( 1284px ); | |
} | |
.feature-header-grid { | |
@include container( 1244px ); | |
} | |
.content-grid { | |
@include container( 1184px ); | |
} | |
.page { | |
height: 100px; | |
} | |
.page__header { | |
@include span(full); | |
background: rgba(255, 0, 0, 0.4); | |
margin-bottom: 20px; | |
} | |
.page__sidebar { | |
@include span(last 2.5 of 12); | |
background: rgba(0, 255, 0, 0.4); | |
margin-bottom: 20px; | |
} | |
.page__content { | |
@include span(9 of 12); | |
background: rgba(0, 0, 255, 0.4); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
column-width: 4.625em, | |
gutter-width: 2.25em, | |
grid-padding: 0, | |
*/ | |
.header-grid { | |
max-width: 1284px; | |
margin-left: auto; | |
margin-right: auto; | |
background-image: linear-gradient(to right, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 66.66667%, transparent 66.66667%); | |
background-size: 8.57143%; | |
background-origin: content-box; | |
background-clip: content-box; | |
background-position: left top; | |
} | |
.header-grid:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
.feature-header-grid { | |
max-width: 1244px; | |
margin-left: auto; | |
margin-right: auto; | |
background-image: linear-gradient(to right, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 66.66667%, transparent 66.66667%); | |
background-size: 8.57143%; | |
background-origin: content-box; | |
background-clip: content-box; | |
background-position: left top; | |
} | |
.feature-header-grid:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
.content-grid { | |
max-width: 1184px; | |
margin-left: auto; | |
margin-right: auto; | |
background-image: linear-gradient(to right, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 66.66667%, transparent 66.66667%); | |
background-size: 8.57143%; | |
background-origin: content-box; | |
background-clip: content-box; | |
background-position: left top; | |
} | |
.content-grid:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
.page { | |
height: 100px; | |
} | |
.page__header { | |
width: 100%; | |
float: left; | |
margin-left: 0; | |
margin-right: 0; | |
background: rgba(255, 0, 0, 0.4); | |
margin-bottom: 20px; | |
} | |
.page__sidebar { | |
width: 18.57143%; | |
float: right; | |
margin-right: 0; | |
background: rgba(0, 255, 0, 0.4); | |
margin-bottom: 20px; | |
} | |
.page__content { | |
width: 74.28571%; | |
float: left; | |
margin-right: 2.85714%; | |
background: rgba(0, 0, 255, 0.4); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head></head> | |
<body> | |
<div id="header-wrapper" style="background-color: beige;"> | |
<header class="header-grid"> | |
<div class="page"> | |
</div> | |
</header> | |
</div> | |
<div id="feature-header-wrapper" style="background-color: lightgray;"> | |
<section class="feature-header-grid"> | |
<div class="page"> | |
</div> | |
</section> | |
<section class="content-grid"> | |
<div class="page"> | |
<article class="page__content"> | |
Content - Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Donec ullamcorper nulla non metus auctor fringilla. | |
</article> | |
<aside class="page__sidebar"> | |
Sidebar - Aenean lacinia bibendum nulla sed consectetur. Nullam id dolor id nibh ultricies vehicula ut id elit. | |
</aside> | |
</div> | |
</section> | |
</div> | |
<div id="footer-wrapper" style="background-color: beige;"> | |
<header class="header-grid"> | |
<div class="page"> | |
</div> | |
</header> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment