middleman-sculptor 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac05e96da8c352e957d78b5417b48faddb1f9d63
4
- data.tar.gz: 0d75ca31562527120890cb5bea3f4c0c924e4840
3
+ metadata.gz: 67dc8094b667c5d455eb4c0d96fef0c2b56f33b1
4
+ data.tar.gz: 40bb6845d74a7170a051c7aa34ce121edf5bcb36
5
5
  SHA512:
6
- metadata.gz: 7246ab3b9e518bb66c1af94ef0797f16f9f5f78b2559c5b36d0b015fef50aeb6906b4353035e59796bb8b21d76e1ce1a176fef939a01b03ae67842e525c333d5
7
- data.tar.gz: b911fb768413e28ce6bdc8bd9043cdf751e3cd097eced167b3f1eccd1bc974d4af884e03faa1303836a247e41705374503ee0f1f5279b454699d8d482a894c0b
6
+ metadata.gz: a91a808ce218027403350dfd7159d80491545a477b0683e2998ed7b4eb0840bc48ab73bc25ad8bbc9bd3cdaeb25db8526ecfd588d98324a3716bd9b0dff53e24
7
+ data.tar.gz: 3907a057519a4463316707c58d086c7a86057dd321102d0b3fa2ca4740297d591450ff6fb8225c62982a65c52bd8e03d1c8577cc063020a1cad2847026f44325
@@ -9,14 +9,14 @@
9
9
  html,
10
10
  body {
11
11
  height: 100%;
12
+ background: $dark-grey;
13
+ color: white;
12
14
  }
13
15
 
14
16
  body {
15
- background: $dark-grey;
16
17
  padding: 0;
17
18
  margin: 0;
18
19
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
19
- color: #343434;
20
20
  }
21
21
 
22
22
  button {
@@ -24,26 +24,13 @@ button {
24
24
  }
25
25
 
26
26
  .glyptotheque {
27
- padding: 45px 20px;
27
+ position: relative;
28
+ padding: 42px 20px;
28
29
  min-height: 100%;
29
30
  overflow: hidden;
30
31
  background: white;
32
+ color: #343434;
31
33
  box-shadow: -1px 0 0 rgba(black, .1);
32
- position: relative;
33
-
34
- > header {
35
- margin: 0 0 30px;
36
- border-bottom: 1px solid #ccc;
37
-
38
- h1 {
39
- font-size: 28px;
40
- font-weight: 400;
41
- margin: 0;
42
- padding-bottom: 4px;
43
- border-bottom: 4px solid #ccc;
44
- display: inline-block;
45
- }
46
- }
47
34
  }
48
35
 
49
36
  .glypto-section {
@@ -56,19 +43,19 @@ button {
56
43
  box-shadow: none;
57
44
  border: 0;
58
45
  }
46
+ }
59
47
 
60
- .glypto-title {
61
- font-weight: 400;
62
- font-size: 24px;
63
- margin: 0;
48
+ .glypto-title {
49
+ font-size: 36px;
50
+ margin: 0;
51
+ letter-spacing: -.04em;
64
52
 
65
- a {
66
- color: #0070a8;
67
- text-decoration: none;
53
+ a {
54
+ color: #0070a8;
55
+ text-decoration: none;
68
56
 
69
- &:hover {
70
- color: $hover-orange;
71
- }
57
+ &:hover {
58
+ color: $hover-orange;
72
59
  }
73
60
  }
74
61
  }
@@ -3,6 +3,7 @@
3
3
  .glypto-model {
4
4
  margin: 20px 0;
5
5
  border: 1px solid $light-grey;
6
+ box-shadow: 0 0 0 3px #f6f6f6;
6
7
 
7
8
  &:last-child {
8
9
  margin-bottom: 0;
@@ -44,7 +44,7 @@
44
44
 
45
45
  .search {
46
46
  padding: 5px;
47
- margin-bottom: 10px;
47
+ margin-bottom: 5px;
48
48
 
49
49
  input {
50
50
  transition: 100ms;
@@ -20,7 +20,7 @@ article.glypto-model
20
20
  - unless locals[:iframe]
21
21
  - stylesheets = current_page.metadata.page[:stylesheet] || current_page.metadata.page[:stylesheets] || current_page.data[:stylesheet] || current_page.data[:stylesheets]
22
22
  - javascripts = current_page.metadata.page[:javascript] || current_page.metadata.page[:javascripts] || current_page.data[:javascript] || current_page.data[:javascripts]
23
- - if stylesheets
23
+ - if stylesheets && include_stylesheets(stylesheets) != yield_content(:stylesheets)
24
24
  - content_for :stylesheets, include_stylesheets(stylesheets)
25
- - if javascripts
25
+ - if javascripts && include_stylesheets(javascripts) != yield_content(:javascripts)
26
26
  - content_for :javascripts, include_javascripts(javascripts)
@@ -8,8 +8,7 @@
8
8
 
9
9
  main.glyptotheque
10
10
  - if current_page.data.title
11
- header
12
- h1 = current_page.data.title
11
+ h1.glypto-title = current_page.data.title
13
12
  = yield
14
13
 
15
14
  javascript:
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Sculptor
3
- VERSION = "0.5"
3
+ VERSION = "0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-sculptor
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: '0.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyom Semonov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-27 00:00:00.000000000 Z
11
+ date: 2015-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core