Created
September 7, 2014 22:14
-
-
Save absowoot/a33c67f1fff21b39175b 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
<header> | |
<div class="wrapper"> | |
<div id="logo"><a href="#"><h1>Test</h1></a></div> | |
<div id="menu"><ul> | |
<li><a href="#">Link 1</a></li> | |
<li><a href="#">Link 2</a></li> | |
<li><a href="#">Link 3</a></li> | |
<li><a href="#">Link 4</a></li> | |
<li><a href="#">Link 5</a></li> | |
</ul></div> | |
</div> | |
</header> | |
<section id="content-area"> | |
<div class="wrapper"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis ligula eu sem viverra dictum at eget velit. Donec bibendum nec magna in posuere. Suspendisse eget pellentesque lorem. Sed feugiat quis velit vel porttitor. Praesent sit amet bibendum odio. Vivamus eu fringilla tortor. Duis nisi nibh, pellentesque id ipsum in, hendrerit iaculis felis. Sed risus tortor, rhoncus ut quam eget, fermentum tristique tortor. Proin auctor libero in ornare congue. Donec sem tellus, posuere ac sapien sed, elementum sodales risus. Aenean eleifend sit amet nulla a venenatis. Maecenas iaculis in mi vel sodales. Curabitur dapibus dolor velit, sed bibendum quam maximus eu.</p> | |
<p>Duis fringilla lectus vitae interdum tempor. Duis eget sodales turpis. Phasellus facilisis consequat magna eget rutrum. Suspendisse vel ex at ante porta cursus. Ut dui nunc, efficitur quis elit eget, viverra varius libero. Proin porta egestas urna, elementum efficitur tortor finibus iaculis. Nunc ligula velit, faucibus ut rhoncus quis, hendrerit vitae mi. Pellentesque ac mi nibh. Sed a mollis felis. Nam non tincidunt lorem. Duis pulvinar consequat arcu blandit consectetur. Quisque quis venenatis justo. Nunc lacus massa, interdum quis neque vel, euismod iaculis dui. Proin sed iaculis sapien. Donec malesuada vestibulum felis, pretium volutpat ipsum ornare et. Ut eu tortor et lacus bibendum malesuada id tempus augue.</p> | |
</div> | |
</section> | |
<footer> | |
<div class="wrapper"> | |
<div class="copyright"><p>© Test site</p></div> | |
<div class="social"><a href="#">Facebook</a></div> | |
</div> | |
</footer> |
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.4.3) | |
// Compass (v1.0.1) | |
// Breakpoint (v2.5.0) | |
// Susy (v2.1.3) | |
// ---- | |
@import "compass"; | |
@import "susy"; | |
@import "breakpoint"; | |
$med: 8; | |
$large: 12; | |
$susy: ( | |
flow: ltr, | |
math: fluid, | |
output: float, | |
gutter-position: after, | |
container: auto, | |
container-position: center, | |
columns: 4, | |
gutters: .25, | |
column-width: false, | |
global-box-sizing: content-box, | |
last-flow: to, | |
debug: ( | |
image: show, | |
color: rgba(#66f, .25), | |
output: background, | |
toggle: top right, | |
), | |
use-custom: ( | |
background-image: true, | |
background-options: false, | |
box-sizing: true, | |
clearfix: false, | |
rem: true, | |
) | |
); | |
@include border-box-sizing; | |
.wrapper { | |
@include container; | |
@include susy-breakpoint(481px, $med){ | |
@include container; | |
} | |
@include susy-breakpoint(768px, $large){ | |
@include container(1030px); | |
} | |
} | |
#logo { | |
@include span(2 of 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
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.wrapper { | |
max-width: 100%; | |
margin-left: auto; | |
margin-right: auto; | |
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaX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-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(102, 102, 255, 0.25)), color-stop(80%, rgba(179, 179, 255, 0.25)), color-stop(80%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, 50% 0%, 50% 1, color-stop(100%, rgba(0, 0, 0, 0.5)), color-stop(100%, rgba(0, 0, 0, 0))); | |
background-image: -moz-linear-gradient(left, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -moz-linear-gradient(top, rgba(0, 0, 0, 0.5) 1px, rgba(0, 0, 0, 0) 1px); | |
background-image: -webkit-linear-gradient(left, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5) 1px, rgba(0, 0, 0, 0) 1px); | |
background-image: linear-gradient(to right, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, rgba(0, 0, 0, 0) 80%), linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 1px, rgba(0, 0, 0, 0) 1px); | |
background-size: 26.31579%, 100% 24px; | |
background-origin: content-box, border-box; | |
background-clip: content-box, border-box; | |
background-position: left top; | |
} | |
.wrapper:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
@media (min-width: 481px) { | |
.wrapper { | |
max-width: 100%; | |
margin-left: auto; | |
margin-right: auto; | |
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY2NjZmZiIgc3RvcC1vcGFjaXR5PSIwLjI1Ii8+PHN0b3Agb2Zmc2V0PSI4MCUiIHN0b3AtY29sb3I9IiNiM2IzZmYiIHN0b3Atb3BhY2l0eT0iMC4yNSIvPjxzdG9wIG9mZnNldD0iODAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='), url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuNSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA='); | |
background-size: 100%; | |
background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(102, 102, 255, 0.25)), color-stop(80%, rgba(179, 179, 255, 0.25)), color-stop(80%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, 50% 0%, 50% 1, color-stop(100%, rgba(0, 0, 0, 0.5)), color-stop(100%, rgba(0, 0, 0, 0))); | |
background-image: -moz-linear-gradient(left, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -moz-linear-gradient(top, rgba(0, 0, 0, 0.5) 1px, rgba(0, 0, 0, 0) 1px); | |
background-image: -webkit-linear-gradient(left, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5) 1px, rgba(0, 0, 0, 0) 1px); | |
background-image: linear-gradient(to right, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, rgba(0, 0, 0, 0) 80%), linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 1px, rgba(0, 0, 0, 0) 1px); | |
background-size: 12.82051%, 100% 24px; | |
background-origin: content-box, border-box; | |
background-clip: content-box, border-box; | |
background-position: left top; | |
} | |
.wrapper:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
} | |
@media (min-width: 768px) { | |
.wrapper { | |
max-width: 1030px; | |
margin-left: auto; | |
margin-right: auto; | |
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY2NjZmZiIgc3RvcC1vcGFjaXR5PSIwLjI1Ii8+PHN0b3Agb2Zmc2V0PSI4MCUiIHN0b3AtY29sb3I9IiNiM2IzZmYiIHN0b3Atb3BhY2l0eT0iMC4yNSIvPjxzdG9wIG9mZnNldD0iODAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='), url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuNSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA='); | |
background-size: 100%; | |
background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(102, 102, 255, 0.25)), color-stop(80%, rgba(179, 179, 255, 0.25)), color-stop(80%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, 50% 0%, 50% 1, color-stop(100%, rgba(0, 0, 0, 0.5)), color-stop(100%, rgba(0, 0, 0, 0))); | |
background-image: -moz-linear-gradient(left, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -moz-linear-gradient(top, rgba(0, 0, 0, 0.5) 1px, rgba(0, 0, 0, 0) 1px); | |
background-image: -webkit-linear-gradient(left, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5) 1px, rgba(0, 0, 0, 0) 1px); | |
background-image: linear-gradient(to right, rgba(102, 102, 255, 0.25), rgba(179, 179, 255, 0.25) 80%, rgba(0, 0, 0, 0) 80%), linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 1px, rgba(0, 0, 0, 0) 1px); | |
background-size: 8.47458%, 100% 24px; | |
background-origin: content-box, border-box; | |
background-clip: content-box, border-box; | |
background-position: left top; | |
} | |
.wrapper:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
} | |
#logo { | |
width: 47.36842%; | |
float: left; | |
margin-right: 5.26316%; | |
} |
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
<header> | |
<div class="wrapper"> | |
<div id="logo"><a href="#"><h1>Test</h1></a></div> | |
<div id="menu"><ul> | |
<li><a href="#">Link 1</a></li> | |
<li><a href="#">Link 2</a></li> | |
<li><a href="#">Link 3</a></li> | |
<li><a href="#">Link 4</a></li> | |
<li><a href="#">Link 5</a></li> | |
</ul></div> | |
</div> | |
</header> | |
<section id="content-area"> | |
<div class="wrapper"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis ligula eu sem viverra dictum at eget velit. Donec bibendum nec magna in posuere. Suspendisse eget pellentesque lorem. Sed feugiat quis velit vel porttitor. Praesent sit amet bibendum odio. Vivamus eu fringilla tortor. Duis nisi nibh, pellentesque id ipsum in, hendrerit iaculis felis. Sed risus tortor, rhoncus ut quam eget, fermentum tristique tortor. Proin auctor libero in ornare congue. Donec sem tellus, posuere ac sapien sed, elementum sodales risus. Aenean eleifend sit amet nulla a venenatis. Maecenas iaculis in mi vel sodales. Curabitur dapibus dolor velit, sed bibendum quam maximus eu.</p> | |
<p>Duis fringilla lectus vitae interdum tempor. Duis eget sodales turpis. Phasellus facilisis consequat magna eget rutrum. Suspendisse vel ex at ante porta cursus. Ut dui nunc, efficitur quis elit eget, viverra varius libero. Proin porta egestas urna, elementum efficitur tortor finibus iaculis. Nunc ligula velit, faucibus ut rhoncus quis, hendrerit vitae mi. Pellentesque ac mi nibh. Sed a mollis felis. Nam non tincidunt lorem. Duis pulvinar consequat arcu blandit consectetur. Quisque quis venenatis justo. Nunc lacus massa, interdum quis neque vel, euismod iaculis dui. Proin sed iaculis sapien. Donec malesuada vestibulum felis, pretium volutpat ipsum ornare et. Ut eu tortor et lacus bibendum malesuada id tempus augue.</p> | |
</div> | |
</section> | |
<footer> | |
<div class="wrapper"> | |
<div class="copyright"><p>© Test site</p></div> | |
<div class="social"><a href="#">Facebook</a></div> | |
</div> | |
</footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment