kentucky 0.1.3 → 0.2.0

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: 8282450ffd79d78b227d2c75f104af353b54348c
4
- data.tar.gz: e6f7c1f22335df9bbb21aa9c9f819ed173ac0746
3
+ metadata.gz: 125dc3eca5e63f50fc47f7e6f05ab5db4cf39075
4
+ data.tar.gz: 99bfd25a5478ad118834e406fa6bf9868d00f981
5
5
  SHA512:
6
- metadata.gz: 3c3db0b3352e7f53f7438b5582dca86dd2361d8de04c9e0652536c61f902ab800da010c8edfe2141786c8f47f3e6a549ed1fe01b29d01753d55edd1d2a567e15
7
- data.tar.gz: 4949bae4408100423281432805b11b4d3b9e7524c2e71d628df8d3b84c22dcea0068c91bee8b29f5f6579f3df8cd05ceda171d6f95133475ecc7cb7043a0ecf9
6
+ metadata.gz: 71152e94ad7a6266732efe5462b125d8aa5ca73ed42e0a1d4fb0253d295d51918b620333f6245f415eb803a81ea3f3b2c1d6971f0562ec2ca484bd6a16654b5f
7
+ data.tar.gz: 13101c4ff9049959ec935c0a94af8c6b0501dfc273ffdce4fee1406e071e6c0779be4538beed430734b28fc45c71c0654f46f327ed63a61f9e66f2e2a59a0c44
@@ -61,25 +61,18 @@ $link-color: #bebebe !default;
61
61
  // https://twitter.com/redclov3r/status/250301539321798657
62
62
  // Customized to allow unitless line-height
63
63
 
64
- @mixin font-size($font-size, $line-height:1){
65
- font-size: $font-size;
66
- line-height: $line-height;
67
- }
68
-
69
64
  html{
70
- font-family: $base-font-family;
71
- color: $base-font-color;
72
- @include font-size($base-font-size);
65
+ font: $base-font-size/$base-line-height $base-font-family;
73
66
  }
74
67
 
75
68
  %giga{
76
- @include font-size($giga-size);
69
+ font-size: $giga-size;
77
70
  }
78
71
  %mega{
79
- @include font-size($mega-size);
72
+ font-size: $mega-size;
80
73
  }
81
74
  %kilo{
82
- @include font-size($kilo-size);
75
+ font-size: $kilo-size;
83
76
  }
84
77
 
