2015-11-01 02:36:37 +00:00
|
|
|
@import 'bourbon';
|
|
|
|
|
2014-11-23 22:13:05 +00:00
|
|
|
$green: #bada55;
|
2014-12-15 19:20:04 +00:00
|
|
|
$dark-green: shade($green, 25%);
|
|
|
|
$light-green: tint($green, 25%);
|
2014-11-23 22:13:05 +00:00
|
|
|
$gray: #6b6659;
|
2014-12-21 19:39:00 +00:00
|
|
|
$light-gray: tint($gray, 25%);
|
2014-11-23 22:13:05 +00:00
|
|
|
$tan: #cbcbba;
|
|
|
|
$red: #b3151a;
|
2014-12-21 19:39:00 +00:00
|
|
|
$blue: #dae9e5;
|
2014-12-22 21:57:30 +00:00
|
|
|
$yellow: #f8ca00;
|
2014-11-23 22:13:05 +00:00
|
|
|
$black: #000;
|
|
|
|
$white: #fff;
|
|
|
|
|
|
|
|
$base-font-size: 16px;
|
|
|
|
$base-line-height: 24px;
|
|
|
|
|
2015-11-01 02:36:37 +00:00
|
|
|
@mixin box-shadow {
|
|
|
|
@include prefixer(box-shadow, 0 0 10px $black, webkit moz spec);
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin input-placeholder {
|
|
|
|
&:-moz-placeholder {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-placeholder {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:-ms-input-placeholder {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-input-placeholder {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@function rhythm($scale, $font-size: $base-font-size) {
|
|
|
|
@return ($scale * $base-line-height / $font-size) * 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin adjust-font-size-to($to-size, $lines: auto) {
|
|
|
|
font-size: ($to-size / $base-font-size) * 1em;
|
|
|
|
@if $lines == auto {
|
|
|
|
$lines: ceil($to-size / $base-font-size);
|
|
|
|
}
|
|
|
|
line-height: rhythm($lines, $to-size);
|
|
|
|
}
|