Skip to content

Instantly share code, notes, and snippets.

View hatefulcrawdad's full-sized avatar

Chris Michel hatefulcrawdad

View GitHub Profile
@hatefulcrawdad
hatefulcrawdad / grid-settings.scss
Created June 28, 2012 03:00
Foundation 3 grid variables
// Grid Settings
$rowWidth: 1000px;
$columnGutter: 30px;
$totalColumns: 12;
$mobileTotalColumns: 4;
@hatefulcrawdad
hatefulcrawdad / color-settings.scss
Created June 28, 2012 03:12
Foundation 3 Color Settings
// Colors Settings
$mainColor: #2ba6cb;
$secondaryColor: #e9e9e9;
$alertColor: #c60f13;
$successColor: #5da423;
$txtColor: #222;
$highlightColor: #ffff99;
$black: #000;
$white: #fff;
$shinyEdge: rgba(#fff, .5);
@hatefulcrawdad
hatefulcrawdad / button-settings.scss
Created June 28, 2012 03:16
Foundation 3 Color Settings
// Button Settings
$buttonRadius: 3px;
$btnBase: 10px;
$tinyBtnBase: $btnBase - 5;
$smallBtnBase: $btnBase - 3;
$largeBtnBase: $btnBase + 5;
@hatefulcrawdad
hatefulcrawdad / type-settings.scss
Created June 28, 2012 03:27
Foundation 3 Type Settings
// Typography Settings
$headerFontFamily: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
$headerFontWeight: bold;
$headerFontColor: #222;
$bodyFontFamily: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
$bodyFontWeight: normal;
$bodyFontColor: $txtColor;
...
@hatefulcrawdad
hatefulcrawdad / ui-settings.scss
Created June 28, 2012 03:28
Foundation 3 UI Settings
// Form Settings
$formSpacing: 12px;
// Tab Settings
$tabHeight: 40px;
// Nav Bar Settings
$navBarHeight: 40px;
$navFlyoutBaseWidth: 250px;
<header>
<aside></aside>
<section>
<article>
<header></header>
<div></div>
</article>
</section>
</header>
header { @include outerRow();
aside { @include column(4); }
section { @include column(8);
article { @include innerRow();
header { @include column(2);
mid-width: 0; }
div { @include column(10); }
}
}
}
.element {
@include font-size(18);
}
.element {
font-size: ms(0); /* 0 = first in scale, 1,2,3 and so on... */
}
@hatefulcrawdad
hatefulcrawdad / f3-orientation.html
Created June 30, 2012 18:04 — forked from smileyj68/f3-orientation.html
Foundation 3 Orientation Detection
<strong class="show-for-landscape">You are in landscape orientation.</strong>
<strong class="show-for-portrait">You are in portrait orientation.</strong>