Last active
December 27, 2015 06:38
-
-
Save infinitystylish/7282524 to your computer and use it in GitHub Desktop.
Sass General
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
/* Welcome to Compass. | |
* In this file you should write your main styles. (or centralize your imports) | |
* Import this file using the following HTML or equivalent: | |
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */ | |
@import "compass/reset"; | |
@import "compass/utilities/sprites"; | |
@import "compass/css3"; | |
@import "mixins"; | |
@import "media"; | |
$browser-context: 16; | |
@function em($pixels, $context: $browser-context) { | |
@return #{$pixels/$context}em | |
} | |
a{ | |
text-decoration: none; | |
&:hover,&:active,&:focus{ | |
text-decoration: none; | |
} | |
} | |
%inline-block{ | |
@include inline-block; | |
} | |
%clearfix{ | |
@include clearfix; | |
} | |
/* | |
$icons: sprite-map("sprites/icon/*.png"); | |
$icons-hdpi: sprite-map("sprites-2x/icon/*.png"); | |
.icon-facebook { | |
@include sprite-hdpi($icons, $icons-hdpi, facebook, true, 0, 0, true); | |
} | |
*/ | |
/*Colors*/ | |
/*Header*/ | |
/*Footer*/ | |
/*Home*/ | |
/*Page1*/ | |
/*Media | |
@media #{$media-1024} {} | |
*/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment