Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
atomicpages
committed
Mar 17, 2013
0 parents
commit bff85e8
Showing
30 changed files
with
4,745 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// GLOBAL VARIABLES | ||
$width: 960px | ||
|
||
// base grid | ||
// ----------- change values at your own risk | ||
$tabletWidth: 768px | ||
|
||
// tablet width | ||
$mobilePortraitWidth: 300px | ||
|
||
// mobile portrait | ||
$mobileLandscapeWidth: 420px | ||
|
||
// mobile landscape | ||
// Function that takes in an int and converts it to the English word up to twenty | ||
// edit the function to suit your needs. | ||
// @author Dennis Thompson <http://www.atomicpages.net/> | ||
// @copyright AtomicPages LLC 2013. All Rights Reserved. | ||
// @license MIT <http://opensource.org/licenses/MIT> | ||
// @param int $int | ||
@function getWordFromNum($int) | ||
$int: abs($int) | ||
// if it is negative, let's make it positive | ||
$res: "" | ||
@if $int == 1 | ||
$res: "one" | ||
@else if $int == 2 | ||
$res: "two" | ||
@else if $int == 3 | ||
$res: "three" | ||
@else if $int == 4 | ||
$res: "four" | ||
@else if $int == 5 | ||
$res: "five" | ||
@else if $int == 6 | ||
$res: "six" | ||
@else if $int == 7 | ||
$res: "seven" | ||
@else if $int == 8 | ||
$res: "eight" | ||
@else if $int == 9 | ||
$res: "nine" | ||
@else if $int == 10 | ||
$res: "ten" | ||
@else if $int == 11 | ||
$res: "eleven" | ||
@else if $int == 12 | ||
$res: "twelve" | ||
@else if $int == 13 | ||
$res: "thirteen" | ||
@else if $int == 14 | ||
$res: "fourteen" | ||
@else if $int == 15 | ||
$res: "fifteen" | ||
@else if $int == 16 | ||
$res: "sixteen" | ||
@else if $int == 17 | ||
$res: "seventeen" | ||
@else if $int == 18 | ||
$res: "eighteen" | ||
@else if $int == 19 | ||
$res: "nineteen" | ||
@else if $int == 20 | ||
$res: "twenty" | ||
@return $res |
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,6 @@ | ||
// ---- MIXINS ---- | ||
=linkStyle($color, $decoration: underline) | ||
color: $color | ||
text-decoration: $decoration | ||
&:hover | ||
text-decoration: none |
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,13 @@ | ||
// ---- VARIABLES ---- | ||
// backgrounds | ||
$backgroundColor: white | ||
|
||
// font styles | ||
$fontSize: 14px | ||
$fontFamily: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif | ||
$formFontFamily: $fontFamily | ||
|
||
// heading styles | ||
$headingFamily: "Georgia", "Times New Roman", serif | ||
$headingColor: #181818 |
Oops, something went wrong.