Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

移動設定參數到 _ggs.scss

  • Loading branch information...
commit 6bbc107192684fc7755a513ff730a9a4b0b68bf8 1 parent ede357e
@evenwu authored
View
3  source/stylesheets/_ggs.scss
@@ -12,6 +12,9 @@ $ggs-column: 100% / 18 !default;
$ggs-font-size: 16 !default;
$ggs-em: $ggs-font-size * 1 !default;
+$base-font-size: 16px;
+$base-line-height: 24px;
+
@import "compass";
@import "compass/reset";
@import "ggs/mixins";
View
3  source/stylesheets/ggs/_type-size-presets.scss
@@ -3,9 +3,6 @@
// type size presets
//
-$base-font-size: 16px;
-$base-line-height: 24px;
-
body {
font-size: 100%;
line-height: 1.5em;
View
12 source/stylesheets/ggs/column/_eight-column.scss
@@ -3,9 +3,6 @@
@include font-zoom;
}
$column: 8;
- #main {
- @include ggs-column(4,$column);
- }
}
@media screen and (min-width: 888px) {
@@ -18,13 +15,10 @@
body {
@include font-zoom;
}
- $column: 6;
+ $column: 8;
.content {
@include ggs-container($column);
}
- #main {
- @include ggs-column(3, $column);
- }
}
@media screen and (min-width: 1200px) {
@@ -37,6 +31,10 @@
body {
@include font-zoom;
}
+ $column: 6;
+ .content {
+ @include ggs-container($column);
+ }
}
@media screen and (min-width: 1680px) {
View
15 source/stylesheets/ggs/column/_four-column.scss
@@ -2,22 +2,9 @@
margin: 0 $ggs-column;
}
-h1 {
- @include adjust-font-size-to(24px);
- @include rhythm(2,1,0,1,24px);
- @include trailing-border(5px,1,24px);
-}
-
-h2 {
- font-weight: normal;
-}
-
-h3 {
- @include adjust-font-size-to(24px);
-}
-
#main {
background: #ccc;
+ @extend .wrapper;
}
@media screen and (min-width: 640px) {
View
2  source/stylesheets/ggs/column/_sixteen-column.scss
@@ -8,7 +8,7 @@
@include ggs-container($column);
}
#main {
- @include ggs-column(6/2 ,$column)
+ @include ggs-column(10/2 ,$column)
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.