compass/examples/susy/src/_base.scss

62 lines
1.6 KiB
SCSS
Raw Normal View History

2009-11-23 17:45:47 +00:00
//**
// Susy: Fixed-Elastic-Fluid grids without all the math
// By: Eric A. Meyer and OddBird Collective
// Site: www.oddbird.net/susy/
//**
// GRID
// Set these values as needed for your grid layout.
// - defaults are shown.
2010-04-11 10:46:42 +00:00
$grid_unit: em;
2009-11-23 17:45:47 +00:00
2010-04-11 10:46:42 +00:00
$total_cols: 12;
$col_width: 4;
$gutter_width: 1;
$side_gutter_width: $gutter_width;
2009-11-23 17:45:47 +00:00
// OMEGA_FLOAT
// By default, +omega elements are floated right.
// You can override that globally here:
// !omega_float = "right"
// HACKS
// Are you using hacks or conditional comments? Susy makes both possible.
// Leave this as 'true' to use hacks, set it as false for conditional comments.
// Conditional comments will require overrides for +omega, +inline-block and
// several other mixins.
// !hacks = true
// FONT-SIZE
// Override these values as needed (defaults are shown)
// - You set the font and line heights in pixels.
2010-04-11 10:46:42 +00:00
// - Susy will do the math and give you !base_font_size and !base_line_height
2009-11-23 17:45:47 +00:00
// variables, set flexibly against the common browser default of 16px
2010-04-11 10:46:42 +00:00
$base_font_size_px: 16;
2009-11-23 17:45:47 +00:00
2010-04-11 10:46:42 +00:00
$base_line_height_px: 24;
2009-11-23 17:45:47 +00:00
// SUSY
// Don't move this @import above the GRID and FONT-SIZE overrides.
2010-04-11 10:46:42 +00:00
@import "susy/susy";
2009-11-23 17:45:47 +00:00
// COLORS
// Set any colors you will need later.
2010-04-11 10:46:42 +00:00
$main: #194c66;
2009-11-23 17:45:47 +00:00
2010-04-11 10:46:42 +00:00
$alt: #cc6633;
2009-11-23 17:45:47 +00:00
// FONTS
// Give yourself some font stacks to work with.
2010-04-11 10:46:42 +00:00
@mixin sans-family {
font-family: Helvetica, Arial, sans-serif; }
2009-11-23 17:45:47 +00:00
2010-04-11 10:46:42 +00:00
@mixin serif-family {
font-family: Baskerville, Palatino, serif; }
2009-11-23 17:45:47 +00:00
// OTHER MIXINS
// Mixins set here will be available in defaults, screen, print and IE
2010-04-11 10:46:42 +00:00
// Or anywhere you import either base or defaults