add .sass-cache to .gitignore and fix main.scss fileformat

This commit is contained in:
Gordon Gao 2014-08-19 17:39:22 +08:00
parent 9b5f766333
commit 9df020f7e9
2 changed files with 51 additions and 50 deletions

View File

@ -1 +1,2 @@
_site _site
.sass-cache

View File

@ -1,49 +1,49 @@
--- ---
# Only the main Sass file needs front matter (the dashes are enough) # Only the main Sass file needs front matter (the dashes are enough)
--- ---
@charset "utf-8"; @charset "utf-8";
// Our variables // Our variables
$base-font-family: Helvetica, Arial, sans-serif; $base-font-family: Helvetica, Arial, sans-serif;
$base-font-size: 16px; $base-font-size: 16px;
$small-font-size: $base-font-size * 0.875; $small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5; $base-line-height: 1.5;
$spacing-unit: 30px; $spacing-unit: 30px;
$text-color: #111; $text-color: #111;
$background-color: #fdfdfd; $background-color: #fdfdfd;
$brand-color: #2a7ae2; $brand-color: #2a7ae2;
$grey-color: #828282; $grey-color: #828282;
$grey-color-light: lighten($grey-color, 40%); $grey-color-light: lighten($grey-color, 40%);
$grey-color-dark: darken($grey-color, 25%); $grey-color-dark: darken($grey-color, 25%);
$on-palm: 600px; $on-palm: 600px;
$on-laptop: 800px; $on-laptop: 800px;
// Using media queries with like this: // Using media queries with like this:
// @include media-query($palm) { // @include media-query($palm) {
// .wrapper { // .wrapper {
// padding-right: $spacing-unit / 2; // padding-right: $spacing-unit / 2;
// padding-left: $spacing-unit / 2; // padding-left: $spacing-unit / 2;
// } // }
// } // }
@mixin media-query($device) { @mixin media-query($device) {
@media screen and (max-width: $device) { @media screen and (max-width: $device) {
@content; @content;
} }
} }
// Import partials from `sass_dir` (defaults to `_sass`) // Import partials from `sass_dir` (defaults to `_sass`)
@import @import
"base", "base",
"layout", "layout",
"syntax-highlighting" "syntax-highlighting"
; ;