Created
March 24, 2014 01:46
-
-
Save ianhobbs/9732800 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
<body> | |
<div class="page"> | |
<header>Hello i'm your header</header> | |
<div class="main"> | |
<article>article</article> | |
<div class="right"> | |
<div class="lit"> | |
<date><h2>1298</h2></date> | |
<div class="text"><h1>my heading</h1></div> | |
<div class="pic">A picture here</div> | |
<div class="body"><p>yaddaa tagga</p></div> | |
</div> | |
</div> | |
</div> | |
<footer>footer</footer> | |
</div> | |
</body> |
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.4) | |
// Compass (v1.0.0.alpha.18) | |
// Breakpoint (v2.4.2) | |
// Susy (v2.1.1) | |
// ---- | |
@import "susy" | |
@import "breakpoint" | |
$olive: RGBA(120,230,140,0.3) | |
$pink: RGBA(220,12,139,0.2) | |
$nBlack: #6c6c6c | |
$tc: 12 | |
div, nav, article, header, footer | |
background: $pink | |
$neutBlack: #4c4c4c | |
$susy: (columns: $tc, gutters: 0.3,math: fluid,output: float,gutter-position: inside,) | |
$show-column-grid-backgrounds : true | |
$map2: (6em 1em inside) | |
div.page | |
@include container (920px show) | |
@include border-box-sizing | |
header | |
@include span(full) | |
background: rgba(120,120,59, 0.1) | |
height: 40px | |
@include susy-breakpoint(10 show, 670px) | |
height: 80px | |
div.main | |
@include span(full) | |
article | |
@include span(8 of $tc) | |
color: $nBlack | |
div.right | |
@include span(3 of $tc narrow) | |
@include push(1) | |
div.lit | |
@include with-layout(8 show wide) | |
date | |
@include span(last 2 of 8) | |
background: yellow | |
div.text | |
@include span(first 6 of 8) | |
margin: 0 | |
padding: 0 | |
div.pic | |
@include span(3 of 8) | |
background: $olive | |
div.body | |
@include span(5 of 8) | |
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
div, nav, article, header, footer { | |
background: RGBA(220, 12, 139, 0.2); | |
} | |
div.page { | |
max-width: 920px; | |
margin-left: auto; | |
margin-right: auto; | |
background-image: linear-gradient(to right, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25)); | |
background-size: 8.33333%; | |
background-origin: content-box; | |
background-clip: content-box; | |
background-position: left top; | |
} | |
div.page::after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
div.page *, div.page *::before, div.page *::after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
div.page header { | |
width: 100%; | |
float: left; | |
padding-left: 0.96154%; | |
padding-right: 0.96154%; | |
background: rgba(120, 120, 59, 0.1); | |
height: 40px; | |
} | |
@media (show: 10) { | |
div.page header { | |
height: 80px; | |
} | |
} | |
div.page div.main { | |
width: 100%; | |
float: left; | |
padding-left: 0.96154%; | |
padding-right: 0.96154%; | |
} | |
div.page div.main article { | |
width: 66.66667%; | |
float: left; | |
padding-left: 0.96154%; | |
padding-right: 0.96154%; | |
color: #6c6c6c; | |
} | |
div.page div.main div.right { | |
width: 23.07692%; | |
float: left; | |
padding-left: 0.96154%; | |
padding-right: 0.96154%; | |
margin-left: 8.33333%; | |
} | |
div.page div.main div.right date { | |
width: 25%; | |
float: right; | |
padding-left: 1.44231%; | |
padding-right: 1.44231%; | |
background: yellow; | |
} | |
div.page div.main div.right div.text { | |
width: 75%; | |
float: left; | |
padding-left: 1.44231%; | |
padding-right: 1.44231%; | |
margin: 0; | |
padding: 0; | |
} | |
div.page div.main div.right div.pic { | |
width: 37.5%; | |
float: left; | |
padding-left: 1.44231%; | |
padding-right: 1.44231%; | |
background: RGBA(120, 230, 140, 0.3); | |
} | |
div.page div.main div.right div.body { | |
width: 62.5%; | |
float: left; | |
padding-left: 1.44231%; | |
padding-right: 1.44231%; | |
} |
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
<body> | |
<div class="page"> | |
<header>Hello i'm your header</header> | |
<div class="main"> | |
<article>article</article> | |
<div class="right"> | |
<div class="lit"> | |
<date><h2>1298</h2></date> | |
<div class="text"><h1>my heading</h1></div> | |
<div class="pic">A picture here</div> | |
<div class="body"><p>yaddaa tagga</p></div> | |
</div> | |
</div> | |
</div> | |
<footer>footer</footer> | |
</div> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment