verne 0.1.0 → 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: 462cd882eeb9d82b72ecc1342a05931e7d691d77
4
- data.tar.gz: d28a32731742e28fbe0a93d26d68783df0938fff
3
+ metadata.gz: 8e1069403e472bf836c53dda222b6f0686736023
4
+ data.tar.gz: 65c05cf8349737218347d4b421bfbf3a0f6dffbc
5
5
  SHA512:
6
- metadata.gz: 138dbc651285368342646d4abbadf9c94a71969b3b6cacc76df9ae93c0f87866458c990535203a28e9368330ce533327d7a2550384919f027e9b88bb58c88fa5
7
- data.tar.gz: f4c1dd775ca2620022a7bbd6b2d1f6ae93a8c1cde3ed639deb7fcf46b58c5238cefbd64a5ff8c963a93fb6e2f26ece3c883a0f5bae46abe65dcc2be0ca5eb9b9
6
+ metadata.gz: 97335f50c9bf0f7244cabffd75fbbc6de7f983451de7e5d16f3e42ca8c66bb52e9d9d51f7e2495d68a5ef09ce3dac3426badc5cc764a1ac0f57113b867900fee
7
+ data.tar.gz: d8b8bd2779a42819cef6ab1424359f35dab07177c60f9da4f5eaabd5c15ca3ab87f1eacc752cda7d9637a46e9b2a57f3a025b760e7e6d61dcc97f08137a0b8e0
@@ -8,7 +8,6 @@
8
8
  border: none
9
9
  border-radius: $border-radius
10
10
  position: relative
11
- font-weight: 600
12
11
  width: 100%
13
12
  margin-bottom: $rhythm * 3
14
13
  padding: $rhythm * 2 $rhythm * 3
@@ -1,5 +1,5 @@
1
1
  // Settings
2
- $offset: $rhythm / 2
2
+ $offset: 0
3
3
 
4
4
  // Mixins
5
5
  @mixin button-is-colored($color)
@@ -13,20 +13,19 @@ $offset: $rhythm / 2
13
13
 
14
14
  // Elements
15
15
  %button
16
- font-size: $rhythm * 4 / 1.5
17
16
  line-height: $rhythm * 3
17
+ font-size: $rhythm * 3
18
18
  font-weight: 400
19
19
  text-decoration: none
20
20
  text-align: center
21
21
  padding:
22
- top: $rhythm + $offset
23
- bottom: $rhythm * 2 - $offset
22
+ top: $rhythm * 2
23
+ bottom: $rhythm * 2
24
24
  left: $rhythm * 3
25
25
  right: $rhythm * 3
26
26
  margin: 0 0 $rhythm * 2 0
27
27
  outline: none
28
28
  display: inline-block
29
- // color: white
30
29
  border: none
31
30
  transition: 0.1s all linear
32
31
  border-radius: $border-radius
@@ -50,8 +49,11 @@ $offset: $rhythm / 2
50
49
  background: $highlight-color
51
50
 
52
51
  %button-is-large
53
- font-size: $rhythm * 5 / 1.5
54
- line-height: $rhythm * 5
52
+ line-height: $rhythm * 4
53
+ font-size: $rhythm * 4
54
+ padding:
55
+ top: $rhythm * 3
56
+ bottom: $rhythm * 3
55
57
 
56
58
  %button-is-success
57
59
  @include button-is-colored($success-color)
@@ -1,14 +1,13 @@
1
1
  %pre, %code
2
- background: transparentize($primary-color, 0.9)
3
2
  font-family: "Courier Prime", "Courier New", "Courier", sans-serif
4
- border-radius: $border-radius
5
- font-weight: 300
3
+ font-weight: 600
4
+
5
+ %code
6
+ line-height: 1.0
6
7
 
7
8
  %pre
8
- font-size: $rhythm * 4 / 1.6
9
+ background: transparentize($primary-color, 0.9)
10
+ border-radius: $border-radius
11
+ font-size: golden-ratio($rhythm * 3, 0)
9
12
  padding: $rhythm * 3
10
- line-height: $rhythm * 4
11
- margin-bottom: $rhythm * 3
12
-
13
- %code
14
- padding: $rhythm / 2
13
+ margin-bottom: $rhythm * 3
@@ -5,7 +5,7 @@ $border-width: 1px
5
5
 
6
6
  // Elements
7
7
  %form
8
- margin-bottom: $rhythm * 3
8
+ margin-bottom: $rhythm * 3
9
9
 
10
10
  %input
11
11
  @include clearfix
@@ -16,23 +16,17 @@ $border-width: 1px
16
16
  label
17
17
  display: block
18
18
  font-weight: 700
19
- line-height: $rhythm * 4 // 24px
20
19
  margin-bottom: $rhythm
21
- font-size: $rhythm * 4 / 1.5 // 16px
22
20
  span
23
- line-height: $rhythm * 3
24
21
  margin-bottom: $rhythm * 2
25
- font-size: $rhythm * 2
26
- font-weight: 500
22
+ font-size: golden-ratio($rhythm * 4, -1)
27
23
  display: none
28
24
  div + span
29
25
  display: block
30
26
  input[type=text], input[type=url], input[type=number], input[type=email], input[type=password], select, textarea
31
27
  font-weight: 500
32
- line-height: $rhythm * 3
33
28
  height: $rhythm * 7
34
29
  margin-bottom: $rhythm
35
- font-size: $rhythm * 4 / 1.5 // 16px
36
30
  -webkit-appearance: none
37
31
  background: transparentize($primary-color, 0.9)
38
32
  box-sizing: border-box
@@ -15,7 +15,7 @@
15
15
  color: white
16
16
  > div
17
17
  background: $highlight-color
18
- height: $rhythm * 6
18
+ height: 100%
19
19
  position: absolute
20
20
  top: 0
21
21
  border-radius: $border-radius
@@ -1,6 +1,32 @@
1
- *
1
+ // Derived from Eric Meyer's CSS Reset v2.0 (20110126)
2
+
3
+ div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, textarea, select
4
+ margin: 0
5
+ padding: 0
6
+ border: 0
7
+ vertical-align: baseline
8
+ font-size: golden-ratio($rhythm * 3, 0)
9
+ font-weight: 300
10
+ color: $primary-color
11
+ font-family: $font-family
2
12
  box-sizing: border-box
3
13
 
14
+ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
15
+ display: block
16
+
17
+ ol, ul
18
+ list-style: none
19
+
20
+ blockquote, q
21
+ quotes: none
22
+ &:before, &:after
23
+ content: ''
24
+ content: none
25
+
26
+ table
27
+ border-collapse: collapse
28
+ border-spacing: 0
29
+
4
30
  html, body
5
31
  margin: 0
6
32
  padding: 0
@@ -9,4 +35,5 @@ html, body
9
35
  background: $background-color
10
36
 
11
37
  html
12
- font-size: $scale
38
+ font-size: $scale
39
+ line-height: 1.618
@@ -1,110 +1,78 @@
1
+ // Mixins
1
2
  @mixin baseline-adjust($offset)
2
3
  position: relative
3
4
  top: $offset
4
5
 
5
- @mixin ss-standard
6
- font-family: "SSStandard"
7
- font-style: normal
8
- font-weight: normal
9
- text-decoration: none
10
- text-rendering: optimizeLegibility
11
- white-space: nowrap
12
- -moz-font-feature-settings: "liga=1"
13
- -moz-font-feature-settings: "liga"
14
- -ms-font-feature-settings: "liga" 1
15
- -o-font-feature-settings: "liga"
16
- font-feature-settings: "liga"
17
- -webkit-font-smoothing: antialiased
18
-
19
- body, input, select, textarea, button
20
- font-family: $font-family
21
- color: $primary-color
22
- text-align: left
23
-
24
- h1, h2, h3, h4, h5, h6, p, span, label, input, blockquote, li
25
- margin: 0
26
- padding: 0
27
-
28
- *
29
- line-height: $rhythm * 4
30
- font-size: $rhythm * 4 / 1.5 // 16px
31
- font-weight: 300
6
+ // Elements
7
+ %copy
32
8
  color: $primary-color
9
+ margin-bottom: $rhythm
10
+ &, & *
11
+ font-size: golden-ratio($rhythm * 3, 0)
33
12
 
34
- b, strong
35
- font-weight: 600
36
-
37
- a
38
- color: $highlight-color
39
- text-decoration: none
40
- border-bottom: 1px solid $highlight-color
41
-
42
- .dropdown-menu
43
- a
44
- line-height: $rhythm * 4
45
- font-size: 14px
46
-
47
- cite
48
- line-height: $rhythm * 3
49
- font-size: $rhythm * 3 / 1.5 // 12px
50
- text-transform: uppercase
51
- display: block
52
- font-style: normal
53
- font-weight: 600
54
-
55
- p, li, h4, h5
56
- margin-bottom: $rhythm * 2
13
+ %primary-header, %secondary-header, %tertiary-header, %quaternary-header
14
+ margin-bottom: $rhythm
15
+ text-rendering: optimizeLegibility
57
16
 
58
- blockquote, q
17
+ %primary-header
59
18
  color: $primary-color
60
- $offset: $rhythm / 2
61
- line-height: $rhythm * 6 // 36px
62
- font-size: ($rhythm * 5) * 0.8 // 24px
63
- border-left: $rhythm solid $highlight-color
64
- font-style: italic
65
- font-weight: 300
66
- display: block
67
- margin: 0 0 $rhythm * 2 0
68
- padding:
69
- top: $rhythm * 2 + $offset
70
- bottom: $rhythm * 3 - $offset
71
- left: $rhythm * 4
72
- right: $rhythm * 12
73
-
74
- h1
75
19
  &, & *
76
- line-height: $rhythm * 12 // 72px
77
- margin-bottom: $rhythm * 3
78
- font-size: $rhythm * 12 // 72px
20
+ font-size: golden-ratio($rhythm * 3, 3)
79
21
  font-weight: 900
80
- color: $primary-color
81
22
 
82
- h2
83
- line-height: $rhythm * 8 // 48px
84
- margin-bottom: $rhythm * 5
85
- font-size: ($rhythm * 8) * 0.8 // 40px
86
- font-weight: 300
23
+ %secondary-header
87
24
  color: $highlight-color
25
+ &, & *
26
+ font-size: golden-ratio($rhythm * 3, 2)
27
+ font-weight: 300
88
28
 
89
- h3
29
+ %tertiary-header
30
+ color: $primary-color
90
31
  &, & *
91
- line-height: $rhythm * 5 // 30px
92
- margin-bottom: $rhythm * 2
93
- font-size: ($rhythm * 5) * 0.8 // 24px
32
+ font-size: golden-ratio($rhythm * 3, 1)
94
33
  font-weight: 700
95
- color: $primary-color
96
34
 
97
- h4
98
- font-weight: 700
35
+ %quaternary-header
99
36
  color: $highlight-color
100
-
101
- h5
102
37
  &, & *
103
- line-height: $rhythm * 5 // 30px
104
- font-size: ($rhythm * 5) / 1.5 // 20px
105
-
106
- table
107
- th
38
+ font-size: golden-ratio($rhythm * 3, 0)
108
39
  font-weight: 700
109
- td
110
- font-weight: 300
40
+
41
+ // Modifiers
42
+ %copy-is-large
43
+ font-size: golden-ratio($rhythm * 3, 1)
44
+
45
+ // Defaults
46
+ // b, strong
47
+ // font-weight: 600
48
+
49
+ // a
50
+ // color: $highlight-color
51
+ // text-decoration: none
52
+ // border-bottom: 1px solid $highlight-color
53
+
54
+ // cite
55
+ // line-height: $rhythm * 3
56
+ // font-size: $rhythm * 3 / 1.5 // 12px
57
+ // text-transform: uppercase
58
+ // display: block
59
+ // font-style: normal
60
+ // font-weight: 600
61
+
62
+ // p, li
63
+ // margin-bottom: $rhythm * 2
64
+
65
+ // blockquote, q
66
+ // color: $primary-color
67
+ // $offset: $rhythm / 2
68
+ // font-size: ($rhythm * 5) * 0.8 // 24px
69
+ // border-left: $rhythm solid $highlight-color
70
+ // font-style: italic
71
+ // font-weight: 300
72
+ // display: block
73
+ // margin: 0 0 $rhythm * 2 0
74
+ // padding:
75
+ // top: $rhythm * 2 + $offset
76
+ // bottom: $rhythm * 3 - $offset
77
+ // left: $rhythm * 4
78
+ // right: $rhythm * 12
data/lib/verne/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Verne
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: verne
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devon Tivona