jekyll-theme-so-simple 3.0.0
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 +7 -0
- data/CHANGELOG.md +235 -0
- data/LICENSE +49 -0
- data/README.md +1145 -0
- data/_data/authors.yml +16 -0
- data/_data/navigation.yml +14 -0
- data/_data/text.yml +36 -0
- data/_includes/disqus-comments.html +19 -0
- data/_includes/documents-collection.html +3 -0
- data/_includes/entry-date.html +6 -0
- data/_includes/entry.html +39 -0
- data/_includes/footer-custom.html +3 -0
- data/_includes/footer.html +24 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head-custom.html +5 -0
- data/_includes/head-feed.html +1 -0
- data/_includes/head-seo.html +1 -0
- data/_includes/head.html +50 -0
- data/_includes/lunr-search-scripts.html +106 -0
- data/_includes/masthead.html +13 -0
- data/_includes/navigation.html +17 -0
- data/_includes/page-author.html +37 -0
- data/_includes/page-categories.html +14 -0
- data/_includes/page-date.html +4 -0
- data/_includes/page-image.html +14 -0
- data/_includes/page-pagination.html +19 -0
- data/_includes/page-tags.html +14 -0
- data/_includes/posts-all.html +3 -0
- data/_includes/posts-category.html +3 -0
- data/_includes/posts-limit.html +3 -0
- data/_includes/posts-paginated.html +74 -0
- data/_includes/posts-tag.html +3 -0
- data/_includes/read-time.html +16 -0
- data/_includes/responsive-embed +16 -0
- data/_includes/scripts.html +43 -0
- data/_includes/skip-links.html +8 -0
- data/_includes/social-share.html +6 -0
- data/_includes/toc +9 -0
- data/_layouts/categories.html +48 -0
- data/_layouts/category.html +9 -0
- data/_layouts/collection.html +9 -0
- data/_layouts/default.html +22 -0
- data/_layouts/home.html +17 -0
- data/_layouts/page.html +30 -0
- data/_layouts/post.html +41 -0
- data/_layouts/posts.html +29 -0
- data/_layouts/search.html +11 -0
- data/_layouts/tag.html +9 -0
- data/_layouts/tags.html +48 -0
- data/_sass/so-simple.scss +31 -0
- data/_sass/so-simple/_author.scss +45 -0
- data/_sass/so-simple/_base.scss +112 -0
- data/_sass/so-simple/_buttons.scss +92 -0
- data/_sass/so-simple/_entries.scss +182 -0
- data/_sass/so-simple/_functions.scss +4 -0
- data/_sass/so-simple/_global.scss +393 -0
- data/_sass/so-simple/_icons.scss +43 -0
- data/_sass/so-simple/_mixins.scss +5 -0
- data/_sass/so-simple/_notices.scss +93 -0
- data/_sass/so-simple/_page.scss +282 -0
- data/_sass/so-simple/_reset.scss +523 -0
- data/_sass/so-simple/_syntax-highlighting.scss +334 -0
- data/_sass/so-simple/_tables.scss +34 -0
- data/_sass/so-simple/_utilities.scss +7 -0
- data/_sass/so-simple/_variables.scss +132 -0
- data/_sass/so-simple/functions/_color.scss +21 -0
- data/_sass/so-simple/functions/_em.scss +7 -0
- data/_sass/so-simple/functions/_fluid-type.scss +33 -0
- data/_sass/so-simple/functions/_yiq.scss +38 -0
- data/_sass/so-simple/mixins/_clearfix.scss +32 -0
- data/_sass/so-simple/mixins/_float.scss +15 -0
- data/_sass/so-simple/mixins/_image.scss +38 -0
- data/_sass/so-simple/mixins/_lists.scss +9 -0
- data/_sass/so-simple/mixins/_text-truncate.scss +10 -0
- data/_sass/so-simple/utilities/_accessibility.scss +43 -0
- data/_sass/so-simple/utilities/_align.scss +60 -0
- data/_sass/so-simple/utilities/_animations.scss +99 -0
- data/_sass/so-simple/utilities/_clearfix.scss +7 -0
- data/_sass/so-simple/utilities/_float.scss +7 -0
- data/_sass/so-simple/utilities/_responsive-embed.scss +66 -0
- data/_sass/so-simple/utilities/_text.scss +48 -0
- data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/so-simple/vendor/breakpoint/_context.scss +95 -0
- data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/so-simple/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/so-simple/vendor/lity/_lity.scss +221 -0
- data/assets/css/main.scss +8 -0
- data/assets/js/lunr/lunr.da.min.js +18 -0
- data/assets/js/lunr/lunr.de.min.js +18 -0
- data/assets/js/lunr/lunr.du.min.js +18 -0
- data/assets/js/lunr/lunr.es.min.js +18 -0
- data/assets/js/lunr/lunr.fi.min.js +18 -0
- data/assets/js/lunr/lunr.fr.min.js +18 -0
- data/assets/js/lunr/lunr.hu.min.js +18 -0
- data/assets/js/lunr/lunr.it.min.js +18 -0
- data/assets/js/lunr/lunr.ja.min.js +1 -0
- data/assets/js/lunr/lunr.jp.min.js +1 -0
- data/assets/js/lunr/lunr.min.js +6 -0
- data/assets/js/lunr/lunr.multi.min.js +1 -0
- data/assets/js/lunr/lunr.no.min.js +18 -0
- data/assets/js/lunr/lunr.pt.min.js +18 -0
- data/assets/js/lunr/lunr.ro.min.js +18 -0
- data/assets/js/lunr/lunr.ru.min.js +18 -0
- data/assets/js/lunr/lunr.stemmer.support.min.js +1 -0
- data/assets/js/lunr/lunr.sv.min.js +18 -0
- data/assets/js/lunr/lunr.tr.min.js +18 -0
- data/assets/js/main.js +15 -0
- data/assets/js/main.min.js +6 -0
- data/assets/js/plugins/jquery.smooth-scroll.js +358 -0
- data/assets/js/plugins/jquery.smooth-scroll.min.js +9 -0
- data/assets/js/plugins/lity.js +655 -0
- data/assets/js/plugins/lity.min.js +5 -0
- data/assets/js/plugins/table-of-contents.js +59 -0
- data/assets/js/search-data.json +27 -0
- metadata +312 -0
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Site-wide
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
.skip-links {
|
|
6
|
+
ul {
|
|
7
|
+
margin: 0;
|
|
8
|
+
padding: 0;
|
|
9
|
+
list-style: none;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
#menu-toggle {
|
|
14
|
+
display: block;
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0.25em 0.75em 0.5em;
|
|
17
|
+
color: $nav-color;
|
|
18
|
+
background-color: $nav-background-color;
|
|
19
|
+
text-transform: uppercase;
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
text-align: center;
|
|
22
|
+
|
|
23
|
+
@include breakpoint($medium) {
|
|
24
|
+
display: none;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.site-nav {
|
|
29
|
+
display: none;
|
|
30
|
+
margin-bottom: 1em;
|
|
31
|
+
text-align: center;
|
|
32
|
+
|
|
33
|
+
ul {
|
|
34
|
+
display: block;
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding: 0.25em 0.75em;
|
|
37
|
+
list-style: none;
|
|
38
|
+
color: $nav-color;
|
|
39
|
+
background-color: $nav-background-color;
|
|
40
|
+
border-radius: 0 0 (2 * $border-radius) (2 * $border-radius);
|
|
41
|
+
|
|
42
|
+
@include breakpoint($medium) {
|
|
43
|
+
display: inline-block;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
li {
|
|
48
|
+
display: inline-block;
|
|
49
|
+
font-size: 0.75em;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
a {
|
|
53
|
+
display: block;
|
|
54
|
+
padding: 0.5em 0.75em;
|
|
55
|
+
color: $nav-color;
|
|
56
|
+
text-transform: uppercase;
|
|
57
|
+
text-decoration: none;
|
|
58
|
+
border: 1px solid $nav-background-color;
|
|
59
|
+
border-radius: $border-radius;
|
|
60
|
+
|
|
61
|
+
&:hover {
|
|
62
|
+
border-color: $nav-color;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include breakpoint($medium) {
|
|
67
|
+
display: block;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.js-menu-is-open {
|
|
71
|
+
display: block;
|
|
72
|
+
-webkit-animation-name: initial;
|
|
73
|
+
animation-name: initial;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.masthead {
|
|
78
|
+
@include clearfix;
|
|
79
|
+
margin-bottom: 3em;
|
|
80
|
+
text-align: center;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.site-title {
|
|
84
|
+
margin: 0.5em 0 0;
|
|
85
|
+
padding: 0;
|
|
86
|
+
@include fluid-type($min-vw, $max-vw, $h2-min, $h2-max);
|
|
87
|
+
|
|
88
|
+
a {
|
|
89
|
+
color: $text-color;
|
|
90
|
+
text-decoration: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.site-description {
|
|
95
|
+
margin-bottom: 1em;
|
|
96
|
+
font-family: $description-font-family;
|
|
97
|
+
@include fluid-type($min-vw, $max-vw, $h5-min, $h5-max);
|
|
98
|
+
font-weight: 400;
|
|
99
|
+
font-style: italic;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.site-logo {
|
|
103
|
+
display: inline-block;
|
|
104
|
+
position: relative;
|
|
105
|
+
z-index: 10;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.site-logo-img {
|
|
109
|
+
width: $site-logo-width;
|
|
110
|
+
height: $site-logo-height;
|
|
111
|
+
border: 5px solid $background-color;
|
|
112
|
+
border-radius: $site-logo-width;
|
|
113
|
+
|
|
114
|
+
@include breakpoint($medium) {
|
|
115
|
+
width: 1.5 * $site-logo-width;
|
|
116
|
+
height: 1.5 * $site-logo-width;
|
|
117
|
+
border-radius: 1.5 * $site-logo-width;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@include breakpoint($large) {
|
|
121
|
+
width: 2 * $site-logo-width;
|
|
122
|
+
height: 2 * $site-logo-width;
|
|
123
|
+
border-radius: 2 * $site-logo-width;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.site-footer {
|
|
128
|
+
@include clearfix();
|
|
129
|
+
margin: 2em 0;
|
|
130
|
+
padding: 2em 0;
|
|
131
|
+
text-align: center;
|
|
132
|
+
border-top: 1px solid $border-color;
|
|
133
|
+
|
|
134
|
+
.social-icons {
|
|
135
|
+
margin-bottom: 0.5em;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.social-icon {
|
|
139
|
+
display: inline-block;
|
|
140
|
+
padding: 0 0.25em;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.copyright {
|
|
145
|
+
color: lighten($text-color, 35%);
|
|
146
|
+
font-size: 0.75em;
|
|
147
|
+
|
|
148
|
+
p {
|
|
149
|
+
margin: 0;
|
|
150
|
+
padding: 0;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
a {
|
|
154
|
+
color: lighten($text-color, 35%);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.footnotes {
|
|
159
|
+
margin: 2rem 0;
|
|
160
|
+
padding-top: 1rem;
|
|
161
|
+
border-top: 1px solid $border-color;
|
|
162
|
+
font-size: 80%;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.more-link {
|
|
166
|
+
font-weight: bold;
|
|
167
|
+
text-decoration: none;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.back-to-top {
|
|
171
|
+
display: block;
|
|
172
|
+
color: lighten($text-color, 50%);
|
|
173
|
+
font-size: 0.75em;
|
|
174
|
+
text-transform: uppercase;
|
|
175
|
+
text-align: right;
|
|
176
|
+
text-decoration: none;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.taxonomy-section {
|
|
180
|
+
margin-bottom: 2em;
|
|
181
|
+
padding-bottom: 1em;
|
|
182
|
+
|
|
183
|
+
&:not(:last-child) {
|
|
184
|
+
border-bottom: solid 1px $border-color;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
+ .taxonomy-section {
|
|
188
|
+
margin-top: 2em;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.taxonomy-title {
|
|
193
|
+
@include fluid-type($min-vw, $max-vw, 28px, 32px);
|
|
194
|
+
margin-bottom: 0.5em;
|
|
195
|
+
color: lighten($text-color, 60%);
|
|
196
|
+
font-family: $base-font-family;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.taxonomy-count {
|
|
200
|
+
color: lighten($text-color, 50%);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.taxonomy-index {
|
|
204
|
+
display: grid;
|
|
205
|
+
grid-column-gap: 2em;
|
|
206
|
+
grid-template-columns: repeat(2, 1fr);
|
|
207
|
+
margin: 0;
|
|
208
|
+
padding: 0;
|
|
209
|
+
font-family: $base-font-family;
|
|
210
|
+
font-size: 0.9em;
|
|
211
|
+
list-style: none;
|
|
212
|
+
|
|
213
|
+
@include breakpoint($large) {
|
|
214
|
+
grid-template-columns: repeat(3, 1fr);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
a {
|
|
218
|
+
display: -webkit-box;
|
|
219
|
+
display: -ms-flexbox;
|
|
220
|
+
display: flex;
|
|
221
|
+
padding: 0.25em 0;
|
|
222
|
+
-webkit-box-pack: justify;
|
|
223
|
+
-ms-flex-pack: justify;
|
|
224
|
+
justify-content: space-between;
|
|
225
|
+
color: inherit;
|
|
226
|
+
text-decoration: none;
|
|
227
|
+
border-bottom: 1px solid $border-color;
|
|
228
|
+
|
|
229
|
+
&:hover {
|
|
230
|
+
color: $accent-color;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
+ .taxonomy-section {
|
|
235
|
+
margin-top: 3em;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.pagination {
|
|
240
|
+
display: -webkit-box;
|
|
241
|
+
display: -ms-flexbox;
|
|
242
|
+
display: flex;
|
|
243
|
+
grid-column: 1 / -1;
|
|
244
|
+
margin: 2em 0;
|
|
245
|
+
width: 100%;
|
|
246
|
+
|
|
247
|
+
ul {
|
|
248
|
+
margin: 0 auto;
|
|
249
|
+
padding: 0;
|
|
250
|
+
list-style-type: none;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
li {
|
|
254
|
+
display: block;
|
|
255
|
+
float: left;
|
|
256
|
+
margin-left: -1px;
|
|
257
|
+
|
|
258
|
+
a {
|
|
259
|
+
display: block;
|
|
260
|
+
margin-bottom: 0.25em;
|
|
261
|
+
padding: 0.5em 1em;
|
|
262
|
+
color: mix(#000, $border-color, 25%);
|
|
263
|
+
font-size: 14px;
|
|
264
|
+
font-weight: bold;
|
|
265
|
+
line-height: 1.5;
|
|
266
|
+
text-align: center;
|
|
267
|
+
text-decoration: none;
|
|
268
|
+
border: 1px solid $border-color;
|
|
269
|
+
border-radius: 0;
|
|
270
|
+
|
|
271
|
+
&.current,
|
|
272
|
+
&.current.disabled {
|
|
273
|
+
@include yiq-contrasted(mix(#000, $border-color, 25%));
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&.disabled {
|
|
277
|
+
color: $border-color;
|
|
278
|
+
pointer-events: none;
|
|
279
|
+
cursor: not-allowed;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&:first-child {
|
|
284
|
+
margin-left: 0;
|
|
285
|
+
|
|
286
|
+
a {
|
|
287
|
+
border-top-left-radius: $border-radius;
|
|
288
|
+
border-bottom-left-radius: $border-radius;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
&:last-child {
|
|
293
|
+
a {
|
|
294
|
+
border-top-right-radius: $border-radius;
|
|
295
|
+
border-bottom-right-radius: $border-radius;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.search-input {
|
|
302
|
+
margin-bottom: 2em;
|
|
303
|
+
padding: 0.5em;
|
|
304
|
+
width: 100%;
|
|
305
|
+
font-size: 0.9em;
|
|
306
|
+
border: 2px solid $border-color;
|
|
307
|
+
border-radius: $border-radius;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.toc-wrapper {
|
|
311
|
+
display: inline-block;
|
|
312
|
+
margin-bottom: 1.5em;
|
|
313
|
+
border: 1px solid (mix(#fff, $border-color, 25%));
|
|
314
|
+
border-radius: $border-radius;
|
|
315
|
+
|
|
316
|
+
h2 {
|
|
317
|
+
display: -webkit-box;
|
|
318
|
+
display: -ms-flexbox;
|
|
319
|
+
display: flex;
|
|
320
|
+
-webkit-box-pack: justify;
|
|
321
|
+
-ms-flex-pack: justify;
|
|
322
|
+
justify-content: space-between;
|
|
323
|
+
-webkit-box-align: center;
|
|
324
|
+
-ms-flex-align: center;
|
|
325
|
+
align-items: center;
|
|
326
|
+
margin: 0;
|
|
327
|
+
padding: 0.75rem 1rem;
|
|
328
|
+
color: $base05;
|
|
329
|
+
background-color: $base00;
|
|
330
|
+
font-family: $base-font-family;
|
|
331
|
+
font-size: 0.75rem;
|
|
332
|
+
text-transform: uppercase;
|
|
333
|
+
cursor: pointer;
|
|
334
|
+
|
|
335
|
+
.toc-toggle-icon {
|
|
336
|
+
margin-left: 1rem;
|
|
337
|
+
-webkit-transition: -webkit-transform 350ms ease;
|
|
338
|
+
transition: -webkit-transform 350ms ease;
|
|
339
|
+
transition: transform 350ms ease;
|
|
340
|
+
transition: transform 350ms ease, -webkit-transform 350ms ease;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
&.js-toc-is-open {
|
|
344
|
+
.toc-toggle-icon {
|
|
345
|
+
-webkit-transform: rotate(180deg);
|
|
346
|
+
-ms-transform: rotate(180deg);
|
|
347
|
+
transform: rotate(180deg);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
#markdown-toc {
|
|
353
|
+
display: none;
|
|
354
|
+
height: 0;
|
|
355
|
+
margin-bottom: 0;
|
|
356
|
+
padding-left: 2rem;
|
|
357
|
+
overflow: hidden;
|
|
358
|
+
color: $base05;
|
|
359
|
+
font-size: 0.9rem;
|
|
360
|
+
-webkit-transition: height 350ms ease;
|
|
361
|
+
transition: height 350ms ease;
|
|
362
|
+
|
|
363
|
+
&.js-toc-is-open {
|
|
364
|
+
display: block;
|
|
365
|
+
height: auto;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
li {
|
|
370
|
+
padding: 0.3em 0;
|
|
371
|
+
font-family: $base-font-family;
|
|
372
|
+
|
|
373
|
+
a {
|
|
374
|
+
display: inline-block;
|
|
375
|
+
color: inherit;
|
|
376
|
+
font-size: 0.75rem;
|
|
377
|
+
font-weight: 600;
|
|
378
|
+
text-decoration: none;
|
|
379
|
+
border-bottom: 1px dotted transparent;
|
|
380
|
+
|
|
381
|
+
&:hover,
|
|
382
|
+
&:focus {
|
|
383
|
+
border-bottom: 1px dotted $border-color;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
ol {
|
|
388
|
+
padding-left: 0.5rem;
|
|
389
|
+
list-style-type: lower-roman;
|
|
390
|
+
background-color: $background-color;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Icons
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
.icon {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
position: relative;
|
|
8
|
+
top: -0.05em; /* fine-tune alignment */
|
|
9
|
+
width: 1em;
|
|
10
|
+
height: 1em;
|
|
11
|
+
line-height: 1;
|
|
12
|
+
vertical-align: middle;
|
|
13
|
+
fill: currentColor;
|
|
14
|
+
|
|
15
|
+
$icons: (
|
|
16
|
+
(bitbucket, #205081),
|
|
17
|
+
(codepen, #000),
|
|
18
|
+
(dribbble, #ea4c89),
|
|
19
|
+
(email, #000),
|
|
20
|
+
(facebook, #3b5998),
|
|
21
|
+
(flickr, #0063dc),
|
|
22
|
+
(github, #181717),
|
|
23
|
+
(gitlab, #e24329),
|
|
24
|
+
(googleplus, #dc4e41),
|
|
25
|
+
(instagram, #e4405f),
|
|
26
|
+
(lastfm, #d51007),
|
|
27
|
+
(linkedin, #0077b5),
|
|
28
|
+
(pinterest, #bd081c),
|
|
29
|
+
(rss, #ffa500),
|
|
30
|
+
(soundcloud, #f30),
|
|
31
|
+
(stackoverflow, #fe7a16),
|
|
32
|
+
(tumblr, #36465d),
|
|
33
|
+
(twitter, #1da1f2),
|
|
34
|
+
(xing, #005a5f),
|
|
35
|
+
(youtube, #cd201f)
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
@each $icon, $color in $icons {
|
|
39
|
+
&--#{$icon} {
|
|
40
|
+
fill: $color;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|