Created
August 31, 2014 15:21
-
-
Save eheiser/e6199537ff349c98a4a8 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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 class="page"> | |
<header> | |
<a class="logo" href="#"><img src="http://app.reminderbear.com/assets/images/panda-bear-large.png"></a> | |
<h1 class="company-name">Pandas 'R Us</h1> | |
<nav> | |
<ul> | |
<li class="nav-item"><a href="#">Nav 1</a></li> | |
<li class="nav-item"><a href="#">Nav 2</a></li> | |
<li class="nav-item"><a href="#">Nav 3</a></li> | |
<li class="nav-item"><a href="#">Nav 4</a></li> | |
</ul> | |
</nav> | |
</header> | |
<div class="hero"> | |
<div class="why-we-love"> | |
<h2>Why We Love Pandas So Much</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
consequat. </p> | |
<p> Duis aute irure dolor in reprehenderit in voluptate velit esse | |
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non | |
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> | |
</div> | |
<div class="about-pandas"> | |
<div class="in-the-wild"> | |
<h2>Pandas in the Wild</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. </p> | |
</div> | |
<div class="in-the-zoo"> | |
<h2>Pandas in the Zoo</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
consequat. </p> | |
</div> | |
<div class="in-the-media"> | |
<img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"> | |
<div class="copy"> | |
<h2>Pandas in the Media</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
consequat. </p> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="panda-gallery"> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
</div> | |
<footer> | |
<div class="panda-links"> | |
<ul> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
</ul> | |
</div> | |
<div class="panda-social"> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
</div> | |
<div class="panda-partners"> | |
<img src="http://radiofreethinker.files.wordpress.com/2013/04/pvp20030105.gif"> | |
<img src="http://majorspoilers.com/wp-content/uploads/2009/01a/2009_04_April_releases/pvp44cover.jpg"> | |
</div> | |
</footer> | |
</div> |
This file contains hidden or 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.14) | |
// Compass (v1.0.1) | |
// Susy (v2.1.3) | |
// ---- | |
@import "susy"; | |
$susy: ( | |
flow: ltr, // ltr | rtl | |
output: float, // float | isolate | |
math: fluid, // fluid | static (requires column-width) | |
column-width: false, // false | value | |
container: 700px, // length or % | auto | |
container-position: center, // left | center | right | <length> [*2] (grid padding) | |
last-flow: to, | |
columns: 12, | |
gutters: 1/4, | |
gutter-position: after, // before | after | split | inside | inside-static (requires column-width) | |
global-box-sizing: border-box, // content-box | border-box (affects inside/inside-static) | |
debug: ( | |
image: show, | |
color: rgba(#66f, .25), | |
output: background, // background | overlay | |
toggle: top left, | |
), | |
); | |
$gallery_layout: layout( 12 .125 fluid float after); | |
$nav_layout: layout( 12 0 fluid float inside); | |
$golden_layout: layout( (1 1.618 2.618) .1 fluid float split); | |
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
img { | |
width: 100%; | |
height: auto; | |
} | |
ul, li { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
nav { | |
margin: 10px 0; | |
text-align: center; | |
li { | |
background: #eee; | |
} | |
a { | |
display: block; | |
&:hover { | |
background: #ddd; | |
} | |
} | |
} | |
.page { | |
@include container; | |
} | |
header { | |
@include full; | |
.logo { | |
@include span(3); | |
} | |
.company-name { | |
@include span(last 7); | |
} | |
nav { | |
@include full; | |
} | |
.nav-item { | |
@include span(3 of $nav_layout); | |
} | |
} | |
.hero { | |
@include full; | |
.why-we-love { | |
@include span(5); | |
} | |
.about-pandas { | |
@include span(last 7); | |
} | |
.in-the-wild { | |
@include span(3 of 7); | |
} | |
.in-the-zoo { | |
@include span(last 4 of 7); | |
} | |
.in-the-media { | |
@include span(7 of 7) { | |
} | |
img { | |
@include span(2 of 7); | |
} | |
.copy { | |
@include span(last 5 of 7); | |
} | |
} | |
} | |
.panda-gallery { | |
@include full; | |
div { | |
@include with-layout($gallery_layout) { | |
@include gallery(4); | |
margin-bottom: gutter(); | |
} | |
} | |
} | |
footer { | |
@include with-layout($golden-layout) { | |
.panda-links { | |
@include span(1 at 1); | |
} | |
.panda-social { | |
@include span(1 at 2); | |
} | |
.social-link { | |
@include span(3 of 6 .25 inside); | |
} | |
.panda-partners { | |
@include span(1 at 3); | |
img { | |
@include span(1 at 3); | |
} | |
} | |
} | |
} | |
$gallery_layout: layout( 12 .125 fluid float after); | |
$nav_layout: layout( 12 0 fluid float inside); | |
$golden_layout: layout( (1 1.618 2.618) .1 fluid float split); | |
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
img { | |
width: 100%; | |
height: auto; | |
} | |
ul, li { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
nav { | |
margin: 10px 0; | |
text-align: center; | |
li { | |
background: #eee; | |
} | |
a { | |
display: block; | |
&:hover { | |
background: #ddd; | |
} | |
} | |
} |
This file contains hidden or 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
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
img { | |
width: 100%; | |
height: auto; | |
} | |
ul, li { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
nav { | |
margin: 10px 0; | |
text-align: center; | |
} | |
nav li { | |
background: #eee; | |
} | |
nav a { | |
display: block; | |
} | |
nav a:hover { | |
background: #ddd; | |
} | |
.page { | |
max-width: 700px; | |
margin-left: auto; | |
margin-right: auto; | |
background-image: linear-gradient(to right, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, transparent 80%); | |
background-size: 8.47458%; | |
background-origin: content-box; | |
background-clip: content-box; | |
background-position: left top; | |
} | |
.page:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
header { | |
clear: both; | |
width: 100%; | |
float: left; | |
margin-left: 0; | |
margin-right: 0; | |
} | |
header .logo { | |
width: 23.72881%; | |
float: left; | |
margin-right: 1.69492%; | |
} | |
header .company-name { | |
width: 57.62712%; | |
float: right; | |
margin-right: 0; | |
} | |
header nav { | |
clear: both; | |
width: 100%; | |
float: left; | |
margin-left: 0; | |
margin-right: 0; | |
} | |
header .nav-item { | |
width: 25%; | |
float: left; | |
} | |
.hero { | |
clear: both; | |
width: 100%; | |
float: left; | |
margin-left: 0; | |
margin-right: 0; | |
} | |
.hero .why-we-love { | |
width: 40.67797%; | |
float: left; | |
margin-right: 1.69492%; | |
} | |
.hero .about-pandas { | |
width: 57.62712%; | |
float: right; | |
margin-right: 0; | |
} | |
.hero .in-the-wild { | |
width: 41.17647%; | |
float: left; | |
margin-right: 2.94118%; | |
} | |
.hero .in-the-zoo { | |
width: 55.88235%; | |
float: right; | |
margin-right: 0; | |
} | |
.hero .in-the-media { | |
width: 100%; | |
float: left; | |
margin-left: 0; | |
margin-right: 0; | |
} | |
.hero .in-the-media img { | |
width: 26.47059%; | |
float: left; | |
margin-right: 2.94118%; | |
} | |
.hero .in-the-media .copy { | |
width: 70.58824%; | |
float: right; | |
margin-right: 0; | |
} | |
.panda-gallery { | |
clear: both; | |
width: 100%; | |
float: left; | |
margin-left: 0; | |
margin-right: 0; | |
} | |
.panda-gallery div { | |
width: 32.71028%; | |
float: left; | |
margin-bottom: 0.93458%; | |
} | |
.panda-gallery div:nth-child(3n + 1) { | |
margin-left: 0; | |
margin-right: -100%; | |
clear: both; | |
margin-left: 0; | |
} | |
.panda-gallery div:nth-child(3n + 2) { | |
margin-left: 33.64486%; | |
margin-right: -100%; | |
clear: none; | |
} | |
.panda-gallery div:nth-child(3n + 3) { | |
margin-left: 67.28972%; | |
margin-right: -100%; | |
clear: none; | |
} | |
footer .panda-links { | |
width: 18.06358%; | |
float: left; | |
margin-left: 0.90318%; | |
margin-right: 0.90318%; | |
} | |
footer .panda-social { | |
width: 29.22688%; | |
float: left; | |
margin-left: 0.90318%; | |
margin-right: 0.90318%; | |
} | |
footer .social-link { | |
width: 50%; | |
float: left; | |
padding-left: 1.66667%; | |
padding-right: 1.66667%; | |
} | |
footer .panda-partners { | |
width: 47.29046%; | |
float: right; | |
margin-left: 0.90318%; | |
margin-right: 0.90318%; | |
} | |
footer .panda-partners img { | |
width: 47.29046%; | |
float: right; | |
margin-left: 0.90318%; | |
margin-right: 0.90318%; | |
} | |
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
img { | |
width: 100%; | |
height: auto; | |
} | |
ul, li { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
nav { | |
margin: 10px 0; | |
text-align: center; | |
} | |
nav li { | |
background: #eee; | |
} | |
nav a { | |
display: block; | |
} | |
nav a:hover { | |
background: #ddd; | |
} |
This file contains hidden or 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 class="page"> | |
<header> | |
<a class="logo" href="#"><img src="http://app.reminderbear.com/assets/images/panda-bear-large.png"></a> | |
<h1 class="company-name">Pandas 'R Us</h1> | |
<nav> | |
<ul> | |
<li class="nav-item"><a href="#">Nav 1</a></li> | |
<li class="nav-item"><a href="#">Nav 2</a></li> | |
<li class="nav-item"><a href="#">Nav 3</a></li> | |
<li class="nav-item"><a href="#">Nav 4</a></li> | |
</ul> | |
</nav> | |
</header> | |
<div class="hero"> | |
<div class="why-we-love"> | |
<h2>Why We Love Pandas So Much</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
consequat. </p> | |
<p> Duis aute irure dolor in reprehenderit in voluptate velit esse | |
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non | |
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> | |
</div> | |
<div class="about-pandas"> | |
<div class="in-the-wild"> | |
<h2>Pandas in the Wild</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. </p> | |
</div> | |
<div class="in-the-zoo"> | |
<h2>Pandas in the Zoo</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
consequat. </p> | |
</div> | |
<div class="in-the-media"> | |
<img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"> | |
<div class="copy"> | |
<h2>Pandas in the Media</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
consequat. </p> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="panda-gallery"> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
<div><img src="http://static.tumblr.com/97a7da76ea8b40d5edd3eadc0f7e0a65/ntyqxws/kNrmx9uoa/tumblr_static_animal-picture-panda-bear-ucumari-animalpicture.jpg"></div> | |
</div> | |
<footer> | |
<div class="panda-links"> | |
<ul> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
<li><a href="#">Panda Link</a></li> | |
</ul> | |
</div> | |
<div class="panda-social"> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
<a class="social-link" href="#"><img src="http://www.clipartbest.com/cliparts/MTL/eyg/MTLeygGBc.png"></a> | |
</div> | |
<div class="panda-partners"> | |
<img src="http://radiofreethinker.files.wordpress.com/2013/04/pvp20030105.gif"> | |
<img src="http://majorspoilers.com/wp-content/uploads/2009/01a/2009_04_April_releases/pvp44cover.jpg"> | |
</div> | |
</footer> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment