alexcabrera-graphpaper 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 2
3
- :patch: 10
3
+ :patch: 11
4
4
  :major: 0
data/graphpaper.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{graphpaper}
8
- s.version = "0.2.10"
8
+ s.version = "0.2.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alex Cabrera"]
12
- s.date = %q{2009-08-31}
12
+ s.date = %q{2009-09-05}
13
13
  s.description = %q{A great starting point for projects that makes no design assumptions.}
14
14
  s.email = %q{alex@policus.com}
15
15
  s.extra_rdoc_files = [
@@ -29,15 +29,15 @@ Gem::Specification.new do |s|
29
29
  "stylesheets/graphpaper/modules/_grid.sass",
30
30
  "stylesheets/graphpaper/modules/_reset.sass",
31
31
  "stylesheets/graphpaper/modules/_typography.sass",
32
+ "templates/project/_config.sass",
33
+ "templates/project/common/_footer.sass",
34
+ "templates/project/common/_header.sass",
35
+ "templates/project/common/_typography.sass",
32
36
  "templates/project/ie.sass",
33
37
  "templates/project/manifest.rb",
34
38
  "templates/project/partials/_base.sass",
35
- "templates/project/partials/_config.sass",
36
39
  "templates/project/print.sass",
37
- "templates/project/screen.sass",
38
- "templates/project/shared/_footer.sass",
39
- "templates/project/shared/_header.sass",
40
- "templates/project/shared/_typography.sass"
40
+ "templates/project/screen.sass"
41
41
  ]
42
42
  s.has_rdoc = true
43
43
  s.homepage = %q{http://github.com/alexcabrera/graphpaper}
@@ -178,4 +178,12 @@
178
178
  =border(!border_color = !gray)
179
179
  :padding-right = !graphpaper_column_gutter / 2 - 1
180
180
  :margin-right = !graphpaper_column_gutter / 2
181
- :border-right 1px solid #{!border_color}
181
+ :border-right 1px solid #{!border_color}
182
+
183
+ // --- THIS IS A TEST MIXIN ---
184
+ // It would be good to have a mixing that helps keep verical rhythm in line
185
+ // with the gutters in our grid. It should also be able to scale by multiples
186
+ // of *n* to ensure the creation of proportional margins between containers
187
+
188
+ =row-margin(!n = 1)
189
+ :margin-bottom = !graphpaper_grid_margin * !n
@@ -1,27 +1,31 @@
1
- // Stole the following from OOCSS, seemed like a pretty good model to follow
2
- // http://github.com/stubbornella/oocss/
1
+ // Set type to a baseline using the values in this article from A List Apart
2
+ // http://www.alistapart.com/articles/settingtypeontheweb
3
3
 
4
- body
5
- :font-family "Helvetica", "Arial", sans-serif
6
-
7
- h1
8
- :font-size 196%
4
+ !default_font_size ||= 12px
5
+ !line_height_multiplier ||= 1.5
6
+ !line_height = !default_font_size * !line_height_multiplier
9
7
 
10
- h2
11
- :font-size 167%
8
+ body
9
+ :font-family "Helvetica"
10
+ :font-size #{!default_font_size}
11
+ :line-height #{!line_height}
12
12
 
13
- h3
14
- :font-size 146.5%
13
+ p
14
+ :margin-bottom #{!line_height}
15
15
 
16
- h4
17
- :font-size 123.1%
16
+ h1, h2, h3, h4, h5
17
+ :font-weight bold
18
18
 
19
- h5
20
- :font-size 108%
19
+ h1
20
+ :font-size = !default_font_size * 2
21
+ :line-height = !line_height * 2
22
+ :margin-bottom #{!line_height}
21
23
 
22
- h6
23
- :font-size 108%
24
+ h2
25
+ :font-size #{!line_height}
26
+ :line-height #{!line_height}
27
+ :margin-bottom #{!line_height}
24
28
 
25
- a
26
- :color #1E9AE0
27
- :text-decoration none
29
+ h3, h4, h5
30
+ :font-size #{!default_font_size}
31
+ :line-height #{!line_height}
File without changes
File without changes
@@ -49,9 +49,9 @@
49
49
  // Below, style common elements that appear across your site. Examples
50
50
  // may include page headers, global navigation, or site footers.
51
51
 
52
- // @import shared/typography.sass
53
- // @import shared/header.sass
54
- // @import shared/footer.sass
52
+ // @import common/typography.sass
53
+ // @import common/header.sass
54
+ // @import common/footer.sass
55
55
 
56
56
 
57
57
  // Step 3. Layout the Rest of Your Site
@@ -2,6 +2,6 @@
2
2
  // screen stylesheet in order to override any changes to the default grid
3
3
  // settings.
4
4
 
5
- @import partials/config.sass
5
+ @import _config.sass
6
6
  @import graphpaper/screen.sass
7
- @import partials/base.sass
7
+ @import partials/_base.sass
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alexcabrera-graphpaper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Cabrera
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-31 00:00:00 -07:00
12
+ date: 2009-09-05 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -35,15 +35,15 @@ files:
35
35
  - stylesheets/graphpaper/modules/_grid.sass
36
36
  - stylesheets/graphpaper/modules/_reset.sass
37
37
  - stylesheets/graphpaper/modules/_typography.sass
38
+ - templates/project/_config.sass
39
+ - templates/project/common/_footer.sass
40
+ - templates/project/common/_header.sass
41
+ - templates/project/common/_typography.sass
38
42
  - templates/project/ie.sass
39
43
  - templates/project/manifest.rb
40
44
  - templates/project/partials/_base.sass
41
- - templates/project/partials/_config.sass
42
45
  - templates/project/print.sass
43
46
  - templates/project/screen.sass
44
- - templates/project/shared/_footer.sass
45
- - templates/project/shared/_header.sass
46
- - templates/project/shared/_typography.sass
47
47
  has_rdoc: true
48
48
  homepage: http://github.com/alexcabrera/graphpaper
49
49
  licenses: