nesta-contentfocus-extensions 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +53 -0
  3. data/Rakefile +1 -2
  4. data/assets/stylesheets/bitters/_base.scss +24 -0
  5. data/assets/stylesheets/bitters/_buttons.scss +10 -0
  6. data/assets/stylesheets/bitters/_forms.scss +78 -0
  7. data/assets/stylesheets/bitters/_grid-settings.scss +14 -0
  8. data/assets/stylesheets/bitters/_lists.scss +31 -0
  9. data/assets/stylesheets/bitters/_tables.scss +24 -0
  10. data/assets/stylesheets/bitters/_typography.scss +93 -0
  11. data/assets/stylesheets/bitters/_variables.scss +65 -0
  12. data/assets/stylesheets/bitters/extends/_button.scss +22 -0
  13. data/assets/stylesheets/bitters/extends/_clearfix.scss +3 -0
  14. data/assets/stylesheets/bitters/extends/_errors.scss +11 -0
  15. data/assets/stylesheets/bitters/extends/_flashes.scss +38 -0
  16. data/assets/stylesheets/bitters/extends/_hide-text.scss +3 -0
  17. data/assets/stylesheets/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
  18. data/assets/stylesheets/bourbon/_bourbon.scss +87 -0
  19. data/assets/stylesheets/bourbon/addons/_border-color.scss +26 -0
  20. data/assets/stylesheets/bourbon/addons/_border-radius.scss +48 -0
  21. data/assets/stylesheets/bourbon/addons/_border-style.scss +25 -0
  22. data/assets/stylesheets/bourbon/addons/_border-width.scss +25 -0
  23. data/assets/stylesheets/bourbon/addons/_buttons.scss +64 -0
  24. data/assets/stylesheets/bourbon/addons/_clearfix.scss +25 -0
  25. data/assets/stylesheets/bourbon/addons/_ellipsis.scss +30 -0
  26. data/assets/stylesheets/bourbon/addons/_font-stacks.scss +31 -0
  27. data/assets/stylesheets/bourbon/addons/_hide-text.scss +27 -0
  28. data/assets/stylesheets/bourbon/addons/_margin.scss +26 -0
  29. data/assets/stylesheets/bourbon/addons/_padding.scss +26 -0
  30. data/assets/stylesheets/bourbon/addons/_position.scss +48 -0
  31. data/assets/stylesheets/bourbon/addons/_prefixer.scss +66 -0
  32. data/assets/stylesheets/bourbon/addons/_retina-image.scss +25 -0
  33. data/assets/stylesheets/bourbon/addons/_size.scss +51 -0
  34. data/assets/stylesheets/bourbon/addons/_text-inputs.scss +112 -0
  35. data/assets/stylesheets/bourbon/addons/_timing-functions.scss +34 -0
  36. data/assets/stylesheets/bourbon/addons/_triangle.scss +63 -0
  37. data/assets/stylesheets/bourbon/addons/_word-wrap.scss +29 -0
  38. data/assets/stylesheets/bourbon/css3/_animation.scss +43 -0
  39. data/assets/stylesheets/bourbon/css3/_appearance.scss +3 -0
  40. data/assets/stylesheets/bourbon/css3/_backface-visibility.scss +3 -0
  41. data/assets/stylesheets/bourbon/css3/_background-image.scss +42 -0
  42. data/assets/stylesheets/bourbon/css3/_background.scss +55 -0
  43. data/assets/stylesheets/bourbon/css3/_border-image.scss +59 -0
  44. data/assets/stylesheets/bourbon/css3/_calc.scss +4 -0
  45. data/assets/stylesheets/bourbon/css3/_columns.scss +47 -0
  46. data/assets/stylesheets/bourbon/css3/_filter.scss +4 -0
  47. data/assets/stylesheets/bourbon/css3/_flex-box.scss +287 -0
  48. data/assets/stylesheets/bourbon/css3/_font-face.scss +24 -0
  49. data/assets/stylesheets/bourbon/css3/_font-feature-settings.scss +4 -0
  50. data/assets/stylesheets/bourbon/css3/_hidpi-media-query.scss +10 -0
  51. data/assets/stylesheets/bourbon/css3/_hyphens.scss +4 -0
  52. data/assets/stylesheets/bourbon/css3/_image-rendering.scss +14 -0
  53. data/assets/stylesheets/bourbon/css3/_keyframes.scss +36 -0
  54. data/assets/stylesheets/bourbon/css3/_linear-gradient.scss +38 -0
  55. data/assets/stylesheets/bourbon/css3/_perspective.scss +8 -0
  56. data/assets/stylesheets/bourbon/css3/_placeholder.scss +8 -0
  57. data/assets/stylesheets/bourbon/css3/_radial-gradient.scss +39 -0
  58. data/assets/stylesheets/bourbon/css3/_selection.scss +42 -0
  59. data/assets/stylesheets/bourbon/css3/_text-decoration.scss +19 -0
  60. data/assets/stylesheets/bourbon/css3/_transform.scss +15 -0
  61. data/assets/stylesheets/bourbon/css3/_transition.scss +71 -0
  62. data/assets/stylesheets/bourbon/css3/_user-select.scss +3 -0
  63. data/assets/stylesheets/bourbon/functions/_assign-inputs.scss +11 -0
  64. data/assets/stylesheets/bourbon/functions/_contains-falsy.scss +20 -0
  65. data/assets/stylesheets/bourbon/functions/_contains.scss +26 -0
  66. data/assets/stylesheets/bourbon/functions/_is-length.scss +11 -0
  67. data/assets/stylesheets/bourbon/functions/_is-light.scss +21 -0
  68. data/assets/stylesheets/bourbon/functions/_is-number.scss +11 -0
  69. data/assets/stylesheets/bourbon/functions/_is-size.scss +13 -0
  70. data/assets/stylesheets/bourbon/functions/_modular-scale.scss +69 -0
  71. data/assets/stylesheets/bourbon/functions/_px-to-em.scss +13 -0
  72. data/assets/stylesheets/bourbon/functions/_px-to-rem.scss +15 -0
  73. data/assets/stylesheets/bourbon/functions/_shade.scss +24 -0
  74. data/assets/stylesheets/bourbon/functions/_strip-units.scss +17 -0
  75. data/assets/stylesheets/bourbon/functions/_tint.scss +24 -0
  76. data/assets/stylesheets/bourbon/functions/_transition-property-name.scss +22 -0
  77. data/assets/stylesheets/bourbon/functions/_unpack.scss +27 -0
  78. data/assets/stylesheets/bourbon/helpers/_convert-units.scss +21 -0
  79. data/assets/stylesheets/bourbon/helpers/_directional-values.scss +96 -0
  80. data/assets/stylesheets/bourbon/helpers/_font-source-declaration.scss +43 -0
  81. data/assets/stylesheets/bourbon/helpers/_gradient-positions-parser.scss +13 -0
  82. data/assets/stylesheets/bourbon/helpers/_linear-angle-parser.scss +25 -0
  83. data/assets/stylesheets/bourbon/helpers/_linear-gradient-parser.scss +41 -0
  84. data/assets/stylesheets/bourbon/helpers/_linear-positions-parser.scss +61 -0
  85. data/assets/stylesheets/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
  86. data/assets/stylesheets/bourbon/helpers/_radial-arg-parser.scss +69 -0
  87. data/assets/stylesheets/bourbon/helpers/_radial-gradient-parser.scss +50 -0
  88. data/assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss +18 -0
  89. data/assets/stylesheets/bourbon/helpers/_render-gradients.scss +26 -0
  90. data/assets/stylesheets/bourbon/helpers/_shape-size-stripper.scss +10 -0
  91. data/assets/stylesheets/bourbon/helpers/_str-to-num.scss +50 -0
  92. data/assets/stylesheets/bourbon/settings/_asset-pipeline.scss +7 -0
  93. data/assets/stylesheets/bourbon/settings/_prefixer.scss +9 -0
  94. data/assets/stylesheets/bourbon/settings/_px-to-em.scss +1 -0
  95. data/assets/stylesheets/contentfocus/_animations.scss +9 -0
  96. data/assets/stylesheets/contentfocus/_breadcrumb.scss +83 -0
  97. data/assets/stylesheets/contentfocus/_browser.scss +146 -0
  98. data/assets/stylesheets/contentfocus/_bullets.scss +63 -0
  99. data/assets/stylesheets/contentfocus/_comments.scss +59 -0
  100. data/assets/stylesheets/contentfocus/_device.scss +84 -0
  101. data/assets/stylesheets/contentfocus/_flashes.scss +30 -0
  102. data/assets/stylesheets/contentfocus/_footer.scss +78 -0
  103. data/assets/stylesheets/contentfocus/_forms.scss +110 -0
  104. data/assets/stylesheets/contentfocus/_geometric_typography.scss +104 -0
  105. data/assets/stylesheets/contentfocus/_hero.scss +108 -0
  106. data/assets/stylesheets/contentfocus/_hover_tile.scss +51 -0
  107. data/assets/stylesheets/contentfocus/_nav.scss +396 -0
  108. data/assets/stylesheets/contentfocus/_progress_bar.scss +92 -0
  109. data/assets/stylesheets/contentfocus/_variables.scss +84 -0
  110. data/assets/stylesheets/neat/_neat-helpers.scss +8 -0
  111. data/assets/stylesheets/neat/_neat.scss +23 -0
  112. data/assets/stylesheets/neat/functions/_new-breakpoint.scss +49 -0
  113. data/assets/stylesheets/neat/functions/_private.scss +114 -0
  114. data/assets/stylesheets/neat/grid/_box-sizing.scss +15 -0
  115. data/assets/stylesheets/neat/grid/_direction-context.scss +33 -0
  116. data/assets/stylesheets/neat/grid/_display-context.scss +28 -0
  117. data/assets/stylesheets/neat/grid/_fill-parent.scss +22 -0
  118. data/assets/stylesheets/neat/grid/_media.scss +92 -0
  119. data/assets/stylesheets/neat/grid/_omega.scss +87 -0
  120. data/assets/stylesheets/neat/grid/_outer-container.scss +38 -0
  121. data/assets/stylesheets/neat/grid/_pad.scss +25 -0
  122. data/assets/stylesheets/neat/grid/_private.scss +35 -0
  123. data/assets/stylesheets/neat/grid/_row.scss +52 -0
  124. data/assets/stylesheets/neat/grid/_shift.scss +50 -0
  125. data/assets/stylesheets/neat/grid/_span-columns.scss +94 -0
  126. data/assets/stylesheets/neat/grid/_to-deprecate.scss +97 -0
  127. data/assets/stylesheets/neat/grid/_visual-grid.scss +42 -0
  128. data/assets/stylesheets/neat/settings/_disable-warnings.scss +13 -0
  129. data/assets/stylesheets/neat/settings/_grid.scss +51 -0
  130. data/assets/stylesheets/neat/settings/_visual-grid.scss +27 -0
  131. data/lib/nesta-contentfocus-extensions.rb +14 -4
  132. data/lib/nesta-contentfocus-extensions/app.rb +8 -0
  133. data/lib/nesta-contentfocus-extensions/helpers.rb +21 -0
  134. data/lib/nesta-contentfocus-extensions/kramdown.rb +91 -0
  135. data/lib/nesta-contentfocus-extensions/menu.rb +4 -1
  136. data/lib/nesta-contentfocus-extensions/overrides.rb +17 -0
  137. data/lib/nesta-contentfocus-extensions/page.rb +29 -54
  138. data/lib/nesta-contentfocus-extensions/path.rb +13 -7
  139. data/lib/nesta-contentfocus-extensions/paths.rb +52 -0
  140. data/lib/nesta-contentfocus-extensions/renderer.rb +46 -0
  141. data/lib/nesta-contentfocus-extensions/routes.rb +15 -0
  142. data/lib/nesta-contentfocus-extensions/theme.rb +36 -0
  143. data/lib/nesta-contentfocus-extensions/version.rb +1 -1
  144. data/nesta-contentfocus-extensions.gemspec +14 -11
  145. metadata +184 -6
@@ -0,0 +1,146 @@
1
+ $browser-top-bar-height: 1.5em;
2
+ $browser-circle-size: .5em;
3
+ $browser-circle-margin: ($browser-top-bar-height - $browser-circle-size) / 2;
4
+ $browser-top-bar-background: lighten(#DFDFDF, 5);
5
+ $browser-border: 0px;
6
+ $browser-background: $base-background-color;
7
+ $browser-content-background-1: #F0F0F0;
8
+ $browser-content-background-2: $base-background-color;
9
+ $browser-content-background-3: #F0F0F0;
10
+
11
+ .browsers {
12
+ display:inline-block;
13
+ padding-top: 0;
14
+ text-align:center;
15
+ width:100%;
16
+
17
+ @include media($large-screen) {
18
+ padding-top: 2em;
19
+ }
20
+ }
21
+
22
+ .browser-top-bar {
23
+ @include linear-gradient($browser-top-bar-background, darken($browser-top-bar-background, 2));
24
+ border-top-left-radius: $base-border-radius;
25
+ border-top-right-radius: $base-border-radius;
26
+ border: $browser-border;
27
+ box-shadow: inset 0 1px 0 transparentize(white, .6);
28
+ height: $browser-top-bar-height;
29
+ width: 100%;
30
+ }
31
+
32
+ .browser-circle {
33
+ border-radius: $browser-circle-size * 2;
34
+ box-shadow: 0 1px 0px transparentize(white, .5), inset 0 1px 1px transparentize(black, 0.8);
35
+ display: inline-block;
36
+ @include size($browser-circle-size);
37
+ margin: $browser-circle-margin 0;
38
+ }
39
+
40
+ .browser-circle:nth-child(1) {
41
+ background: #FF6F55;
42
+ margin-left: $browser-circle-margin;
43
+ }
44
+
45
+ .browser-circle:nth-child(2) {
46
+ background: #F5B01D;
47
+ margin-left: $browser-circle-margin / 3;
48
+ }
49
+
50
+ .browser-circle:nth-child(3) {
51
+ background: #51B151;
52
+ margin-left: $browser-circle-margin / 3;
53
+ }
54
+
55
+ //////////////////////////////////////////////
56
+
57
+ .browser {
58
+ border-bottom: none;
59
+ border-top-left-radius: $base-border-radius;
60
+ border-top-right-radius: $base-border-radius;
61
+ box-shadow: 0 3px 5px transparentize(black, .7);
62
+ display: inline-block;
63
+ text-align: left;
64
+ width:20%;
65
+ }
66
+
67
+ .browser:nth-child(1) {
68
+ background-color: $browser-content-background-1;
69
+ display: none;
70
+
71
+ @include media($large-screen) {
72
+ display: inline-block;
73
+ }
74
+
75
+ .browser-content {
76
+ background-color: $browser-content-background-1;
77
+ background-position: top;
78
+ background-repeat: no-repeat;
79
+ background-size: cover;
80
+ }
81
+ }
82
+
83
+ .browser:nth-child(2) {
84
+ @include transform(scale(1));
85
+ background-color: $browser-content-background-2;
86
+ width: 90%;
87
+
88
+ @include media($large-screen) {
89
+ @include transform(scale(1.2));
90
+ width: 40%;
91
+ }
92
+
93
+ .browser-content {
94
+ background: url(https://raw.githubusercontent.com/thoughtbot/refills/9c16f8b69d857c296c85f2d8c434e825f813a566/source/images/refills-screenshot2.jpg);
95
+ background-color: $browser-content-background-2;
96
+ background-position: top;
97
+ background-repeat: no-repeat;
98
+ background-size: cover;
99
+ }
100
+ }
101
+
102
+ .browser:nth-child(3) {
103
+ background-color: $browser-content-background-3;
104
+ display: none;
105
+
106
+ @include media($large-screen) {
107
+ display: inline-block;
108
+ }
109
+
110
+ .browser-content {
111
+ background: url(https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/refills-screenshot3.png);
112
+ background-color: $browser-content-background-3;
113
+ background-position: top;
114
+ background-repeat: no-repeat;
115
+ background-size: cover;
116
+ }
117
+ }
118
+
119
+ .browser-content {
120
+ border-left: $browser-border;
121
+ border-right: $browser-border;
122
+ height: 17em;
123
+ overflow: hidden;
124
+
125
+ @include media($large-screen) {
126
+ height: 18em;
127
+ }
128
+ }
129
+
130
+ //////////////////////////////////////////////
131
+
132
+ .cover {
133
+ background: transparent;
134
+ border-top: 0;
135
+ height: 4em;
136
+ margin-top: 0;
137
+ position: relative;
138
+ width: 100%;
139
+ z-index: 999;
140
+
141
+ &::after {
142
+ clear: both;
143
+ content: " ";
144
+ }
145
+ }
146
+
@@ -0,0 +1,63 @@
1
+ .bullets {
2
+ $icon-bullet-size: 3.5em;
3
+
4
+ overflow: auto;
5
+ margin-bottom: $base-line-height;
6
+
7
+ // change ".three-col-bullet" class to this for two bullet layout
8
+ .two-col-bullet {
9
+ @include media($large-screen) {
10
+ @include span-columns(6);
11
+ @include omega(2n);
12
+ }
13
+ }
14
+
15
+ .three-col-bullet {
16
+ @include media($large-screen) {
17
+ @include span-columns(4);
18
+ @include omega(3n);
19
+ }
20
+ }
21
+
22
+ // change ".three-col-bullet" class to this for four bullet layout
23
+ .four-col-bullet {
24
+ @include media($large-screen) {
25
+ @include span-columns(3);
26
+ @include omega(4n);
27
+ }
28
+ }
29
+
30
+ .bullet-icon {
31
+ float: left;
32
+ background: $base-accent-color;
33
+ padding: $icon-bullet-size /4;
34
+ border-radius: 50%;
35
+ width: $icon-bullet-size;
36
+ height: $icon-bullet-size;
37
+ }
38
+
39
+ .bullet-icon-1 {
40
+ background: $base-accent-color;
41
+ }
42
+
43
+ .bullet-icon-2 {
44
+ background: adjust-hue($base-accent-color, -50);
45
+ }
46
+
47
+ .bullet-icon-3 {
48
+ background: adjust-hue($base-accent-color, -140);
49
+ }
50
+
51
+ .bullet-content {
52
+ margin-left: $icon-bullet-size *1.4;
53
+ margin-bottom: 2em;
54
+ }
55
+
56
+ h2 {
57
+ font-size: $icon-bullet-size /2.5;
58
+ padding-top: $icon-bullet-size /7;
59
+ margin-bottom: $icon-bullet-size /6;
60
+ border-bottom: 1px solid transparentize($base-font-color, .8);
61
+ display: inline-block;
62
+ }
63
+ }
@@ -0,0 +1,59 @@
1
+ .comment {
2
+ $comment-gutter: 1.4em;
3
+ $comment-image-padding: .7em;
4
+ $comment-image-width: 4em;
5
+ $comment-color: $base-font-color;
6
+ $comment-background: lighten($base-accent-color, 15);
7
+ $comment-detail-color: transparentize($comment-color, .5);
8
+ $comment-image-vert-alignment: top;
9
+
10
+ display: table;
11
+ width: 100%;
12
+ margin-bottom: $base-spacing;
13
+ padding-bottom: 1em;
14
+ border-bottom: 1px solid transparentize($comment-color, .9);
15
+
16
+ .comment-image,
17
+ .comment-content {
18
+ display: table-cell;
19
+ vertical-align: $comment-image-vert-alignment;
20
+ }
21
+
22
+ .comment-image {
23
+ padding-right: $comment-gutter;
24
+
25
+ > img {
26
+ width: $comment-image-width;
27
+ height: auto;
28
+ border-radius: $base-border-radius;
29
+ padding: $comment-image-padding;
30
+ background: $comment-background;
31
+ display: block;
32
+ max-width: none;
33
+ }
34
+
35
+ .comment-reverse-order & {
36
+ padding-right: 0;
37
+ padding-left: 10px;
38
+ }
39
+ }
40
+
41
+ .comment-content {
42
+ width: 100%;
43
+
44
+ h1 {
45
+ font-size: 1em;
46
+ margin-bottom: .5em;
47
+ }
48
+
49
+ p {
50
+ margin-bottom: .5em;
51
+ }
52
+
53
+ p.comment-detail {
54
+ font-style: italic;
55
+ font-size: .9em;
56
+ color: $comment-detail-color;
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,84 @@
1
+ $device-padding-vertical: 5em;
2
+ $device-padding-horizontal: .4em;
3
+ $device-screen-width: 14em;
4
+ $device-screen-height: 25em;
5
+ $device-background: darken(gray, 40);
6
+ $device-backside-background: darken($device-background, 10);
7
+ $device-text-color: white;
8
+
9
+ $device-background-top: #162C4C;
10
+ $device-background-bottom: #0A120D;
11
+ $gradient-angle: 10deg;
12
+ $device-image: 'https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/mountains.png';
13
+ $device-screen-image: 'https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/cosmin_capitanu_screen.jpg';
14
+
15
+ .device-background {
16
+ @include background(url($device-image), linear-gradient($gradient-angle, $device-background-bottom, $device-background-top), no-repeat $device-background-top scroll);
17
+ background-repeat: no-repeat;
18
+ background-size: cover;
19
+ width: 100%;
20
+ height: 20em;
21
+ }
22
+
23
+ .device-text {
24
+ color: $device-text-color;
25
+ padding: 2em;
26
+
27
+ @include media($large-screen) {
28
+ max-width: 50%;
29
+ padding: 4em;
30
+ float: left;
31
+ }
32
+
33
+ h4 {
34
+ margin-bottom: .5em;
35
+ padding-bottom: .5em;
36
+ border-bottom: 1px solid transparentize($device-text-color, .7);
37
+ }
38
+
39
+ p {
40
+ font-family: $serif;
41
+ margin-bottom: 1.5em;
42
+ }
43
+ }
44
+
45
+ .device {
46
+ display: none;
47
+ position: relative;
48
+
49
+ @include media($large-screen) {
50
+ @include transform(
51
+ perspective(800px)
52
+ translateX(0px)
53
+ translateY(-100px)
54
+ translateZ(50px)
55
+ rotateX(0deg)
56
+ rotateY(-20deg)
57
+ rotateZ(-0deg));
58
+ display: block;
59
+ float: right;
60
+ margin-bottom: -12em;
61
+ margin-right: 5em;
62
+ padding: $device-padding-vertical 0;
63
+ width: $device-screen-width + (2 * $device-padding-horizontal);
64
+ border-radius: 2em;
65
+ background: $device-background;
66
+ box-shadow:
67
+ 1px 0px lighten($device-backside-background, 20),
68
+ 4px 0px lighten($device-backside-background, 2),
69
+ 7px 0px $device-backside-background,
70
+ 10px 0px $device-backside-background,
71
+ 13px 0px $device-backside-background;
72
+ z-index: 99999;
73
+
74
+ .screen {
75
+ @include size($device-screen-width $device-screen-height);
76
+ background-image: url($device-screen-image);
77
+ background-size: cover;
78
+ box-shadow: inset 0 1px 8px transparentize(black, .5);
79
+ margin: auto;
80
+ border-radius: .2em;
81
+ }
82
+ }
83
+ }
84
+
@@ -0,0 +1,30 @@
1
+ $flash-red: #FBE3E4;
2
+ $flash-yellow: #FFF6BF;
3
+ $flash-green: #E6EFC2;
4
+
5
+ %flash-base {
6
+ display: block;
7
+ font-weight: bold;
8
+ margin-bottom: $base-spacing / 2;
9
+ padding: $base-spacing / 2;
10
+ text-align: center;
11
+ }
12
+
13
+ $flashes: (alert: $flash-yellow, error: $flash-red, notice: lighten($base-accent-color, 40), success: $flash-green);
14
+
15
+ @each $flash, $color in $flashes {
16
+ .flash.#{$flash} {
17
+ @extend %flash-base;
18
+ background: $color;
19
+ color: darken($color, 60);
20
+
21
+ a {
22
+ color: darken($color, 70);
23
+ border-bottom: 1px solid transparentize(darken($color, 70), .7);
24
+
25
+ &:hover {
26
+ color: darken($color, 90);
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,78 @@
1
+ .footer {
2
+ $footer-background: desaturate(darken($base-accent-color, 20), 30) !default;
3
+ $footer-color: white !default;
4
+ $footer-link-color: transparentize($footer-color, .6) !default;
5
+ $footer-disclaimer-color: transparentize($footer-color, .6) !default;
6
+
7
+ background: $footer-background;
8
+ padding: $base-spacing*2 $gutter;
9
+ width: 100%;
10
+
11
+ .footer-logo {
12
+ text-align: center;
13
+ margin-bottom: 2em;
14
+
15
+ img {
16
+ height: 3em;
17
+ }
18
+ }
19
+
20
+ .footer-links {
21
+ @include clearfix;
22
+ margin-bottom: $base-spacing;
23
+
24
+ @include media($medium-screen) {
25
+ @include shift(3);
26
+ }
27
+ }
28
+
29
+ ul {
30
+ margin-bottom: $base-spacing*2;
31
+ padding: 0;
32
+
33
+ @include media($medium-screen) {
34
+ @include span-columns(3);
35
+ @include omega(3n);
36
+ @include clearfix;
37
+ }
38
+ }
39
+
40
+ li {
41
+ text-align: center;
42
+
43
+ @include media($medium-screen) {
44
+ text-align: left;
45
+ }
46
+ }
47
+
48
+ li a {
49
+ color: $footer-link-color;
50
+ text-decoration: none;
51
+
52
+ &:hover {
53
+ color: transparentize($footer-color, 0);
54
+ }
55
+ }
56
+
57
+ li h3 {
58
+ color: $footer-color;
59
+ font-size: 1em;
60
+ font-weight: 800;
61
+ margin-bottom: .4em;
62
+ }
63
+
64
+ hr {
65
+ border: 1px solid transparentize($footer-disclaimer-color, .3);
66
+ margin: 0 auto $base-spacing;
67
+ width: 12em;
68
+ }
69
+
70
+ p {
71
+ color: $footer-disclaimer-color;
72
+ font-size: .9em;
73
+ line-height: 1.5em;
74
+ margin: auto;
75
+ max-width: 35em;
76
+ text-align: center;
77
+ }
78
+ }