Skip to content

Instantly share code, notes, and snippets.

@sheriffderek
Created November 23, 2013 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sheriffderek/7610551 to your computer and use it in GitHub Desktop.
Save sheriffderek/7610551 to your computer and use it in GitHub Desktop.
A Pen by sheriffderek.
@import "compass";
// $colors
$white: #efefef;
$black: #222;
$gray: #eaeaea;
$gray-light: lighten($gray, 5%);
$gray-dark: darken($gray, 15%);
$color: #f06;
$color-light: lighten($color, 20%);
$color-dark: darken($color, 10%);
$highlight: lightblue;
$highlight-light: lighten($highlight, 15%);
$highlight-dark: darken($highlight, 20%);
$texture-light: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/4543/rice-paper.png');
$texture-dark: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/4543/dark_Tire.png');
// $padding
$padding: 1em; //
$gutter: $padding;
$trim-width: 50em;
// $borders
$line: 1px;
// $break points
$thing: 15em; // trying this new "thing"
@mixin bp($point) {
@if $point == m {
@media (min-width: $thing*2) { @content; }
}
@else if $point == l {
@media (min-width: $thing*3) { @content; }
}
@else if $point == xl {
@media (min-width: $thing*4) { @content; }
}
} // end break-points
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment