bookends 0.6.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/README.md +28 -24
- data/Rakefile +7 -3
- data/bin/bookends +5 -0
- data/bookends.gemspec +5 -2
- data/fixtures/dummy-jekyll/README.md +64 -0
- data/fixtures/dummy-jekyll/_config.yml +8 -0
- data/fixtures/dummy-jekyll/_layouts/default.html +118 -0
- data/fixtures/dummy-jekyll/_layouts/post.html +14 -0
- data/fixtures/dummy-jekyll/_sass/_base.scss +478 -0
- data/fixtures/dummy-jekyll/_sass/_google-cse.scss +372 -0
- data/fixtures/dummy-jekyll/_sass/_header.scss +780 -0
- data/fixtures/dummy-jekyll/_sass/_legacy.scss +567 -0
- data/fixtures/dummy-jekyll/_sass/_menu-icon.scss +68 -0
- data/fixtures/dummy-jekyll/_sass/_mixins.scss +12 -0
- data/fixtures/dummy-jekyll/_sass/_search.scss +51 -0
- data/{lib/generators/bookends/install/templates/footer.scss → fixtures/dummy-jekyll/_sass/bookends/_footer.scss} +0 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_background-image.scss +48 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_border-radius.scss +22 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_box-sizing.scss +4 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_hide-text.scss +5 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_hidpi.scss +10 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_linear-gradient.scss +41 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_prefixer.scss +49 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_responsiveness.scss +129 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_retina-image.scss +31 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_size.scss +44 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_transition.scss +34 -0
- data/fixtures/dummy-jekyll/_sass/mixins/_triangle.scss +45 -0
- data/fixtures/dummy-jekyll/app.json +15 -0
- data/fixtures/dummy-jekyll/bin/from-gdoc +3 -0
- data/fixtures/dummy-jekyll/bin/platform-setup +15 -0
- data/fixtures/dummy-jekyll/feed.xml +34 -0
- data/fixtures/dummy-jekyll/index.html +40 -0
- data/fixtures/dummy-jekyll/static.json +3 -0
- data/fixtures/dummy-rails/README.md +9 -0
- data/fixtures/dummy-rails/Rakefile +6 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-book.eot +0 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-book.svg +400 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-book.ttf +0 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-book.woff +0 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-medium.eot +0 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-medium.svg +416 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-medium.ttf +0 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-medium.woff +0 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-regular.eot +0 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-regular.svg +416 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-regular.ttf +0 -0
- data/fixtures/dummy-rails/app/assets/fonts/bentonsans-regular.woff +0 -0
- data/fixtures/dummy-rails/app/assets/images/.keep +0 -0
- data/{lib/generators/bookends/install/templates/footer_images → fixtures/dummy-rails/app/assets/images/bookends/footer}/footer_sprite.png +0 -0
- data/{lib/generators/bookends/install/templates/footer_images → fixtures/dummy-rails/app/assets/images/bookends/footer}/footer_sprite@2x.png +0 -0
- data/{lib/generators/bookends/install/templates/footer_images → fixtures/dummy-rails/app/assets/images/bookends/footer}/salesforce_heroku_gray.png +0 -0
- data/fixtures/dummy-rails/app/assets/javascripts/application.js +15 -0
- data/fixtures/dummy-rails/app/assets/stylesheets/application.css.scss +11 -0
- data/fixtures/dummy-rails/app/controllers/application_controller.rb +5 -0
- data/fixtures/dummy-rails/app/controllers/concerns/.keep +0 -0
- data/fixtures/dummy-rails/app/controllers/pages_controller.rb +5 -0
- data/fixtures/dummy-rails/app/helpers/application_helper.rb +2 -0
- data/fixtures/dummy-rails/app/mailers/.keep +0 -0
- data/fixtures/dummy-rails/app/models/.keep +0 -0
- data/fixtures/dummy-rails/app/models/concerns/.keep +0 -0
- data/fixtures/dummy-rails/app/views/layouts/application.html.erb +16 -0
- data/fixtures/dummy-rails/app/views/pages/home.html.erb +1 -0
- data/fixtures/dummy-rails/bin/bundle +3 -0
- data/fixtures/dummy-rails/bin/rails +4 -0
- data/fixtures/dummy-rails/bin/rake +4 -0
- data/fixtures/dummy-rails/bin/setup +29 -0
- data/fixtures/dummy-rails/config/application.rb +34 -0
- data/fixtures/dummy-rails/config/boot.rb +5 -0
- data/fixtures/dummy-rails/config/database.yml +25 -0
- data/fixtures/dummy-rails/config/environment.rb +5 -0
- data/fixtures/dummy-rails/config/environments/development.rb +41 -0
- data/fixtures/dummy-rails/config/environments/production.rb +79 -0
- data/fixtures/dummy-rails/config/environments/test.rb +42 -0
- data/fixtures/dummy-rails/config/initializers/assets.rb +11 -0
- data/fixtures/dummy-rails/config/initializers/backtrace_silencers.rb +7 -0
- data/fixtures/dummy-rails/config/initializers/cookies_serializer.rb +3 -0
- data/fixtures/dummy-rails/config/initializers/filter_parameter_logging.rb +4 -0
- data/fixtures/dummy-rails/config/initializers/inflections.rb +16 -0
- data/fixtures/dummy-rails/config/initializers/mime_types.rb +4 -0
- data/fixtures/dummy-rails/config/initializers/session_store.rb +3 -0
- data/fixtures/dummy-rails/config/initializers/wrap_parameters.rb +14 -0
- data/fixtures/dummy-rails/config/locales/en.yml +23 -0
- data/fixtures/dummy-rails/config/routes.rb +6 -0
- data/fixtures/dummy-rails/config/secrets.yml +22 -0
- data/fixtures/dummy-rails/config.ru +4 -0
- data/fixtures/dummy-rails/db/development.sqlite3 +0 -0
- data/fixtures/dummy-rails/lib/assets/.keep +0 -0
- data/fixtures/dummy-rails/log/.keep +0 -0
- data/fixtures/dummy-rails/log/development.log +1893 -0
- data/fixtures/dummy-rails/public/404.html +67 -0
- data/fixtures/dummy-rails/public/422.html +67 -0
- data/fixtures/dummy-rails/public/500.html +66 -0
- data/fixtures/dummy-rails/public/favicon.ico +0 -0
- data/lib/bookends/cli.rb +88 -0
- data/lib/bookends/config/framework.rb +24 -0
- data/lib/bookends/config/turbolinks.rb +18 -0
- data/lib/bookends/file_actions.rb +13 -0
- data/lib/bookends/jekyll_handler.rb +21 -0
- data/lib/bookends/rails_handler.rb +30 -0
- data/lib/{generators/bookends/install/templates/footer.html.erb → bookends/templates/footer.html} +18 -18
- data/lib/bookends/templates/footer.scss +403 -0
- data/lib/bookends/templates/footer_images/footer_sprite.png +0 -0
- data/lib/bookends/templates/footer_images/footer_sprite@2x.png +0 -0
- data/lib/bookends/templates/footer_images/salesforce.png +0 -0
- data/lib/bookends/templates/newsletter-init-turbolinks.js +6 -0
- data/lib/bookends/templates/newsletter-init.js +6 -0
- data/lib/{generators/bookends/install → bookends}/templates/newsletter.js +0 -4
- data/lib/bookends/version.rb +1 -1
- data/lib/bookends.rb +1 -1
- metadata +138 -11
- data/lib/generators/bookends/install/install_generator.rb +0 -21
@@ -0,0 +1,567 @@
|
|
1
|
+
* {
|
2
|
+
-webkit-box-sizing: border-box;
|
3
|
+
-moz-box-sizing: border-box;
|
4
|
+
box-sizing: border-box;
|
5
|
+
}
|
6
|
+
html {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
body {
|
11
|
+
font-family: "proxima-nova", "helvetica neue", helvetica, arial;
|
12
|
+
font-size: 16px;
|
13
|
+
line-height: 22px;
|
14
|
+
margin: 0;
|
15
|
+
padding: 0;
|
16
|
+
color: #2d2d2d;
|
17
|
+
}
|
18
|
+
@media (max-width: 1110px) {
|
19
|
+
body {
|
20
|
+
font-size: 14px;
|
21
|
+
line-height: 20px;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
@media (max-width: 1110px) {
|
25
|
+
img, figure {
|
26
|
+
width: auto !important;
|
27
|
+
max-width: 100% !important;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
@media (max-width: 480px) {
|
31
|
+
img, figure {
|
32
|
+
width: auto !important;
|
33
|
+
max-width: 100% !important;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
h1.anchored a, h2.anchored a, h3.anchored a, h4.anchored a, h5.anchored a, h6.anchored a {
|
37
|
+
display: inline-block;
|
38
|
+
text-decoration: none;
|
39
|
+
}
|
40
|
+
h1.anchored a:hover, h2.anchored a:hover, h3.anchored a:hover, h4.anchored a:hover, h5.anchored a:hover, h6.anchored a:hover {
|
41
|
+
color: #6e5baa;
|
42
|
+
background: none;
|
43
|
+
}
|
44
|
+
h2 {
|
45
|
+
color: #6e5baa;
|
46
|
+
font-size: 22px;
|
47
|
+
line-height: 28px;
|
48
|
+
margin: 0;
|
49
|
+
padding: 30px 0 5px 0;
|
50
|
+
}
|
51
|
+
h2.anchored {
|
52
|
+
padding: 0;
|
53
|
+
}
|
54
|
+
h2.anchored a {
|
55
|
+
padding: 30px 0 5px 0;
|
56
|
+
}
|
57
|
+
h3 {
|
58
|
+
color: rgba(110, 91, 170, 0.85);
|
59
|
+
font-size: 17px;
|
60
|
+
line-height: 24px;
|
61
|
+
margin: 0;
|
62
|
+
padding: 20px 0 0 0;
|
63
|
+
}
|
64
|
+
h3.anchored {
|
65
|
+
padding: 0;
|
66
|
+
}
|
67
|
+
h3.anchored a {
|
68
|
+
padding-top: 20px;
|
69
|
+
}
|
70
|
+
h4 {
|
71
|
+
color: rgba(110, 91, 170, 0.7);
|
72
|
+
font-size: 18px;
|
73
|
+
line-height: 24px;
|
74
|
+
margin: 0;
|
75
|
+
padding: 20px 0 0 0;
|
76
|
+
}
|
77
|
+
h4.anchored {
|
78
|
+
padding: 0;
|
79
|
+
}
|
80
|
+
h4.anchored a {
|
81
|
+
padding-top: 20px;
|
82
|
+
}
|
83
|
+
p {
|
84
|
+
margin: 0;
|
85
|
+
padding: 5px 0;
|
86
|
+
}
|
87
|
+
p code {
|
88
|
+
font-family: Menlo, Monaco, monospace;
|
89
|
+
font-size: 13px;
|
90
|
+
padding: 2px 3px;
|
91
|
+
background: #f0f0f0;
|
92
|
+
}
|
93
|
+
p a code {
|
94
|
+
background: none;
|
95
|
+
font-size: 14px;
|
96
|
+
padding: 0;
|
97
|
+
}
|
98
|
+
p.notice {
|
99
|
+
background-color: #fff7d8;
|
100
|
+
border: 1px solid #f5e3c4;
|
101
|
+
color: #7f6b2e;
|
102
|
+
padding: 10px;
|
103
|
+
margin: 10px 0;
|
104
|
+
font-size: 14px;
|
105
|
+
}
|
106
|
+
hr {
|
107
|
+
border: 0;
|
108
|
+
height: 2px;
|
109
|
+
background-color: #eee;
|
110
|
+
}
|
111
|
+
ol, ul {
|
112
|
+
list-style-position: outside;
|
113
|
+
margin: 5px 0 5px 20px;
|
114
|
+
padding: 0;
|
115
|
+
}
|
116
|
+
ol li, ul li {
|
117
|
+
margin: 8px 0 8px 16px;
|
118
|
+
}
|
119
|
+
ul {
|
120
|
+
margin-left: 10px;
|
121
|
+
}
|
122
|
+
pre {
|
123
|
+
font-family: Menlo, Monaco, monospace;
|
124
|
+
-webkit-border-radius: 3px;
|
125
|
+
-moz-border-radius: 3px;
|
126
|
+
-ms-border-radius: 3px;
|
127
|
+
-o-border-radius: 3px;
|
128
|
+
border-radius: 3px;
|
129
|
+
font-size: 14px;
|
130
|
+
line-height: 20px;
|
131
|
+
background-color: #f0f0f0;
|
132
|
+
border: 1px solid #eee;
|
133
|
+
color: #2d2d2d;
|
134
|
+
padding: 10px;
|
135
|
+
margin: 10px 0;
|
136
|
+
overflow-x: scroll;
|
137
|
+
}
|
138
|
+
@media (max-width: 480px) {
|
139
|
+
pre {
|
140
|
+
max-width: 100%}
|
141
|
+
}
|
142
|
+
a {
|
143
|
+
color: #6e5baa;
|
144
|
+
}
|
145
|
+
a.iconic {
|
146
|
+
font-family: heroku;
|
147
|
+
font-weight: normal;
|
148
|
+
font-size: 20px;
|
149
|
+
line-height: 20px;
|
150
|
+
font-weight: normal;
|
151
|
+
-webkit-font-feature-settings: "liga", "dlig";
|
152
|
+
-moz-font-feature-settings: "liga=1, dlig=1";
|
153
|
+
-moz-font-feature-settings: "liga", "dlig";
|
154
|
+
-ms-font-feature-settings: "liga", "dlig";
|
155
|
+
-o-font-feature-settings: "liga", "dlig";
|
156
|
+
font-feature-settings: "liga", "dlig";
|
157
|
+
text-decoration: none;
|
158
|
+
text-rendering: optimizeLegibility;
|
159
|
+
}
|
160
|
+
.hidden {
|
161
|
+
display: none;
|
162
|
+
}
|
163
|
+
.weak, .faint {
|
164
|
+
-webkit-transition: all 0.3s;
|
165
|
+
-moz-transition: all 0.3s;
|
166
|
+
transition: all 0.3s;
|
167
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
|
168
|
+
opacity: 0.5;
|
169
|
+
}
|
170
|
+
.weak:hover, .faint:hover {
|
171
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
172
|
+
opacity: 1;
|
173
|
+
}
|
174
|
+
iframe {
|
175
|
+
margin: 20px 0;
|
176
|
+
max-width: 100%}
|
177
|
+
form.standard {
|
178
|
+
max-width: 610px;
|
179
|
+
}
|
180
|
+
form.standard .input {
|
181
|
+
margin: 20px 0;
|
182
|
+
}
|
183
|
+
form.standard .input .label_and_hint {
|
184
|
+
display: block;
|
185
|
+
}
|
186
|
+
form.standard .input .label_and_hint .hint {
|
187
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
|
188
|
+
opacity: 0.5;
|
189
|
+
padding: 0 5px;
|
190
|
+
}
|
191
|
+
form.standard .input input, form.standard .input textarea {
|
192
|
+
width: 100%;
|
193
|
+
font-family: "proxima-nova", "helvetica neue", helvetica, arial;
|
194
|
+
font-size: 16px;
|
195
|
+
line-height: 22px;
|
196
|
+
}
|
197
|
+
form.standard .upload-hint {
|
198
|
+
background: #dff0d8;
|
199
|
+
display: none;
|
200
|
+
color: #777;
|
201
|
+
font-size: 13px;
|
202
|
+
padding: 5px 8px;
|
203
|
+
}
|
204
|
+
form.standard textarea.dragover {
|
205
|
+
background: #dff0d8 url(/assets/upload-text-6552c37ccd9028f1f12c99951cf8fed6.png) no-repeat center center;
|
206
|
+
border: 10px dashed #46a546;
|
207
|
+
color: transparent;
|
208
|
+
}
|
209
|
+
form.standard textarea.uploading {
|
210
|
+
background: #dff0d8 url(/assets/upload-spinner-d60d2a5055578c53e8eb2560088010a2.gif) no-repeat center center;
|
211
|
+
border: 10px dashed #46a546;
|
212
|
+
color: transparent;
|
213
|
+
}
|
214
|
+
.call_to_action {
|
215
|
+
background-color: rgba(110, 91, 170, 0.3);
|
216
|
+
border: 1px solid rgba(110, 91, 170, 0.4);
|
217
|
+
color: #6e5baa;
|
218
|
+
padding: 10px;
|
219
|
+
margin: 10px 0;
|
220
|
+
-webkit-border-radius: 3px;
|
221
|
+
-moz-border-radius: 3px;
|
222
|
+
-ms-border-radius: 3px;
|
223
|
+
-o-border-radius: 3px;
|
224
|
+
border-radius: 3px;
|
225
|
+
}
|
226
|
+
.simple_signup {
|
227
|
+
display: block;
|
228
|
+
float: none;
|
229
|
+
overflow: hidden;
|
230
|
+
}
|
231
|
+
.simple_signup input {
|
232
|
+
padding: 4px;
|
233
|
+
font-family: "proxima-nova", "helvetica neue", helvetica, arial;
|
234
|
+
font-size: 16px;
|
235
|
+
line-height: 22px;
|
236
|
+
}
|
237
|
+
.simple_signup input[type="text"] {
|
238
|
+
display: block;
|
239
|
+
float: left;
|
240
|
+
width: 460px;
|
241
|
+
}
|
242
|
+
@media (max-width: 1110px) {
|
243
|
+
.simple_signup input[type="text"] {
|
244
|
+
width: 100%}
|
245
|
+
}
|
246
|
+
.simple_signup input[type="submit"], .simple_signup input.button {
|
247
|
+
display: block;
|
248
|
+
float: right;
|
249
|
+
border: none;
|
250
|
+
padding: 5px 15px;
|
251
|
+
-webkit-border-radius: 3px;
|
252
|
+
-moz-border-radius: 3px;
|
253
|
+
-ms-border-radius: 3px;
|
254
|
+
-o-border-radius: 3px;
|
255
|
+
border-radius: 3px;
|
256
|
+
background: #6e5baa;
|
257
|
+
color: #fff;
|
258
|
+
cursor: pointer;
|
259
|
+
-webkit-appearance: none;
|
260
|
+
}
|
261
|
+
.simple_signup input[type="submit"]:hover, .simple_signup input.button:hover {
|
262
|
+
background-color: #58488a;
|
263
|
+
}
|
264
|
+
@media (max-width: 1110px) {
|
265
|
+
.simple_signup input[type="submit"], .simple_signup input.button {
|
266
|
+
margin-top: 10px;
|
267
|
+
width: 100%}
|
268
|
+
}
|
269
|
+
blockquote {
|
270
|
+
border-left: 5px solid #eee;
|
271
|
+
margin: 15px 0;
|
272
|
+
padding: 0px 15px;
|
273
|
+
}
|
274
|
+
dd {
|
275
|
+
padding: 5px 0;
|
276
|
+
margin: 0;
|
277
|
+
}
|
278
|
+
@media (max-width: 1110px) {
|
279
|
+
dd {
|
280
|
+
padding: 5px 15px;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
table {
|
284
|
+
font-size: 15px;
|
285
|
+
margin: 1em 0;
|
286
|
+
width: 100%;
|
287
|
+
border-collapse: collapse;
|
288
|
+
}
|
289
|
+
table tr:hover {
|
290
|
+
background-color: #f0f0f0;
|
291
|
+
}
|
292
|
+
table th, table td {
|
293
|
+
border: 1px solid lightgray;
|
294
|
+
}
|
295
|
+
table th {
|
296
|
+
background: #f0f0f0;
|
297
|
+
text-align: left;
|
298
|
+
padding: 2px 5px;
|
299
|
+
}
|
300
|
+
table td {
|
301
|
+
padding: 5px 5px;
|
302
|
+
}
|
303
|
+
table td a {
|
304
|
+
text-decoration: none;
|
305
|
+
}
|
306
|
+
table td a.iconic {
|
307
|
+
line-height: 22px;
|
308
|
+
}
|
309
|
+
ol.horizontal {
|
310
|
+
list-style: none;
|
311
|
+
margin: 0;
|
312
|
+
padding: 0;
|
313
|
+
}
|
314
|
+
ol.horizontal>li {
|
315
|
+
display: inline-block;
|
316
|
+
border-right: 1px solid #eee;
|
317
|
+
padding: 5px 10px;
|
318
|
+
margin: 0;
|
319
|
+
}
|
320
|
+
ol.horizontal>li:first-child {
|
321
|
+
border-left: none;
|
322
|
+
padding-left: 0;
|
323
|
+
}
|
324
|
+
ol.horizontal>li:last-child {
|
325
|
+
border-right: none;
|
326
|
+
padding-right: 0;
|
327
|
+
}
|
328
|
+
#fuji {
|
329
|
+
border-top: 6px solid #6e5baa;
|
330
|
+
}
|
331
|
+
#fuji .fuji-container {
|
332
|
+
padding-left: 0;
|
333
|
+
padding-right: 0;
|
334
|
+
}
|
335
|
+
@media (max-width: 1110px) {
|
336
|
+
#fuji .fuji-container {
|
337
|
+
max-width: 610px;
|
338
|
+
padding-left: 15px;
|
339
|
+
padding-right: 15px;
|
340
|
+
}
|
341
|
+
}
|
342
|
+
body>.content {
|
343
|
+
-webkit-box-sizing: border-box;
|
344
|
+
-moz-box-sizing: border-box;
|
345
|
+
box-sizing: border-box;
|
346
|
+
*zoom: 1;
|
347
|
+
margin: 0 auto;
|
348
|
+
max-width: 66.25em;
|
349
|
+
width: 87.64709%}
|
350
|
+
body>.content:before, body>.content:after {
|
351
|
+
content: " ";
|
352
|
+
display: table;
|
353
|
+
}
|
354
|
+
body>.content:after {
|
355
|
+
clear: both;
|
356
|
+
}
|
357
|
+
@media (max-width: 1110px) {
|
358
|
+
body>.content {
|
359
|
+
max-width: 610px;
|
360
|
+
}
|
361
|
+
}
|
362
|
+
article {
|
363
|
+
display: block;
|
364
|
+
float: none;
|
365
|
+
overflow: hidden;
|
366
|
+
position: relative;
|
367
|
+
margin: 40px 0 100px 0;
|
368
|
+
padding: 0;
|
369
|
+
}
|
370
|
+
@media (max-width: 1110px) {
|
371
|
+
article {
|
372
|
+
margin: 10px 0 60px 0;
|
373
|
+
}
|
374
|
+
}
|
375
|
+
article:first-child {
|
376
|
+
margin-top: 80px;
|
377
|
+
}
|
378
|
+
article:last-of-type {
|
379
|
+
margin-bottom: 50px;
|
380
|
+
}
|
381
|
+
article hgroup {
|
382
|
+
-webkit-box-sizing: border-box;
|
383
|
+
-moz-box-sizing: border-box;
|
384
|
+
box-sizing: border-box;
|
385
|
+
display: block;
|
386
|
+
float: left;
|
387
|
+
margin-right: 6.17645%;
|
388
|
+
margin-bottom: 6.17645%;
|
389
|
+
width: 38.06374%;
|
390
|
+
vertical-align: top;
|
391
|
+
}
|
392
|
+
article hgroup:last-child {
|
393
|
+
margin-bottom: 0;
|
394
|
+
}
|
395
|
+
@media (max-width: 1110px) {
|
396
|
+
article hgroup {
|
397
|
+
-webkit-box-sizing: border-box;
|
398
|
+
-moz-box-sizing: border-box;
|
399
|
+
box-sizing: border-box;
|
400
|
+
display: block;
|
401
|
+
float: left;
|
402
|
+
margin-right: 6.17645%;
|
403
|
+
margin-bottom: 6.17645%;
|
404
|
+
width: 100%;
|
405
|
+
vertical-align: top;
|
406
|
+
float: right;
|
407
|
+
margin-right: 0;
|
408
|
+
position: relative;
|
409
|
+
max-width: 100%;
|
410
|
+
margin: 5px 0 10px 0;
|
411
|
+
}
|
412
|
+
article hgroup:last-child {
|
413
|
+
margin-bottom: 0;
|
414
|
+
}
|
415
|
+
}
|
416
|
+
article hgroup h1 {
|
417
|
+
margin: 0;
|
418
|
+
padding: 0;
|
419
|
+
font-size: 32px;
|
420
|
+
line-height: 38px;
|
421
|
+
font-weight: normal;
|
422
|
+
color: #6e5baa;
|
423
|
+
}
|
424
|
+
article hgroup h1 a {
|
425
|
+
color: #6e5baa;
|
426
|
+
text-decoration: none;
|
427
|
+
}
|
428
|
+
article hgroup h1 a:hover {
|
429
|
+
text-decoration: underline;
|
430
|
+
}
|
431
|
+
article hgroup .byline {
|
432
|
+
font-size: 16px;
|
433
|
+
line-height: 22px;
|
434
|
+
font-weight: normal;
|
435
|
+
color: #999;
|
436
|
+
margin: 0;
|
437
|
+
padding: 10px 0 0 0;
|
438
|
+
}
|
439
|
+
article hgroup .byline a {
|
440
|
+
color: #999;
|
441
|
+
text-decoration: underline;
|
442
|
+
}
|
443
|
+
article hgroup .byline a:hover {
|
444
|
+
color: #6e5baa;
|
445
|
+
text-decoration: underline;
|
446
|
+
}
|
447
|
+
article .post_body {
|
448
|
+
-webkit-box-sizing: border-box;
|
449
|
+
-moz-box-sizing: border-box;
|
450
|
+
box-sizing: border-box;
|
451
|
+
display: block;
|
452
|
+
float: left;
|
453
|
+
margin-right: 6.17645%;
|
454
|
+
margin-bottom: 6.17645%;
|
455
|
+
width: 55.75981%;
|
456
|
+
vertical-align: top;
|
457
|
+
float: right;
|
458
|
+
margin-right: 0;
|
459
|
+
}
|
460
|
+
article .post_body:last-child {
|
461
|
+
margin-bottom: 0;
|
462
|
+
}
|
463
|
+
@media (max-width: 1110px) {
|
464
|
+
article .post_body {
|
465
|
+
-webkit-box-sizing: border-box;
|
466
|
+
-moz-box-sizing: border-box;
|
467
|
+
box-sizing: border-box;
|
468
|
+
display: block;
|
469
|
+
float: left;
|
470
|
+
margin-right: 6.17645%;
|
471
|
+
margin-bottom: 6.17645%;
|
472
|
+
width: 100%;
|
473
|
+
vertical-align: top;
|
474
|
+
float: right;
|
475
|
+
margin-right: 0;
|
476
|
+
}
|
477
|
+
article .post_body:last-child {
|
478
|
+
margin-bottom: 0;
|
479
|
+
}
|
480
|
+
}
|
481
|
+
article .post_body img {
|
482
|
+
max-width: 100%}
|
483
|
+
article .post_body img.stretchy {
|
484
|
+
width: 100%}
|
485
|
+
article .post_body .meta, article .post_body a.read_more {
|
486
|
+
margin-top: 20px;
|
487
|
+
}
|
488
|
+
ol.addon_matrix {
|
489
|
+
display: block;
|
490
|
+
float: none;
|
491
|
+
overflow: hidden;
|
492
|
+
list-style: none;
|
493
|
+
margin: 10px 0;
|
494
|
+
padding: 0;
|
495
|
+
}
|
496
|
+
ol.addon_matrix>li {
|
497
|
+
display: block;
|
498
|
+
float: left;
|
499
|
+
margin: 10px;
|
500
|
+
padding: 0;
|
501
|
+
}
|
502
|
+
ol.addon_matrix>li a {
|
503
|
+
-webkit-transition: all 0.3s;
|
504
|
+
-moz-transition: all 0.3s;
|
505
|
+
transition: all 0.3s;
|
506
|
+
display: block;
|
507
|
+
height: 140px;
|
508
|
+
width: 140px;
|
509
|
+
padding: 15px 0 0 0;
|
510
|
+
text-align: center;
|
511
|
+
background-repeat: no-repeat;
|
512
|
+
background-position: center 15px;
|
513
|
+
text-decoration: none;
|
514
|
+
}
|
515
|
+
@media (max-width: 1110px) {
|
516
|
+
ol.addon_matrix>li a {
|
517
|
+
width: 180px;
|
518
|
+
}
|
519
|
+
}
|
520
|
+
ol.addon_matrix>li a span {
|
521
|
+
display: block;
|
522
|
+
margin: 10px 0 0 0;
|
523
|
+
text-align: center;
|
524
|
+
}
|
525
|
+
ol.addon_matrix>li a:hover {
|
526
|
+
-webkit-border-radius: 6px;
|
527
|
+
-moz-border-radius: 6px;
|
528
|
+
-ms-border-radius: 6px;
|
529
|
+
-o-border-radius: 6px;
|
530
|
+
border-radius: 6px;
|
531
|
+
background-color: #f0f0f0;
|
532
|
+
color: #2d2d2d;
|
533
|
+
text-decoration: none;
|
534
|
+
}
|
535
|
+
.pagination {
|
536
|
+
text-align: center;
|
537
|
+
position: relative;
|
538
|
+
margin: 20px auto 1em auto;
|
539
|
+
}
|
540
|
+
@media (max-width: 1110px) {
|
541
|
+
.pagination {
|
542
|
+
padding-left: 0;
|
543
|
+
line-height: 40px;
|
544
|
+
}
|
545
|
+
}
|
546
|
+
.pagination a, .pagination em {
|
547
|
+
padding: 4px 8px;
|
548
|
+
text-decoration: none;
|
549
|
+
font-style: normal;
|
550
|
+
}
|
551
|
+
.pagination a:hover, .pagination em:hover {
|
552
|
+
text-decoration: underline;
|
553
|
+
}
|
554
|
+
.pagination span.disabled {
|
555
|
+
color: #999;
|
556
|
+
}
|
557
|
+
#feeds {
|
558
|
+
margin-bottom: 80px;
|
559
|
+
line-height: 20px;
|
560
|
+
text-align: center;
|
561
|
+
color: #999;
|
562
|
+
}
|
563
|
+
.map {
|
564
|
+
width: 100%;
|
565
|
+
height: 300px;
|
566
|
+
margin: 20px 0;
|
567
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
.mobile-nav {
|
2
|
+
color: transparent;
|
3
|
+
font: 0/0 a;
|
4
|
+
text-shadow: none;
|
5
|
+
width: 30px;
|
6
|
+
height: 20px;
|
7
|
+
position: relative;
|
8
|
+
-webkit-transform: rotate(0deg);
|
9
|
+
-moz-transform: rotate(0deg);
|
10
|
+
-ms-transform: rotate(0deg);
|
11
|
+
-o-transform: rotate(0deg);
|
12
|
+
transform: rotate(0deg);
|
13
|
+
-webkit-transition: 0.3s ease-in-out;
|
14
|
+
-moz-transition: 0.3s ease-in-out;
|
15
|
+
transition: 0.3s ease-in-out;
|
16
|
+
cursor: pointer;
|
17
|
+
}
|
18
|
+
.mobile-nav span {
|
19
|
+
display: block;
|
20
|
+
position: absolute;
|
21
|
+
height: 2px;
|
22
|
+
width: 100%;
|
23
|
+
background: #C7BFDF;
|
24
|
+
border-radius: 9px;
|
25
|
+
opacity: 1;
|
26
|
+
left: 0;
|
27
|
+
-webkit-transform: rotate(0deg);
|
28
|
+
-moz-transform: rotate(0deg);
|
29
|
+
-ms-transform: rotate(0deg);
|
30
|
+
-o-transform: rotate(0deg);
|
31
|
+
transform: rotate(0deg);
|
32
|
+
-webkit-transition: 0.15s ease-in-out;
|
33
|
+
-moz-transition: 0.15s ease-in-out;
|
34
|
+
transition: 0.15s ease-in-out;
|
35
|
+
}
|
36
|
+
.mobile-nav span:nth-child(1) {
|
37
|
+
top: 0px;
|
38
|
+
}
|
39
|
+
.mobile-nav span:nth-child(2),
|
40
|
+
.mobile-nav span:nth-child(3) {
|
41
|
+
top: 8px;
|
42
|
+
}
|
43
|
+
.mobile-nav span:nth-child(4) {
|
44
|
+
top: 16px;
|
45
|
+
}
|
46
|
+
.active .mobile-nav span:nth-child(1) {
|
47
|
+
top: 6px;
|
48
|
+
width: 0%;
|
49
|
+
left: 50%}
|
50
|
+
.active .mobile-nav span:nth-child(2) {
|
51
|
+
-webkit-transform: rotate(45deg);
|
52
|
+
-moz-transform: rotate(45deg);
|
53
|
+
-ms-transform: rotate(45deg);
|
54
|
+
-o-transform: rotate(45deg);
|
55
|
+
transform: rotate(45deg);
|
56
|
+
}
|
57
|
+
.active .mobile-nav span:nth-child(3) {
|
58
|
+
-webkit-transform: rotate(-45deg);
|
59
|
+
-moz-transform: rotate(-45deg);
|
60
|
+
-ms-transform: rotate(-45deg);
|
61
|
+
-o-transform: rotate(-45deg);
|
62
|
+
transform: rotate(-45deg);
|
63
|
+
}
|
64
|
+
.active .mobile-nav span:nth-child(4) {
|
65
|
+
top: 6px;
|
66
|
+
width: 0%;
|
67
|
+
left: 50%;
|
68
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@import 'mixins/responsiveness';
|
2
|
+
@import 'mixins/background-image';
|
3
|
+
@import 'mixins/box-sizing';
|
4
|
+
@import 'mixins/prefixer';
|
5
|
+
@import 'mixins/size';
|
6
|
+
@import 'mixins/transition';
|
7
|
+
@import 'mixins/border-radius';
|
8
|
+
@import 'mixins/linear-gradient';
|
9
|
+
@import 'mixins/hide-text';
|
10
|
+
@import 'mixins/retina-image';
|
11
|
+
@import 'mixins/hidpi';
|
12
|
+
@import 'mixins/triangle';
|
@@ -0,0 +1,51 @@
|
|
1
|
+
@import 'google-cse';
|
2
|
+
|
3
|
+
$search-icon-size: 14px;
|
4
|
+
|
5
|
+
.site-search {
|
6
|
+
@include box-sizing(border-box);
|
7
|
+
|
8
|
+
input[type="search"],
|
9
|
+
input[type="text"] {
|
10
|
+
position: relative;
|
11
|
+
width: 100%;
|
12
|
+
font-size: 14px;
|
13
|
+
padding: 7px $search-icon-size*2 7px 10px;
|
14
|
+
border: 1px solid #fff;
|
15
|
+
border-radius: $border-radius;
|
16
|
+
@include box-sizing(border-box);
|
17
|
+
|
18
|
+
&:focus {
|
19
|
+
outline: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
}
|
23
|
+
|
24
|
+
.gsc-input input.gsc-input {
|
25
|
+
padding: 7px $search-icon-size*2 7px 10px !important;
|
26
|
+
}
|
27
|
+
|
28
|
+
.gsc-search-button {
|
29
|
+
&:after {
|
30
|
+
content: "";
|
31
|
+
display: block;
|
32
|
+
position: absolute;
|
33
|
+
right: 8px;
|
34
|
+
top: 8px;
|
35
|
+
width: $search-icon-size;
|
36
|
+
height: $search-icon-size;
|
37
|
+
@include retina-image(components/search-sprite, 28px 28px);
|
38
|
+
background-repeat: no-repeat;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
}
|
43
|
+
|
44
|
+
[class*="icon-search"],
|
45
|
+
[class^="icon-search-"] {
|
46
|
+
display: inline-block;
|
47
|
+
width: $search-icon-size;
|
48
|
+
height: $search-icon-size;
|
49
|
+
@include retina-image(components/search-sprite, 28px 28px);
|
50
|
+
background-repeat: no-repeat;
|
51
|
+
}
|
File without changes
|