Browse files

global style var for section min-heights

  • Loading branch information...
1 parent 111c576 commit 5f6c87c9030829bd0d92e18e192eff9ea66a4e08 @founddrama committed Dec 21, 2011
Showing with 7 additions and 4 deletions.
  1. +1 −1 src/scss/_footer.scss
  2. +4 −1 src/scss/_layout.scss
  3. +1 −1 src/scss/_masthead.scss
  4. +1 −1 src/scss/style.scss
View
2 src/scss/_footer.scss
@@ -1,7 +1,7 @@
#orin-footer {
clear: both;
- min-height: 12em;
+ min-height: $_sect_h;
padding-bottom: 2em;
text-align: center;
View
5 src/scss/_layout.scss
@@ -13,4 +13,7 @@ $_3rd: $_960_base / 3;
$_4th: $_960_base / 4;
$_12th: $_960_base / 12;
$_24th: $_960_base / 24;
-$_48th: $_960_base / 48;
+$_48th: $_960_base / 48;
+
+// heights:
+$_sect_h: 12em;
View
2 src/scss/_masthead.scss
@@ -1,7 +1,7 @@
// some way to do this as "header" w/o #masthead ?
#masthead {
@include basic-linear-grader(white, $f_d-grey, 128px);
- height: 12em;
+ height: $_sect_h;
position: relative;
hgroup {
View
2 src/scss/style.scss
@@ -23,7 +23,7 @@ body {
#orin-ct-wrap {
background-color: #fff;
- min-height: 24em;
+ min-height: $_sect_h;
overflow: hidden;
@include box-shadow($f_d-dark 10px 0 10px 10px);
}

0 comments on commit 5f6c87c

Please sign in to comment.