-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from bensmithett/dev
Version 3
- Loading branch information
Showing
18 changed files
with
118 additions
and
70 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem "sass", "~> 3.3.4" | ||
|
||
# Lets you import plain CSS files with Sass @import | ||
gem "sass-css-importer", "~> 1.0.0.beta.0" | ||
gem "sass-globbing", "~> 1.1.0" # Not required for Rails 3.1+ | ||
|
||
# Lets you do glob @imports in Sass | ||
# Not required for Rails 3.1+ | ||
gem "sass-globbing", "~> 1.1.0" | ||
|
||
gem "susy", "~> 2.1.1" |
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,38 @@ | ||
@charset "utf-8" | ||
|
||
|
||
// Module dependencies | ||
// ------------------------------------------------ | ||
// TODO: Nuke this section & import dependencies in modules where required (using import-once) | ||
// import-once currently isn't working with globbing https://github.com/chriseppstein/compass/issues/1529 | ||
// Vendor mixin/function libraries | ||
@import "susy" | ||
|
||
// Your mixins & functions | ||
// @import "functions/**/*" | ||
@import "mixins/**/*" | ||
|
||
// Global config variables, colour palette, etc | ||
@import "config" | ||
// Global config variables: colors, font stacks, etc | ||
@import "config/**/*" | ||
|
||
// @font-face declarations | ||
@import "fonts" | ||
// @font-face webfonts | ||
@import "fonts/**/*" | ||
|
||
// Named keyframe animations | ||
// @keyframe animations | ||
@import "animations/**/*" | ||
|
||
// ------------------------------------------------ | ||
|
||
// Vendor libraries that actually output styles | ||
// Base styles | ||
// ------------------------------------------------ | ||
// Normalize.css | ||
// Special syntax for importing plain CSS files via https://github.com/chriseppstein/sass-css-importer | ||
@import "CSS:./../bower_components/normalize-css/normalize" | ||
|
||
// Base element styles | ||
// Our own base styles | ||
@import "base/**/*" | ||
|
||
|
||
// Modules | ||
// ------------------------------------------------ | ||
@import "modules/**/*" | ||
|
||
// Global state classes | ||
@import "global_state" | ||
|
||
// Utilities | ||
// ------------------------------------------------ | ||
// See https://github.com/suitcss/suit/blob/master/doc/utilities.md | ||
@import "utilities/**/*" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Color palette | ||
// See http://bensmithett.com/stop-using-so-many-sass-variables/ | ||
// | ||
// ())___Crayola___))> | ||
// ())___Crayola___))> | ||
// ())___Crayola___))> | ||
// ())___Crayola___))> | ||
// ())___Crayola___))> | ||
$white: #fff | ||
$green: #20e320 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$helvetica: "Helvetica Neue", Helvetica, Arial, sans-serif | ||
$bariol: "Bariol", "Comic Sans", sans-serif |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,3 @@ $grid: ( | |
gutters: 0.3, | ||
math: fluid | ||
); | ||
|
||
.grid { | ||
@include container( $grid ); | ||
padding: 0 10px | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@font-face { | ||
font-family: 'Bariol'; | ||
src: url('fonts/bariol_bold-webfont.eot'); | ||
src: url('fonts/bariol_bold-webfont.eot?#iefix') format('embedded-opentype'), | ||
url('fonts/bariol_bold-webfont.woff') format('woff'), | ||
url('fonts/bariol_bold-webfont.ttf') format('truetype'), | ||
url('fonts/bariol_bold-webfont.svg#bariol_boldbold') format('svg'); | ||
font-weight: bold; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Bariol'; | ||
src: url('fonts/bariol_regular-webfont.eot'); | ||
src: url('fonts/bariol_regular-webfont.eot?#iefix') format('embedded-opentype'), | ||
url('fonts/bariol_regular-webfont.woff') format('woff'), | ||
url('fonts/bariol_regular-webfont.ttf') format('truetype'), | ||
url('fonts/bariol_regular-webfont.svg#bariol_regularregular') format('svg'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.grid | ||
+container($grid) | ||
padding: 0 10px |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,3 @@ | |
|
||
.breakpoint-desktop & | ||
+span(last 9 of 12) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// clearfix | ||
.u-cf:after | ||
content: "" | ||
display: table | ||
clear: both |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.u-hidden | ||
display: none !important |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Hide only visually, but have it available for screenreaders: h5bp.com/v | ||
.u-visually-hidden | ||
border: 0 | ||
clip: rect(0 0 0 0) | ||
height: 1px | ||
margin: -1px | ||
overflow: hidden | ||
padding: 0 | ||
position: absolute | ||
width: 1px |