creek-jekyll-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +81 -0
- data/_config.yml +306 -0
- data/_data/README.md +3 -0
- data/_data/navigation/docs.yml +56 -0
- data/_data/navigation/main.yml +12 -0
- data/_data/navigation.yml +68 -0
- data/_data/ui-text.yml +2024 -0
- data/_includes/analytics-providers/custom.html +3 -0
- data/_includes/analytics-providers/google-gtag.html +9 -0
- data/_includes/analytics-providers/google-universal.html +7 -0
- data/_includes/analytics-providers/google.html +14 -0
- data/_includes/analytics.html +14 -0
- data/_includes/archive-single.html +30 -0
- data/_includes/author-profile-custom-links.html +7 -0
- data/_includes/author-profile.html +246 -0
- data/_includes/breadcrumbs.html +40 -0
- data/_includes/browser-upgrade.html +2 -0
- data/_includes/category-list.html +19 -0
- data/_includes/comment.html +22 -0
- data/_includes/comments-providers/custom.html +3 -0
- data/_includes/comments-providers/custom_scripts.html +3 -0
- data/_includes/comments-providers/discourse.html +13 -0
- data/_includes/comments-providers/disqus.html +15 -0
- data/_includes/comments-providers/facebook.html +8 -0
- data/_includes/comments-providers/giscus.html +24 -0
- data/_includes/comments-providers/scripts.html +20 -0
- data/_includes/comments-providers/staticman.html +40 -0
- data/_includes/comments-providers/staticman_v2.html +40 -0
- data/_includes/comments-providers/utterances.html +21 -0
- data/_includes/comments.html +180 -0
- data/_includes/documents-collection.html +15 -0
- data/_includes/feature_row +41 -0
- data/_includes/figure +9 -0
- data/_includes/footer/custom.html +3 -0
- data/_includes/footer.html +21 -0
- data/_includes/gallery +35 -0
- data/_includes/group-by-array +47 -0
- data/_includes/head/custom.html +15 -0
- data/_includes/head.html +25 -0
- data/_includes/masthead.html +35 -0
- data/_includes/nav_list +26 -0
- data/_includes/page__date.html +6 -0
- data/_includes/page__hero.html +55 -0
- data/_includes/page__hero_video.html +2 -0
- data/_includes/page__meta.html +31 -0
- data/_includes/page__taxonomy.html +7 -0
- data/_includes/paginator.html +69 -0
- data/_includes/post_pagination.html +14 -0
- data/_includes/posts-category.html +5 -0
- data/_includes/posts-tag.html +5 -0
- data/_includes/scripts.html +28 -0
- data/_includes/search/algolia-search-scripts.html +62 -0
- data/_includes/search/google-search-scripts.html +30 -0
- data/_includes/search/lunr-search-scripts.html +10 -0
- data/_includes/search/search_form.html +26 -0
- data/_includes/seo.html +158 -0
- data/_includes/sidebar.html +19 -0
- data/_includes/skip-links.html +7 -0
- data/_includes/social-share.html +11 -0
- data/_includes/tag-list.html +19 -0
- data/_includes/toc +7 -0
- data/_includes/toc.html +182 -0
- data/_includes/video +24 -0
- data/_layouts/archive-taxonomy.html +29 -0
- data/_layouts/archive.html +26 -0
- data/_layouts/categories.html +43 -0
- data/_layouts/category.html +10 -0
- data/_layouts/collection.html +10 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +41 -0
- data/_layouts/home.html +22 -0
- data/_layouts/posts.html +30 -0
- data/_layouts/search.html +42 -0
- data/_layouts/single.html +95 -0
- data/_layouts/splash.html +22 -0
- data/_layouts/tag.html +10 -0
- data/_layouts/tags.html +43 -0
- data/_pages/404.html +26 -0
- data/_sass/minimal-mistakes/_animations.scss +21 -0
- data/_sass/minimal-mistakes/_archive.scss +463 -0
- data/_sass/minimal-mistakes/_base.scss +339 -0
- data/_sass/minimal-mistakes/_buttons.scss +97 -0
- data/_sass/minimal-mistakes/_footer.scss +85 -0
- data/_sass/minimal-mistakes/_forms.scss +359 -0
- data/_sass/minimal-mistakes/_masthead.scss +93 -0
- data/_sass/minimal-mistakes/_mixins.scss +92 -0
- data/_sass/minimal-mistakes/_navigation.scss +573 -0
- data/_sass/minimal-mistakes/_notices.scss +109 -0
- data/_sass/minimal-mistakes/_page.scss +578 -0
- data/_sass/minimal-mistakes/_print.scss +252 -0
- data/_sass/minimal-mistakes/_reset.scss +187 -0
- data/_sass/minimal-mistakes/_search.scss +132 -0
- data/_sass/minimal-mistakes/_sidebar.scss +353 -0
- data/_sass/minimal-mistakes/_syntax.scss +324 -0
- data/_sass/minimal-mistakes/_tables.scss +39 -0
- data/_sass/minimal-mistakes/_utilities.scss +593 -0
- data/_sass/minimal-mistakes/_variables.scss +173 -0
- data/_sass/minimal-mistakes/skins/_air.scss +23 -0
- data/_sass/minimal-mistakes/skins/_aqua.scss +34 -0
- data/_sass/minimal-mistakes/skins/_contrast.scss +52 -0
- data/_sass/minimal-mistakes/skins/_dark.scss +30 -0
- data/_sass/minimal-mistakes/skins/_default.scss +5 -0
- data/_sass/minimal-mistakes/skins/_dirt.scss +33 -0
- data/_sass/minimal-mistakes/skins/_mint.scss +24 -0
- data/_sass/minimal-mistakes/skins/_neon.scss +63 -0
- data/_sass/minimal-mistakes/skins/_plum.scss +70 -0
- data/_sass/minimal-mistakes/skins/_sunrise.scss +49 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +95 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -0
- data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +46 -0
- data/_sass/minimal-mistakes/vendor/susy/_su.scss +4 -0
- data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -0
- data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -0
- data/_sass/minimal-mistakes.scss +40 -0
- data/assets/css/main.scss +9 -0
- data/assets/images/android-chrome-192x192.png +0 -0
- data/assets/images/android-chrome-512x512.png +0 -0
- data/assets/images/apple-touch-icon.png +0 -0
- data/assets/images/browserconfig.xml +9 -0
- data/assets/images/creek-logo.png +0 -0
- data/assets/images/favicon-16x16.png +0 -0
- data/assets/images/favicon-32x32.png +0 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/mstile-150x150.png +0 -0
- data/assets/images/safari-pinned-tab.svg +48 -0
- data/assets/images/site-under-construction.png +0 -0
- data/assets/images/site.webmanifest +19 -0
- data/assets/js/_main.js +136 -0
- data/assets/js/lunr/lunr-en.js +73 -0
- data/assets/js/lunr/lunr-gr.js +526 -0
- data/assets/js/lunr/lunr-store.js +84 -0
- data/assets/js/lunr/lunr.js +3475 -0
- data/assets/js/lunr/lunr.min.js +6 -0
- data/assets/js/main.min.js +6 -0
- data/assets/js/plugins/gumshoe.js +484 -0
- data/assets/js/plugins/jquery.ba-throttle-debounce.js +252 -0
- data/assets/js/plugins/jquery.fitvids.js +82 -0
- data/assets/js/plugins/jquery.greedy-navigation.js +127 -0
- data/assets/js/plugins/jquery.magnific-popup.js +1860 -0
- data/assets/js/plugins/smooth-scroll.js +650 -0
- data/assets/js/vendor/jquery/jquery-3.6.0.js +10881 -0
- metadata +233 -0
@@ -0,0 +1,359 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Forms
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
form {
|
6
|
+
margin: 0 0 5px 0;
|
7
|
+
padding: 1em;
|
8
|
+
background-color: $form-background-color;
|
9
|
+
|
10
|
+
fieldset {
|
11
|
+
margin-bottom: 5px;
|
12
|
+
padding: 0;
|
13
|
+
border-width: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
legend {
|
17
|
+
display: block;
|
18
|
+
width: 100%;
|
19
|
+
margin-bottom: 5px * 2;
|
20
|
+
*margin-left: -7px;
|
21
|
+
padding: 0;
|
22
|
+
color: $text-color;
|
23
|
+
border: 0;
|
24
|
+
white-space: normal;
|
25
|
+
}
|
26
|
+
|
27
|
+
p {
|
28
|
+
margin-bottom: (5px / 2);
|
29
|
+
}
|
30
|
+
|
31
|
+
ul {
|
32
|
+
list-style-type: none;
|
33
|
+
margin: 0 0 5px 0;
|
34
|
+
padding: 0;
|
35
|
+
}
|
36
|
+
|
37
|
+
br {
|
38
|
+
display: none;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
label,
|
43
|
+
input,
|
44
|
+
button,
|
45
|
+
select,
|
46
|
+
textarea {
|
47
|
+
vertical-align: baseline;
|
48
|
+
*vertical-align: middle;
|
49
|
+
}
|
50
|
+
|
51
|
+
input,
|
52
|
+
button,
|
53
|
+
select,
|
54
|
+
textarea {
|
55
|
+
box-sizing: border-box;
|
56
|
+
font-family: $sans-serif;
|
57
|
+
}
|
58
|
+
|
59
|
+
label {
|
60
|
+
display: block;
|
61
|
+
margin-bottom: 0.25em;
|
62
|
+
color: $text-color;
|
63
|
+
cursor: pointer;
|
64
|
+
|
65
|
+
small {
|
66
|
+
font-size: $type-size-6;
|
67
|
+
}
|
68
|
+
|
69
|
+
input,
|
70
|
+
textarea,
|
71
|
+
select {
|
72
|
+
display: block;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
input,
|
77
|
+
textarea,
|
78
|
+
select {
|
79
|
+
display: inline-block;
|
80
|
+
width: 100%;
|
81
|
+
padding: 0.25em;
|
82
|
+
margin-bottom: 0.5em;
|
83
|
+
color: $text-color;
|
84
|
+
background-color: $background-color;
|
85
|
+
border: $border-color;
|
86
|
+
border-radius: $border-radius;
|
87
|
+
box-shadow: $box-shadow;
|
88
|
+
}
|
89
|
+
|
90
|
+
.input-mini {
|
91
|
+
width: 60px;
|
92
|
+
}
|
93
|
+
|
94
|
+
.input-small {
|
95
|
+
width: 90px;
|
96
|
+
}
|
97
|
+
|
98
|
+
input[type="image"],
|
99
|
+
input[type="checkbox"],
|
100
|
+
input[type="radio"] {
|
101
|
+
width: auto;
|
102
|
+
height: auto;
|
103
|
+
padding: 0;
|
104
|
+
margin: 3px 0;
|
105
|
+
*margin-top: 0;
|
106
|
+
line-height: normal;
|
107
|
+
cursor: pointer;
|
108
|
+
border-radius: 0;
|
109
|
+
border: 0 \9;
|
110
|
+
box-shadow: none;
|
111
|
+
}
|
112
|
+
|
113
|
+
input[type="checkbox"],
|
114
|
+
input[type="radio"] {
|
115
|
+
box-sizing: border-box;
|
116
|
+
padding: 0;
|
117
|
+
*width: 13px;
|
118
|
+
*height: 13px;
|
119
|
+
}
|
120
|
+
|
121
|
+
input[type="image"] {
|
122
|
+
border: 0;
|
123
|
+
}
|
124
|
+
|
125
|
+
input[type="file"] {
|
126
|
+
width: auto;
|
127
|
+
padding: initial;
|
128
|
+
line-height: initial;
|
129
|
+
border: initial;
|
130
|
+
background-color: transparent;
|
131
|
+
background-color: initial;
|
132
|
+
box-shadow: none;
|
133
|
+
}
|
134
|
+
|
135
|
+
input[type="button"],
|
136
|
+
input[type="reset"],
|
137
|
+
input[type="submit"] {
|
138
|
+
width: auto;
|
139
|
+
height: auto;
|
140
|
+
cursor: pointer;
|
141
|
+
*overflow: visible;
|
142
|
+
}
|
143
|
+
|
144
|
+
select,
|
145
|
+
input[type="file"] {
|
146
|
+
*margin-top: 4px;
|
147
|
+
}
|
148
|
+
|
149
|
+
select {
|
150
|
+
width: auto;
|
151
|
+
background-color: #fff;
|
152
|
+
}
|
153
|
+
|
154
|
+
select[multiple],
|
155
|
+
select[size] {
|
156
|
+
height: auto;
|
157
|
+
}
|
158
|
+
|
159
|
+
textarea {
|
160
|
+
resize: vertical;
|
161
|
+
height: auto;
|
162
|
+
overflow: auto;
|
163
|
+
vertical-align: top;
|
164
|
+
}
|
165
|
+
|
166
|
+
input[type="hidden"] {
|
167
|
+
display: none;
|
168
|
+
}
|
169
|
+
|
170
|
+
.form {
|
171
|
+
position: relative;
|
172
|
+
}
|
173
|
+
|
174
|
+
.radio,
|
175
|
+
.checkbox {
|
176
|
+
padding-left: 18px;
|
177
|
+
font-weight: normal;
|
178
|
+
}
|
179
|
+
|
180
|
+
.radio input[type="radio"],
|
181
|
+
.checkbox input[type="checkbox"] {
|
182
|
+
float: left;
|
183
|
+
margin-left: -18px;
|
184
|
+
}
|
185
|
+
|
186
|
+
.radio.inline,
|
187
|
+
.checkbox.inline {
|
188
|
+
display: inline-block;
|
189
|
+
padding-top: 5px;
|
190
|
+
margin-bottom: 0;
|
191
|
+
vertical-align: middle;
|
192
|
+
}
|
193
|
+
|
194
|
+
.radio.inline + .radio.inline,
|
195
|
+
.checkbox.inline + .checkbox.inline {
|
196
|
+
margin-left: 10px;
|
197
|
+
}
|
198
|
+
|
199
|
+
/*
|
200
|
+
Disabled state
|
201
|
+
========================================================================== */
|
202
|
+
|
203
|
+
input[disabled],
|
204
|
+
select[disabled],
|
205
|
+
textarea[disabled],
|
206
|
+
input[readonly],
|
207
|
+
select[readonly],
|
208
|
+
textarea[readonly] {
|
209
|
+
opacity: 0.5;
|
210
|
+
cursor: not-allowed;
|
211
|
+
}
|
212
|
+
|
213
|
+
/*
|
214
|
+
Focus & active state
|
215
|
+
========================================================================== */
|
216
|
+
|
217
|
+
input:focus,
|
218
|
+
textarea:focus {
|
219
|
+
border-color: $primary-color;
|
220
|
+
outline: 0;
|
221
|
+
outline: thin dotted \9;
|
222
|
+
box-shadow: inset 0 1px 3px rgba($text-color, 0.06),
|
223
|
+
0 0 5px rgba($primary-color, 0.7);
|
224
|
+
}
|
225
|
+
|
226
|
+
input[type="file"]:focus,
|
227
|
+
input[type="radio"]:focus,
|
228
|
+
input[type="checkbox"]:focus,
|
229
|
+
select:focus {
|
230
|
+
box-shadow: none;
|
231
|
+
}
|
232
|
+
|
233
|
+
/*
|
234
|
+
Help text
|
235
|
+
========================================================================== */
|
236
|
+
|
237
|
+
.help-block,
|
238
|
+
.help-inline {
|
239
|
+
color: $muted-text-color;
|
240
|
+
}
|
241
|
+
|
242
|
+
.help-block {
|
243
|
+
display: block;
|
244
|
+
margin-bottom: 1em;
|
245
|
+
line-height: 1em;
|
246
|
+
}
|
247
|
+
|
248
|
+
.help-inline {
|
249
|
+
display: inline-block;
|
250
|
+
vertical-align: middle;
|
251
|
+
padding-left: 5px;
|
252
|
+
}
|
253
|
+
|
254
|
+
/*
|
255
|
+
.form-group
|
256
|
+
========================================================================== */
|
257
|
+
|
258
|
+
.form-group {
|
259
|
+
margin-bottom: 5px;
|
260
|
+
padding: 0;
|
261
|
+
border-width: 0;
|
262
|
+
}
|
263
|
+
|
264
|
+
/*
|
265
|
+
.form-inline
|
266
|
+
========================================================================== */
|
267
|
+
|
268
|
+
.form-inline input,
|
269
|
+
.form-inline textarea,
|
270
|
+
.form-inline select {
|
271
|
+
display: inline-block;
|
272
|
+
margin-bottom: 0;
|
273
|
+
}
|
274
|
+
|
275
|
+
.form-inline label {
|
276
|
+
display: inline-block;
|
277
|
+
}
|
278
|
+
|
279
|
+
.form-inline .radio,
|
280
|
+
.form-inline .checkbox,
|
281
|
+
.form-inline .radio {
|
282
|
+
padding-left: 0;
|
283
|
+
margin-bottom: 0;
|
284
|
+
vertical-align: middle;
|
285
|
+
}
|
286
|
+
|
287
|
+
.form-inline .radio input[type="radio"],
|
288
|
+
.form-inline .checkbox input[type="checkbox"] {
|
289
|
+
float: left;
|
290
|
+
margin-left: 0;
|
291
|
+
margin-right: 3px;
|
292
|
+
}
|
293
|
+
|
294
|
+
/*
|
295
|
+
.form-search
|
296
|
+
========================================================================== */
|
297
|
+
|
298
|
+
.form-search input,
|
299
|
+
.form-search textarea,
|
300
|
+
.form-search select {
|
301
|
+
display: inline-block;
|
302
|
+
margin-bottom: 0;
|
303
|
+
}
|
304
|
+
|
305
|
+
.form-search .search-query {
|
306
|
+
padding-left: 14px;
|
307
|
+
padding-right: 14px;
|
308
|
+
margin-bottom: 0;
|
309
|
+
border-radius: 14px;
|
310
|
+
}
|
311
|
+
|
312
|
+
.form-search label {
|
313
|
+
display: inline-block;
|
314
|
+
}
|
315
|
+
|
316
|
+
.form-search .radio,
|
317
|
+
.form-search .checkbox,
|
318
|
+
.form-inline .radio {
|
319
|
+
padding-left: 0;
|
320
|
+
margin-bottom: 0;
|
321
|
+
vertical-align: middle;
|
322
|
+
}
|
323
|
+
|
324
|
+
.form-search .radio input[type="radio"],
|
325
|
+
.form-search .checkbox input[type="checkbox"] {
|
326
|
+
float: left;
|
327
|
+
margin-left: 0;
|
328
|
+
margin-right: 3px;
|
329
|
+
}
|
330
|
+
|
331
|
+
/*
|
332
|
+
.form--loading
|
333
|
+
========================================================================== */
|
334
|
+
|
335
|
+
.form--loading:before {
|
336
|
+
content: "";
|
337
|
+
}
|
338
|
+
|
339
|
+
.form--loading .form__spinner {
|
340
|
+
display: block;
|
341
|
+
}
|
342
|
+
|
343
|
+
.form:before {
|
344
|
+
position: absolute;
|
345
|
+
top: 0;
|
346
|
+
left: 0;
|
347
|
+
width: 100%;
|
348
|
+
height: 100%;
|
349
|
+
background-color: rgba(255, 255, 255, 0.7);
|
350
|
+
z-index: 10;
|
351
|
+
}
|
352
|
+
|
353
|
+
.form__spinner {
|
354
|
+
display: none;
|
355
|
+
position: absolute;
|
356
|
+
top: 50%;
|
357
|
+
left: 50%;
|
358
|
+
z-index: 11;
|
359
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
MASTHEAD
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.masthead {
|
6
|
+
position: relative;
|
7
|
+
border-bottom: 1px solid $border-color;
|
8
|
+
-webkit-animation: $intro-transition;
|
9
|
+
animation: $intro-transition;
|
10
|
+
-webkit-animation-delay: 0.15s;
|
11
|
+
animation-delay: 0.15s;
|
12
|
+
z-index: 20;
|
13
|
+
|
14
|
+
&__inner-wrap {
|
15
|
+
@include clearfix;
|
16
|
+
margin-left: auto;
|
17
|
+
margin-right: auto;
|
18
|
+
padding: 1em;
|
19
|
+
max-width: 100%;
|
20
|
+
display: -webkit-box;
|
21
|
+
display: -ms-flexbox;
|
22
|
+
display: flex;
|
23
|
+
-webkit-box-pack: justify;
|
24
|
+
-ms-flex-pack: justify;
|
25
|
+
justify-content: space-between;
|
26
|
+
font-family: $sans-serif-narrow;
|
27
|
+
|
28
|
+
@include breakpoint($x-large) {
|
29
|
+
max-width: $max-width;
|
30
|
+
}
|
31
|
+
|
32
|
+
nav {
|
33
|
+
z-index: 10;
|
34
|
+
}
|
35
|
+
|
36
|
+
a {
|
37
|
+
text-decoration: none;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.site-logo img {
|
43
|
+
max-height: 2rem;
|
44
|
+
}
|
45
|
+
|
46
|
+
.site-title {
|
47
|
+
display: -webkit-box;
|
48
|
+
display: -ms-flexbox;
|
49
|
+
display: flex;
|
50
|
+
-ms-flex-item-align: center;
|
51
|
+
align-self: center;
|
52
|
+
font-weight: bold;
|
53
|
+
// z-index: 20;
|
54
|
+
}
|
55
|
+
|
56
|
+
.site-subtitle {
|
57
|
+
display: block;
|
58
|
+
font-size: $type-size-8;
|
59
|
+
}
|
60
|
+
|
61
|
+
.masthead__menu {
|
62
|
+
float: left;
|
63
|
+
margin-left: 0;
|
64
|
+
margin-right: 0;
|
65
|
+
width: 100%;
|
66
|
+
clear: both;
|
67
|
+
|
68
|
+
.site-nav {
|
69
|
+
margin-left: 0;
|
70
|
+
|
71
|
+
@include breakpoint($small) {
|
72
|
+
float: right;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
ul {
|
77
|
+
margin: 0;
|
78
|
+
padding: 0;
|
79
|
+
clear: both;
|
80
|
+
list-style-type: none;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.masthead__menu-item {
|
85
|
+
display: block;
|
86
|
+
list-style-type: none;
|
87
|
+
white-space: nowrap;
|
88
|
+
|
89
|
+
&--lg {
|
90
|
+
padding-right: 2em;
|
91
|
+
font-weight: 700;
|
92
|
+
}
|
93
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
MIXINS
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
%tab-focus {
|
6
|
+
/* Default*/
|
7
|
+
outline: thin dotted $focus-color;
|
8
|
+
/* Webkit*/
|
9
|
+
outline: 5px auto $focus-color;
|
10
|
+
outline-offset: -2px;
|
11
|
+
}
|
12
|
+
|
13
|
+
/*
|
14
|
+
em function
|
15
|
+
========================================================================== */
|
16
|
+
|
17
|
+
@function em($target, $context: $doc-font-size) {
|
18
|
+
@return ($target / $context) * 1em;
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
/*
|
23
|
+
Bourbon clearfix
|
24
|
+
========================================================================== */
|
25
|
+
|
26
|
+
/*
|
27
|
+
* Provides an easy way to include a clearfix for containing floats.
|
28
|
+
* link http://cssmojo.com/latest_new_clearfix_so_far/
|
29
|
+
*
|
30
|
+
* example scss - Usage
|
31
|
+
*
|
32
|
+
* .element {
|
33
|
+
* @include clearfix;
|
34
|
+
* }
|
35
|
+
*
|
36
|
+
* example css - CSS Output
|
37
|
+
*
|
38
|
+
* .element::after {
|
39
|
+
* clear: both;
|
40
|
+
* content: "";
|
41
|
+
* display: table;
|
42
|
+
* }
|
43
|
+
*/
|
44
|
+
|
45
|
+
@mixin clearfix {
|
46
|
+
clear: both;
|
47
|
+
|
48
|
+
&::after {
|
49
|
+
clear: both;
|
50
|
+
content: "";
|
51
|
+
display: table;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
/*
|
56
|
+
Compass YIQ Color Contrast
|
57
|
+
https://github.com/easy-designs/yiq-color-contrast
|
58
|
+
========================================================================== */
|
59
|
+
|
60
|
+
@function yiq-is-light(
|
61
|
+
$color,
|
62
|
+
$threshold: $yiq-contrasted-threshold
|
63
|
+
) {
|
64
|
+
$red: red($color);
|
65
|
+
$green: green($color);
|
66
|
+
$blue: blue($color);
|
67
|
+
|
68
|
+
$yiq: (($red*299)+($green*587)+($blue*114))/1000;
|
69
|
+
|
70
|
+
@if $yiq-debug { @debug $yiq, $threshold; }
|
71
|
+
|
72
|
+
@return if($yiq >= $threshold, true, false);
|
73
|
+
}
|
74
|
+
|
75
|
+
@function yiq-contrast-color(
|
76
|
+
$color,
|
77
|
+
$dark: $yiq-contrasted-dark-default,
|
78
|
+
$light: $yiq-contrasted-light-default,
|
79
|
+
$threshold: $yiq-contrasted-threshold
|
80
|
+
) {
|
81
|
+
@return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
|
82
|
+
}
|
83
|
+
|
84
|
+
@mixin yiq-contrasted(
|
85
|
+
$background-color,
|
86
|
+
$dark: $yiq-contrasted-dark-default,
|
87
|
+
$light: $yiq-contrasted-light-default,
|
88
|
+
$threshold: $yiq-contrasted-threshold
|
89
|
+
) {
|
90
|
+
background-color: $background-color;
|
91
|
+
color: yiq-contrast-color($background-color, $dark, $light, $threshold);
|
92
|
+
}
|