85
78
  h1, h2, h3, h4, h5, h6{
@@ -87,34 +80,34 @@ h1, h2, h3, h4, h5, h6{
87
80
  }
88
81
  h1,
89
82
  %alpha{
90
- @include font-size($h1-size);
83
+ font-size: $h1-size;
91
84
  }
92
85
  h2,
93
86
  %bravo{
94
- @include font-size($h2-size);
87
+ font-size: $h2-size;
95
88
  }
96
89
  h3,
97
90
  %charlie{
98
- @include font-size($h3-size);
91
+ font-size: $h3-size;
99
92
  }
100
93
  h4,
101
94
  %delta{
102
- @include font-size($h4-size);
95
+ font-size: $h4-size;
103
96
  }
104
97
  h5,
105
98
  %echo{
106
- @include font-size($h5-size);
99
+ font-size: $h5-size;
107
100
  }
108
101
  h6,
109
102
  %foxtrot{
110
- @include font-size($h6-size);
103
+ font-size: $h6-size;
111
104
  }
112
105
 
113
106
  %milli{
114
- @include font-size($milli-size);
107
+ font-size: $milli-size;
115
108
  }
116
109
  %micro{
117
- @include font-size($micro-size);
110
+ font-size: $micro-size;
118
111
  }
119
112
 
120
113
  a{
@@ -126,6 +119,23 @@ a{
126
119
  }
127
120
  }
128
121
 
122
+
123
+ // ------------------------------------------------------------------- //
124
+ // Single Direction Margins
125
+ //
126
+ // Any block level elements should be added to this list as well.
127
+ // Keeping the margins in one direction will avoid margin collapse
128
+ // issues and keep spacing consistant.
129
+ // ------------------------------------------------------------------- //
130
+
131
+ h1, h2, h3, h4, h5, h6,
132
+ ul, ol, dd,
133
+ section, article, p,
134
+ pre, table, fieldset, hr{
135
+ margin-bottom: ($base-font-size / $base-line-height); // IE8 Fallback
136
+ margin-bottom: 1rem;
137
+ }
138
+
129
139
  // ------------------------------------------------------------------- //
130
140
  // Custom Selection Text
131
141
  // ------------------------------------------------------------------- //
@@ -5,10 +5,30 @@
5
5
  // Edited for use with Kentucky
6
6
  // ------------------------------------------------------------------- //
7
7
 
8
+
9
+ // ------------------------------------------------------------------- //
10
+ // Base Reset
11
+ // Allows for better control over spacing from the start
12
+ // ------------------------------------------------------------------- //
13
+
8
14
  *{
9
15
  @include box-sizing(border-box);
10
16
  }
11
17
 
18
+ html, body, div, span, iframe,
19
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr,
20
+ a, abbr, address, cite, code,
21
+ em, img, small, strong, sub, sup,
22
+ dl, dt, dd, ol, ul, li,
23
+ fieldset, form, label, legend,
24
+ table, caption, tbody, tfoot, thead, tr, th, td,
25
+ article, aside, canvas, details, figcaption, figure,
26
+ footer, header, menu, nav, section, summary,
27
+ time, mark, audio, video{
28
+ margin: 0;
29
+ padding: 0;
30
+ }
31
+
12
32
  article,
13
33
  aside,
14
34
  details,
@@ -61,8 +81,7 @@ a:focus {
61
81
  outline: thin dotted;
62
82
  }
63
83
 
64
- a:active,
65
- a:hover {
84
+ a:active {
66
85
  outline: 0;
67
86
  }
68
87
 
@@ -143,26 +162,15 @@ svg:not(:root) {
143
162
  overflow: hidden;
144
163
  }
145
164
 
146
- // ------------------------------------------------------------------- //
147
- // Figures
148
- // ------------------------------------------------------------------- //
149
-
150
- figure {
151
- margin:0;
152
- }
153
-
154
165
  // ------------------------------------------------------------------- //
155
166
  // Forms
156
167
  // ------------------------------------------------------------------- //
157
168
 
158
169
  fieldset {
159
- margin: 0 2px;
160
- padding: .35em .625em .75em;
161
170
  border: 1px solid #ccc;
162
171
  }
163
172
 
164
173
  legend {
165
- padding: 0;
166
174
  border: 0;
167
175
  }
168
176
 
@@ -214,7 +222,6 @@ input[type="search"]::-webkit-search-decoration {
214
222
 
215
223
  button::-moz-focus-inner,
216
224
  input::-moz-focus-inner {
217
- padding: 0;
218
225
  border: 0;
219
226
  }
220
227
 
@@ -223,16 +230,23 @@ textarea {
223
230
  vertical-align:top;
224
231
  }
225
232
 
233
+
226
234
  // ------------------------------------------------------------------- //
227
235
  // Lists
228
236
  // ------------------------------------------------------------------- //
229
237
 
230
238
  ul,
231
239
  ol,
232
- dl{
233
- margin: 0;
240
+ dl {
241
+ margin-left: 1.5em;
234
242
  }
235
243
 
244
+ li > ul,
245
+ li > ol{
246
+ padding-bottom: 0;
247
+ }
248
+
249
+
236
250
  // ------------------------------------------------------------------- //
237
251
  // Tables
238
252
  // ------------------------------------------------------------------- //
data/kentucky.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.authors = ["Aaron Clemmer", "Greg Bruening", "Chris Brinson"]
11
11
  s.email = ["greg@lookthink.com"]
12
12
  s.homepage = "https://bitbucket.org/lookthink/kentucky"
13
- s.summary = "Kentucky Bourbon, Neat SCSS Mixins and Grid System"
13
+ s.summary = "Kentucky Bourbon, Neat Grid System and SCSS Mixins"
14
14
  s.description = <<-DESC
15
15
  Kentucky is LookThink's contribution to further enhance an already stellar SCSS library put together by the people at ThoughtBot. Their mixin library (Bourbon) and grid system (Neat) now serve as the base to all LookThink projects. Kentucky also includes a variety of mixins from various projects that we find useful and weren't included in Bourbon. Additionally, it includes a handy-dandy file (_defaults.scss) for handling all of your variables, keeping them centralized and easy to maintain.
16
16
  DESC
@@ -1,3 +1,3 @@
1
1
  module Kentucky
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kentucky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Clemmer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-07-01 00:00:00.000000000 Z
13
+ date: 2013-07-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sass
@@ -151,10 +151,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.0.3
154
+ rubygems_version: 2.0.6
155
155
  signing_key:
156
156
  specification_version: 4
157
- summary: Kentucky Bourbon, Neat SCSS Mixins and Grid System
157
+ summary: Kentucky Bourbon, Neat Grid System and SCSS Mixins
158
158
  test_files:
159
159
  - features/install.feature
160
160
  - features/step_definitions/kentucky_steps.rb
@@ -162,4 +162,3 @@ test_files:
162
162
  - features/support/kentucky_support.rb
163
163
  - features/update.feature
164
164
  - features/version.feature
165
- has_rdoc: