Created
April 18, 2014 16:51
-
-
Save jackmakesthings/11053794 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
<div id="page"> | |
<div id="sidebar"> | |
<a class="logo" href="#">Home</a> | |
<nav> | |
<ul class="main-nav"> | |
<li><a href="#shows" title="Shows">Shows</a></li> | |
<li><a href="#about" title="About">About</a></li> | |
<li><a href="#attend" title="Attend">Attend</a></li> | |
<li><a href="#exhibit" title="Exhibit">Exhibit</a></li> | |
<li><a href="#press" title="Press">Press</a></li> | |
<li><a href="#travel" title="Travel">Travel</a></li> | |
<li><a href="#contact" title="Contact">Contact</a></li> | |
<ul class="show-nav"> | |
<li><a href="#">Childrens Club</a></li> | |
<li><a href="#">Circuit</a></li> | |
<li><a href="#">Coterie</a></li> | |
<li><a href="#">ENKVegas</a></li> | |
<li><a href="#">Intermezzo</a></li> | |
<li><a href="#">Sole Commerce</a></li> | |
<li><a href="#">TMRW</a></li> | |
</ul> | |
</ul> | |
<ul class="social-nav"> | |
<li><a class="ss-icon" href="http://www.enkshows.com/company/calendar.html" title="Calendar">Calendar</a></li> | |
<li><a class="ss-icon ss-social-regular" href="https://www.facebook.com/ENKInternational" title="Facebook">Facebook</a></li> | |
<li><a class="ss-icon ss-social-regular" href="https://twitter.com/ENKSHOWS" title="Twitter">Twitter</a></li> | |
<li><a class="ss-icon ss-social-regular" href="http://instagram.com/enkshows" title="Instagram">Instagram</a></li> | |
</nav> | |
</div> | |
<div id="main"> | |
<p>look at me i'm the main content i'm so cool</p> | |
</div> | |
</div> |
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.5) | |
// Compass (v) | |
// Susy (v) | |
// ---- | |
@import "compass"; | |
@import "susy"; | |
$black: #000; | |
$white: #fff; | |
$enk-red: #ee1c24; | |
$enk-blue: #64d0f8; | |
$enk-black: #343434; | |
$enk-gray: #c2c2c2; | |
$enk-white: #fff; | |
$enk-social: #959595; | |
$enk-show-date: #d7d7d7; | |
$black: #000; | |
$white: #fff; | |
// Element stylings | |
#page { | |
background: $enk-gray; | |
@include container(12); | |
} | |
#sidebar { | |
width:300px; | |
position:fixed; | |
overflow: hidden; | |
// padding here makes the contents appear to float, | |
// remove to glue them back to the top left corner | |
padding-top:30px; | |
padding-left:30px; | |
.logo { | |
background: red; | |
display: block; | |
background: red url("../img/main-nav.jpg") no-repeat; | |
} | |
} | |
a { text-decoration:none; color: white; } | |
nav { | |
background: $enk-black; | |
display: block; | |
padding: 10px 20px; | |
li { | |
line-height: 1; | |
margin-bottom: 3px; | |
list-style:none; | |
a { | |
margin: 5px 0; | |
color:white; text-decoration:none; | |
} | |
} | |
a:hover { | |
color: $enk-red; | |
} | |
.show-nav { | |
margin-left: 10px; | |
a { | |
color: $enk-gray; | |
white-space: nowrap; | |
&:hover { | |
color: $enk-red; | |
} | |
} | |
} | |
.social-nav { | |
li { | |
display: inline-block; | |
margin: 10px 5px 0; | |
a { | |
font-size: .800rem; | |
} | |
} | |
} | |
} | |
#main { | |
@include span(9 of 12); | |
margin-left:300px; | |
// in old susy syntax you could set margin-left: columns(3) | |
p { | |
padding:200px 200px 900px; | |
background: #ccc; | |
margin:40px; | |
} | |
} |
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
#page { | |
background: #c2c2c2; | |
max-width: 100%; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
#page::after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
#sidebar { | |
width: 300px; | |
position: fixed; | |
overflow: hidden; | |
padding-top: 30px; | |
padding-left: 30px; | |
} | |
#sidebar .logo { | |
background: red; | |
display: block; | |
background: red url("../img/main-nav.jpg") no-repeat; | |
} | |
a { | |
text-decoration: none; | |
color: white; | |
} | |
nav { | |
background: #343434; | |
display: block; | |
padding: 10px 20px; | |
} | |
nav li { | |
line-height: 1; | |
margin-bottom: 3px; | |
list-style: none; | |
} | |
nav li a { | |
margin: 5px 0; | |
color: white; | |
text-decoration: none; | |
} | |
nav a:hover { | |
color: #ee1c24; | |
} | |
nav .show-nav { | |
margin-left: 10px; | |
} | |
nav .show-nav a { | |
color: #c2c2c2; | |
white-space: nowrap; | |
} | |
nav .show-nav a:hover { | |
color: #ee1c24; | |
} | |
nav .social-nav li { | |
display: inline-block; | |
margin: 10px 5px 0; | |
} | |
nav .social-nav li a { | |
font-size: .800rem; | |
} | |
#main { | |
width: 74.5762711864%; | |
float: left; | |
margin-right: 1.6949152542%; | |
margin-left: 300px; | |
} | |
#main p { | |
padding: 200px 200px 900px; | |
background: #ccc; | |
margin: 40px; | |
} |
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 id="page"> | |
<div id="sidebar"> | |
<a class="logo" href="#">Home</a> | |
<nav> | |
<ul class="main-nav"> | |
<li><a href="#shows" title="Shows">Shows</a></li> | |
<li><a href="#about" title="About">About</a></li> | |
<li><a href="#attend" title="Attend">Attend</a></li> | |
<li><a href="#exhibit" title="Exhibit">Exhibit</a></li> | |
<li><a href="#press" title="Press">Press</a></li> | |
<li><a href="#travel" title="Travel">Travel</a></li> | |
<li><a href="#contact" title="Contact">Contact</a></li> | |
<ul class="show-nav"> | |
<li><a href="#">Childrens Club</a></li> | |
<li><a href="#">Circuit</a></li> | |
<li><a href="#">Coterie</a></li> | |
<li><a href="#">ENKVegas</a></li> | |
<li><a href="#">Intermezzo</a></li> | |
<li><a href="#">Sole Commerce</a></li> | |
<li><a href="#">TMRW</a></li> | |
</ul> | |
</ul> | |
<ul class="social-nav"> | |
<li><a class="ss-icon" href="http://www.enkshows.com/company/calendar.html" title="Calendar">Calendar</a></li> | |
<li><a class="ss-icon ss-social-regular" href="https://www.facebook.com/ENKInternational" title="Facebook">Facebook</a></li> | |
<li><a class="ss-icon ss-social-regular" href="https://twitter.com/ENKSHOWS" title="Twitter">Twitter</a></li> | |
<li><a class="ss-icon ss-social-regular" href="http://instagram.com/enkshows" title="Instagram">Instagram</a></li> | |
</nav> | |
</div> | |
<div id="main"> | |
<p>look at me i'm the main content i'm so cool</p> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment