bubblin-jekyll 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f65cee2269bd11705742a47c012f17d2626cc28e
4
- data.tar.gz: b3631c79d394ec1a0aa860dae59ad991bbd061ef
3
+ metadata.gz: c9d91eac3ed02eba8e8b831501b2dc13fbc77161
4
+ data.tar.gz: 2c151871eab5317748dc6378a9240fc3c31a482b
5
5
  SHA512:
6
- metadata.gz: 583195c784aa003ec6d8c37f1d680c95913086465dc0f02cd30ebfe61cc286ae7d80d2fd23e0cfa536897dbf646c54bbb1c4d61b95e82d7600c78287e1c569ac
7
- data.tar.gz: '056919d741a4b3d34fd74e424a90914b11aead46586db7b7ec8ae208ea385d3e1f92410915e7c6e775edc09ac46b1ae89c1bd1225cd0094f778f3001b3ea34b0'
6
+ metadata.gz: 4dc3e8b384bf8b85c3c5c11114f7414e9a88b2eea780c27bc868fff4e71ef92be8a3022f67ca4a39bad81244a857acfd355bb6d66b39a3f593d57fccdd0b45cf
7
+ data.tar.gz: ed14958be394f9a7d31322a1ca3e894ba7e3ab93188f359c07a6619ac6dd7548903ad42861fdd510161f6beca1a8b62a474f4ebcf6e29c96a437740a8a019c33
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016 Parker Moore
3
+ Copyright (c) 2017 Marvin Danig
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -25,6 +25,8 @@ And add this line to your Jekyll site:
25
25
 
26
26
  ```yaml
27
27
  theme: bubblin-jekyll
28
+
29
+ search: true
28
30
  ```
29
31
 
30
32
  And then execute:
data/_includes/head.html CHANGED
@@ -8,4 +8,5 @@
8
8
  {% if jekyll.environment == 'development' and site.google_analytics %}
9
9
  {% include google-analytics.html %}
10
10
  {% endif %}
11
+ <script type="text/javascript" src="{{ 'assets/js/search.js' | relative_url }}"></script>
11
12
  </head>
@@ -11,8 +11,12 @@
11
11
  <a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
12
12
  </li>
13
13
  {% endif %} {% endfor %}
14
-
15
14
  </ul>
15
+ <div class="left">
16
+ <input type="text" id="search-input" placeholder="Search blog..." class="search">
17
+ <ul id="results-container"></ul>
18
+ </div>
19
+
16
20
  <ul class="horizontal-list right navi-menu">
17
21
  <li>
18
22
  <a href="https://bubblin.io"> ← Back to site </a>
@@ -0,0 +1,25 @@
1
+ <script id="searchJSON">
2
+ [
3
+ {% for post in site.posts %}
4
+ {
5
+
6
+ "title" : "{{ post.title | escape }}",
7
+ "url" : "{{ site.baseurl }}{{ post.url }}",
8
+ "category" : "{{ post.category }}",
9
+ "tags" : "{{ post.tags | join: ', ' }}",
10
+ "date" : "{{ post.date }}",
11
+ "desc" : "{{ post.title | escape }}"
12
+
13
+ } {% unless forloop.last %},{% endunless %}
14
+ {% endfor %}
15
+ ]
16
+ </script>
17
+
18
+
19
+ <script>
20
+ SimpleJekyllSearch({
21
+ searchInput: document.getElementById('search-input'),
22
+ resultsContainer: document.getElementById('results-container'),
23
+ json: JSON.parse(document.getElementById('searchJSON').innerText)
24
+ })
25
+ </script>
@@ -13,6 +13,10 @@
13
13
 
14
14
  {% include footer.html %}
15
15
 
16
+ {% if site.search %}
17
+ {% include search.html %}
18
+ {% endif %}
19
+
16
20
  </body>
17
21
 
18
22
  </html>
@@ -132,4 +132,67 @@
132
132
 
133
133
  .super-small {
134
134
  font-size: 70%;
135
+ }
136
+
137
+ .search {
138
+ width: 130px;
139
+ margin: 1px auto auto 9px;
140
+ padding: 0 0 0 26px;
141
+ height: 44px;
142
+ outline: 0 !important;
143
+ border: none;
144
+ display: block;
145
+ background: transparent none;
146
+ background-image: url(images/search.svg);
147
+ background-position-x: left;
148
+ background-position-y: center;
149
+ background-repeat: no-repeat;
150
+ background-size: 24px 24px;
151
+ }
152
+
153
+ ul#results-container {
154
+ position: absolute;
155
+ top: 45px;
156
+ left: 0;
157
+ background: aliceblue;
158
+ li {
159
+ width: inherit;
160
+ display: flex;
161
+ margin-bottom: 1px;
162
+ background: aliceblue;
163
+ a {
164
+ color: #444;
165
+ padding: 7px 10px;
166
+ width: inherit;
167
+ &:hover {
168
+ color: #1177FF;
169
+ border-color: #1177FF;
170
+ background-color: aliceblue;
171
+ }
172
+ }
173
+ }
174
+ }
175
+
176
+ @media (orientation: portrait) {
177
+ body {
178
+ ul#results-container {
179
+ margin: 0 5vw;
180
+ width: 90vw;
181
+ }
182
+ }
183
+ }
184
+
185
+ @media (orientation: landscape) {
186
+ body {
187
+ ul#results-container {
188
+ margin: 0 85px;
189
+ width: 500px;
190
+ }
191
+ }
192
+ }
193
+
194
+ a.gray {
195
+ color: #777 !important;
196
+ font-style: italic;
197
+ pointer-events: none;
135
198
  }
@@ -35,7 +35,6 @@ body {
35
35
  -webkit-osx-font-smoothing: antialiased;
36
36
  }
37
37
 
38
-
39
38
  /* Anchors */
40
39
 
41
40
  a {
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 0 32 32" width="32">
2
+ <title> Search book titles </title>
3
+ <g fill="none"><g fill="#444"><path d="M19.4 20.4C18 21.4 16.3 22 14.5 22 9.8 22 6 18.2 6 13.5 6 8.8 9.8 5 14.5 5 19.2 5 23 8.8 23 13.5 23 15.8 22 18 20.5 19.5L26.5 25.5C26.8 25.8 26.8 26.2 26.5 26.5 26.2 26.8 25.8 26.8 25.5 26.5L19.4 20.4 19.4 20.4ZM14.5 21C18.6 21 22 17.6 22 13.5 22 9.4 18.6 6 14.5 6 10.4 6 7 9.4 7 13.5 7 17.6 10.4 21 14.5 21L14.5 21Z"/></g></g>
4
+ </svg>
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Simple-Jekyll-Search v1.4.1 (https://github.com/christian-fei/Simple-Jekyll-Search)
3
+ * Copyright 2015-2017, Christian Fei
4
+ * Licensed under MIT (https://github.com/christian-fei/Simple-Jekyll-Search/blob/master/LICENSE.md)
5
+ */
6
+ !function t(e,r,n){function i(o,a){if(!r[o]){if(!e[o]){var c="function"==typeof require&&require;if(!a&&c)return c(o,!0);if(u)return u(o,!0);var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}var f=r[o]={exports:{}};e[o][0].call(f.exports,function(t){var r=e[o][1][t];return i(r||t)},f,f.exports,t,e,r,n)}return r[o].exports}for(var u="function"==typeof require&&require,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(t,e,r){"use strict";e.exports=function(t,e){var r=e.length,n=t.length;if(n>r)return!1;if(n===r)return t===e;t:for(var i=0,u=0;i<n;i++){for(var o=t.charCodeAt(i);u<r;)if(e.charCodeAt(u++)===o)continue t;return!1}return!0}},{}],2:[function(t,e,r){"use strict";function n(t,e){return function(){if(4===t.readyState&&200===t.status)try{e(null,JSON.parse(t.responseText))}catch(r){e(r,null)}}}function i(){return window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")}e.exports={load:function(t,e){var r=i();r.open("GET",t,!0),r.onreadystatechange=n(r,e),r.send()}}},{}],3:[function(t,e,r){"use strict";e.exports=function n(t){if(!function(t){return!!t&&"undefined"!=typeof t.required&&t.required instanceof Array}(t))throw new Error("-- OptionsValidator: required options missing");if(!(this instanceof n))return new n(t);var e=t.required;this.getRequiredOptions=function(){return e},this.validate=function(t){var r=[];return e.forEach(function(e){"undefined"==typeof t[e]&&r.push(e)}),r}}},{}],4:[function(t,e,r){"use strict";function n(t){return!!t&&"[object Object]"===Object.prototype.toString.call(t)}function i(t){return!!t&&"[object Array]"===Object.prototype.toString.call(t)}function u(t){return p.push(t),p}function o(t){for(var e=[],r=0;r<t.length;r++)n(t[r])&&e.push(u(t[r]));return e}function a(t,e,r,n){for(var i=[],u=0;u<t.length&&i.length<n.limit;u++){var o=c(t[u],e,r,n);o&&i.push(o)}return i}function c(t,e,r,n){for(var i in t)if(!s(t[i],n.exclude)&&r.matches(t[i],e))return t}function s(t,e){var r=!1;e=e||[];for(var n=0;n<e.length;n++){var i=e[n];!r&&new RegExp(t).test(i)&&(r=!0)}return r}e.exports={put:function(t){return n(t)?u(t):i(t)?o(t):undefined},clear:function(){return p.length=0,p},get:function(){return p},search:function(t){return t?a(p,t,h.searchStrategy,h):[]},setOptions:function(t){(h=t||{}).fuzzy=t.fuzzy||!1,h.limit=t.limit||10,h.searchStrategy=t.fuzzy?f:l}};var f=t("./SearchStrategies/FuzzySearchStrategy"),l=t("./SearchStrategies/LiteralSearchStrategy"),p=[],h={};h.fuzzy=!1,h.limit=10,h.searchStrategy=h.fuzzy?f:l},{"./SearchStrategies/FuzzySearchStrategy":5,"./SearchStrategies/LiteralSearchStrategy":6}],5:[function(t,e,r){"use strict";var n=t("fuzzysearch");e.exports=new function(){this.matches=function(t,e){return n(e,t)}}},{fuzzysearch:1}],6:[function(t,e,r){"use strict";e.exports=new function(){this.matches=function(t,e){return"string"==typeof t&&(t=t.trim()).toLowerCase().indexOf(e.toLowerCase())>=0}}},{}],7:[function(t,e,r){"use strict";e.exports={compile:function(t){return n.template.replace(n.pattern,function(e,r){var i=n.middleware(r,t[r],n.template);return void 0!==i?i:t[r]||e})},setOptions:function(t){n.pattern=t.pattern||n.pattern,n.template=t.template||n.template,"function"==typeof t.middleware&&(n.middleware=t.middleware)}};var n={};n.pattern=/\{(.*?)\}/g,n.template="",n.middleware=function(){}},{}],8:[function(t,e,r){!function(e,r){"use strict";function n(t){m.put(t),a()}function i(t){S.load(t,function(e,r){e&&p("failed to get JSON ("+t+")"),n(r)})}function u(){h.resultsContainer.innerHTML=""}function o(t){h.resultsContainer.innerHTML+=t}function a(){h.searchInput.addEventListener("keyup",function(t){l(t.which)&&(u(),c(t.target.value))})}function c(t){f(t)&&s(m.search(t))}function s(t){var e=t.length;if(0===e)return o(h.noResultsText);for(var r=0;r<e;r++)o(y.compile(t[r]))}function f(t){return t&&t.length>0}function l(t){return-1===[13,16,20,37,38,39,40,91].indexOf(t)}function p(t){throw new Error("SimpleJekyllSearch --- "+t)}var h={searchInput:null,resultsContainer:null,json:[],searchResultTemplate:'<li><a href="{url}" title="{desc}">{title}</a></li>',templateMiddleware:function(){},noResultsText:"<li><a href=\"javascript:;\" class=\"gray\">No results found </li>",limit:10,fuzzy:!1,exclude:[]},d=["searchInput","resultsContainer","json"],y=t("./Templater"),m=t("./Repository"),S=t("./JSONLoader"),g=t("./OptionsValidator")({required:d}),v=t("./utils");e.SimpleJekyllSearch=function(t){return g.validate(t).length>0&&p("You must specify the following required options: "+d),h=v.merge(h,t),y.setOptions({template:h.searchResultTemplate,middleware:h.templateMiddleware}),m.setOptions({fuzzy:h.fuzzy,limit:h.limit}),v.isJSON(h.json)?n(h.json):i(h.json),{search:c}},e.SimpleJekyllSearch.init=e.SimpleJekyllSearch,"function"==typeof e.SimpleJekyllSearchInit&&e.SimpleJekyllSearchInit.call(this,e.SimpleJekyllSearch)}(window,document)},{"./JSONLoader":2,"./OptionsValidator":3,"./Repository":4,"./Templater":7,"./utils":9}],9:[function(t,e,r){"use strict";e.exports={merge:function(t,e){var r={};for(var n in t)r[n]=t[n],"undefined"!=typeof e[n]&&(r[n]=e[n]);return r},isJSON:function(t){try{return!!(t instanceof Object&&JSON.parse(JSON.stringify(t)))}catch(e){return!1}}}},{}]},{},[8]);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bubblin-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marvin Danig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-25 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -86,23 +86,24 @@ files:
86
86
  - _includes/icon-github.svg
87
87
  - _includes/icon-twitter.html
88
88
  - _includes/icon-twitter.svg
89
+ - _includes/search.html
89
90
  - _layouts/default.html
90
91
  - _layouts/home.html
91
92
  - _layouts/page.html
92
93
  - _layouts/post.html
93
94
  - _sass/bubblin-jekyll.scss
94
- - _sass/scss/_base.scss
95
95
  - _sass/scss/_content.scss
96
96
  - _sass/scss/_footer.scss
97
97
  - _sass/scss/_header.scss
98
- - _sass/scss/_layout.scss
99
98
  - _sass/scss/_reusable.scss
100
99
  - _sass/scss/_syntax-highlighting.scss
101
100
  - assets/images/favicon.ico
102
101
  - assets/images/heart.svg
103
102
  - assets/images/logo.png
104
103
  - assets/images/logo.svg
104
+ - assets/images/search.svg
105
105
  - assets/images/usa.svg
106
+ - assets/js/search.js
106
107
  - assets/main.scss
107
108
  homepage: https://github.com/marvindanig/bubblin-jekyll.git
108
109
  licenses:
@@ -1,245 +0,0 @@
1
- /**
2
- * Reset some basic elements
3
- */
4
- body, h1, h2, h3, h4, h5, h6,
5
- p, blockquote, pre, hr,
6
- dl, dd, ol, ul, figure {
7
- margin: 0;
8
- padding: 0;
9
- }
10
-
11
-
12
-
13
- /**
14
- * Basic styling
15
- */
16
- body {
17
- font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
18
- color: $text-color;
19
- background-color: $background-color;
20
- -webkit-text-size-adjust: 100%;
21
- -webkit-font-feature-settings: "kern" 1;
22
- -moz-font-feature-settings: "kern" 1;
23
- -o-font-feature-settings: "kern" 1;
24
- font-feature-settings: "kern" 1;
25
- font-kerning: normal;
26
- }
27
-
28
-
29
-
30
- /**
31
- * Set `margin-bottom` to maintain vertical rhythm
32
- */
33
- h1, h2, h3, h4, h5, h6,
34
- p, blockquote, pre,
35
- ul, ol, dl, figure,
36
- %vertical-rhythm {
37
- margin-bottom: $spacing-unit / 2;
38
- }
39
-
40
-
41
-
42
- /**
43
- * Images
44
- */
45
- img {
46
- max-width: 100%;
47
- vertical-align: middle;
48
- }
49
-
50
-
51
-
52
- /**
53
- * Figures
54
- */
55
- figure > img {
56
- display: block;
57
- }
58
-
59
- figcaption {
60
- font-size: $small-font-size;
61
- }
62
-
63
-
64
-
65
- /**
66
- * Lists
67
- */
68
- ul, ol {
69
- margin-left: $spacing-unit;
70
- }
71
-
72
- li {
73
- > ul,
74
- > ol {
75
- margin-bottom: 0;
76
- }
77
- }
78
-
79
-
80
-
81
- /**
82
- * Headings
83
- */
84
- h1, h2, h3, h4, h5, h6 {
85
- font-weight: $base-font-weight;
86
- }
87
-
88
-
89
-
90
- /**
91
- * Links
92
- */
93
- a {
94
- color: $brand-color;
95
- text-decoration: none;
96
-
97
- &:visited {
98
- color: darken($brand-color, 15%);
99
- }
100
-
101
- &:hover {
102
- color: $text-color;
103
- text-decoration: none;
104
- }
105
-
106
- .social-media-list &:hover {
107
- text-decoration: none;
108
-
109
- .username {
110
- text-decoration: none;
111
- }
112
- }
113
- }
114
-
115
-
116
- /**
117
- * Blockquotes
118
- */
119
- blockquote {
120
- color: $grey-color;
121
- border-left: 4px solid $grey-color-light;
122
- padding-left: $spacing-unit / 2;
123
- @include relative-font-size(1.125);
124
- letter-spacing: -1px;
125
- font-style: italic;
126
-
127
- > :last-child {
128
- margin-bottom: 0;
129
- }
130
- }
131
-
132
-
133
-
134
- /**
135
- * Code formatting
136
- */
137
- pre,
138
- code {
139
- @include relative-font-size(0.9375);
140
- border: 1px solid $grey-color-light;
141
- border-radius: 3px;
142
- background-color: #eef;
143
- }
144
-
145
- code {
146
- padding: 1px 5px;
147
- }
148
-
149
- pre {
150
- padding: 8px 12px;
151
- overflow-x: auto;
152
-
153
- > code {
154
- border: 0;
155
- padding-right: 0;
156
- padding-left: 0;
157
- }
158
- }
159
-
160
-
161
-
162
- /**
163
- * Wrapper
164
- */
165
- .wrapper {
166
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
167
- max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
168
- margin-right: auto;
169
- margin-left: auto;
170
- padding-right: $spacing-unit;
171
- padding-left: $spacing-unit;
172
- @extend %clearfix;
173
-
174
- @include media-query($on-laptop) {
175
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
176
- max-width: calc(#{$content-width} - (#{$spacing-unit}));
177
- padding-right: $spacing-unit / 2;
178
- padding-left: $spacing-unit / 2;
179
- }
180
- }
181
-
182
-
183
-
184
- /**
185
- * Clearfix
186
- */
187
- %clearfix:after {
188
- content: "";
189
- display: table;
190
- clear: both;
191
- }
192
-
193
-
194
-
195
- /**
196
- * Icons
197
- */
198
- .icon > svg {
199
- display: inline-block;
200
- vertical-align: middle;
201
-
202
- path {
203
- fill: $grey-color;
204
- }
205
- }
206
-
207
- .social-media-list {
208
- .icon {
209
- padding-right: 5px;
210
- }
211
-
212
- li + li {
213
- padding-top: 5px;
214
- }
215
- }
216
-
217
-
218
-
219
- /**
220
- * Tables
221
- */
222
- table {
223
- margin-bottom: $spacing-unit;
224
- width: 100%;
225
- text-align: $table-text-align;
226
- color: lighten($text-color, 18%);
227
- border-collapse: collapse;
228
- border: 1px solid $grey-color-light;
229
- tr {
230
- &:nth-child(even) {
231
- background-color: lighten($grey-color-light, 6%);
232
- }
233
- }
234
- th, td {
235
- padding: ($spacing-unit / 3) ($spacing-unit / 2);
236
- }
237
- th {
238
- background-color: lighten($grey-color-light, 3%);
239
- border: 1px solid darken($grey-color-light, 4%);
240
- border-bottom-color: darken($grey-color-light, 12%);
241
- }
242
- td {
243
- border: 1px solid $grey-color-light;
244
- }
245
- }
@@ -1,250 +0,0 @@
1
- /**
2
- * Site header
3
- */
4
- .site-header {
5
- border-top: 5px solid $grey-color-dark;
6
- border-bottom: 1px solid $grey-color-light;
7
- min-height: $spacing-unit * 1.865;
8
-
9
- // Positioning context for the mobile navigation icon
10
- position: relative;
11
- }
12
-
13
- .site-title {
14
- @include relative-font-size(1.625);
15
- font-weight: 300;
16
- line-height: $base-line-height * $base-font-size * 2.25;
17
- letter-spacing: -1px;
18
- margin-bottom: 0;
19
- float: left;
20
-
21
- &,
22
- &:visited {
23
- color: $grey-color-dark;
24
- }
25
- }
26
-
27
- .site-nav {
28
- float: right;
29
- line-height: $base-line-height * $base-font-size * 2.25;
30
-
31
- .nav-trigger {
32
- display: none;
33
- }
34
-
35
- .menu-icon {
36
- display: none;
37
- }
38
-
39
- .page-link {
40
- color: $text-color;
41
- line-height: $base-line-height;
42
-
43
- // Gaps between nav items, but not on the last one
44
- &:not(:last-child) {
45
- margin-right: 20px;
46
- }
47
- }
48
-
49
- @include media-query($on-palm) {
50
- position: absolute;
51
- top: 9px;
52
- right: $spacing-unit / 2;
53
- background-color: $background-color;
54
- border: 1px solid $grey-color-light;
55
- border-radius: 5px;
56
- text-align: right;
57
-
58
- label[for="nav-trigger"] {
59
- display: block;
60
- float: right;
61
- width: 36px;
62
- height: 36px;
63
- z-index: 2;
64
- cursor: pointer;
65
- }
66
-
67
- .menu-icon {
68
- display: block;
69
- float: right;
70
- width: 36px;
71
- height: 26px;
72
- line-height: 0;
73
- padding-top: 10px;
74
- text-align: center;
75
-
76
- > svg path {
77
- fill: $grey-color-dark;
78
- }
79
- }
80
-
81
- input ~ .trigger {
82
- clear: both;
83
- display: none;
84
- }
85
-
86
- input:checked ~ .trigger {
87
- display: block;
88
- padding-bottom: 5px;
89
- }
90
-
91
- .page-link {
92
- display: block;
93
- padding: 5px 10px;
94
-
95
- &:not(:last-child) {
96
- margin-right: 0;
97
- }
98
- margin-left: 20px;
99
- }
100
- }
101
- }
102
-
103
-
104
-
105
- /**
106
- * Site footer
107
- */
108
- .site-footer {
109
- border-top: 1px solid $grey-color-light;
110
- padding: $spacing-unit 0;
111
- }
112
-
113
- .footer-heading {
114
- @include relative-font-size(1.125);
115
- margin-bottom: $spacing-unit / 2;
116
- }
117
-
118
- .contact-list,
119
- .social-media-list {
120
- list-style: none;
121
- margin-left: 0;
122
- }
123
-
124
- .footer-col-wrapper {
125
- @include relative-font-size(0.9375);
126
- color: $grey-color;
127
- margin-left: -$spacing-unit / 2;
128
- @extend %clearfix;
129
- }
130
-
131
- .footer-col {
132
- float: left;
133
- margin-bottom: $spacing-unit / 2;
134
- padding-left: $spacing-unit / 2;
135
- }
136
-
137
- .footer-col-1 {
138
- width: -webkit-calc(35% - (#{$spacing-unit} / 2));
139
- width: calc(35% - (#{$spacing-unit} / 2));
140
- }
141
-
142
- .footer-col-2 {
143
- width: -webkit-calc(20% - (#{$spacing-unit} / 2));
144
- width: calc(20% - (#{$spacing-unit} / 2));
145
- }
146
-
147
- .footer-col-3 {
148
- width: -webkit-calc(45% - (#{$spacing-unit} / 2));
149
- width: calc(45% - (#{$spacing-unit} / 2));
150
- }
151
-
152
- @include media-query($on-laptop) {
153
- .footer-col-1,
154
- .footer-col-2 {
155
- width: -webkit-calc(50% - (#{$spacing-unit} / 2));
156
- width: calc(50% - (#{$spacing-unit} / 2));
157
- }
158
-
159
- .footer-col-3 {
160
- width: -webkit-calc(100% - (#{$spacing-unit} / 2));
161
- width: calc(100% - (#{$spacing-unit} / 2));
162
- }
163
- }
164
-
165
- @include media-query($on-palm) {
166
- .footer-col {
167
- float: none;
168
- width: -webkit-calc(100% - (#{$spacing-unit} / 2));
169
- width: calc(100% - (#{$spacing-unit} / 2));
170
- }
171
- }
172
-
173
-
174
-
175
- /**
176
- * Page content
177
- */
178
- .page-content {
179
- padding: $spacing-unit 0;
180
- }
181
-
182
- .page-heading {
183
- @include relative-font-size(1.25);
184
- }
185
-
186
- .post-list {
187
- margin-left: 0;
188
- list-style: none;
189
-
190
- > li {
191
- margin-bottom: $spacing-unit;
192
- }
193
- }
194
-
195
- .post-meta {
196
- font-size: $small-font-size;
197
- color: $grey-color;
198
- }
199
-
200
- .post-link {
201
- display: block;
202
- @include relative-font-size(1.5);
203
- }
204
-
205
-
206
-
207
- /**
208
- * Posts
209
- */
210
- .post-header {
211
- margin-bottom: $spacing-unit;
212
- }
213
-
214
- .post-title {
215
- @include relative-font-size(2.625);
216
- letter-spacing: -1px;
217
- line-height: 1;
218
-
219
- @include media-query($on-laptop) {
220
- @include relative-font-size(2.25);
221
- }
222
- }
223
-
224
- .post-content {
225
- margin-bottom: $spacing-unit;
226
-
227
- h2 {
228
- @include relative-font-size(2);
229
-
230
- @include media-query($on-laptop) {
231
- @include relative-font-size(1.75);
232
- }
233
- }
234
-
235
- h3 {
236
- @include relative-font-size(1.625);
237
-
238
- @include media-query($on-laptop) {
239
- @include relative-font-size(1.375);
240
- }
241
- }
242
-
243
- h4 {
244
- @include relative-font-size(1.25);
245
-
246
- @include media-query($on-laptop) {
247
- @include relative-font-size(1.125);
248
- }
249
- }
250
- }