Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit bff85e802bd229d2c331ec75ed1b9fc8453ad932 @atomicpages committed Mar 17, 2013
@@ -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
@@ -0,0 +1,6 @@
+// ---- MIXINS ----
+=linkStyle($color, $decoration: underline)
+ color: $color
+ text-decoration: $decoration
+ &:hover
+ text-decoration: none
@@ -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.

0 comments on commit bff85e8

Please sign in to comment.